[wp-trac] [WordPress Trac] #63004: Allow `count_many_users_posts()` to be short-circuited
WordPress Trac
noreply at wordpress.org
Tue Feb 25 22:36:19 UTC 2025
#63004: Allow `count_many_users_posts()` to be short-circuited
--------------------------------+------------------------------------------
Reporter: ethitter | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: administration, performance
refresh |
--------------------------------+------------------------------------------
Changes (by audrasjb):
* keywords: has-patch => has-patch needs-refresh
Comment:
Please note that there is one PHP Unit Test issue to fix:
{{{
1) Tests_User::test_count_many_users_posts
array_fill_keys() expects parameter 1 to be array, string given
/var/www/src/wp-includes/user.php:683
/var/www/tests/phpunit/tests/user.php:589
phpvfscomposer:///var/www/vendor/phpunit/phpunit/phpunit:97
/var/www/vendor/bin/phpunit:118
}}}
This looks like a relevant regression.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63004#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list