Ticket #63004: 63004.2.diff
| File 63004.2.diff, 570 bytes (added by , 9 months ago) |
|---|
-
src/wp-includes/user.php
661 661 global $wpdb; 662 662 663 663 $count = array(); 664 665 /** 666 * Short-circuit counting of users' posts. 667 * 668 * @since 6.8.0 669 * 670 * @param bool $skip_count Whether to skip counting the users' posts. 671 */ 672 if ( apply_filters( 'skip_count_many_users_posts', false ) ) { 673 return $count; 674 } 675 664 676 if ( empty( $users ) || ! is_array( $users ) ) { 665 677 return $count; 666 678 }