[wp-trac] [WordPress Trac] #42860: PHP 7.2 warning - Parameter must be an array or an object that implements Countable in /wp-includes/class-wp-query.php on line 3035
WordPress Trac
noreply at wordpress.org
Wed Jan 24 20:41:53 UTC 2018
#42860: PHP 7.2 warning - Parameter must be an array or an object that implements
Countable in /wp-includes/class-wp-query.php on line 3035
--------------------------+-----------------------
Reporter: lisota | Owner: jorbin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.9.3
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: fixed-major | Focuses:
--------------------------+-----------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch => fixed-major
Comment:
Replying to [comment:18 jorbin]:
> It would be a breaking change to set it as 0 in those instances.
Right, on second thought I agree breaking back compat is not worth it.
Let's add [attachment:42860.diff] then.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42860#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list