[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:51:09 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:
--------------------------+-----------------------
Comment (by jorbin):
In [changeset:"42594"]:
{{{
#!CommitTicketReference repository="" revision="42594"
Query: Improve tests for set_found_posts dealing with non arrays
Use a data provider and include tests for `false` and `''`.
Previous: [42581] [42585]
See #42860
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42860#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list