[wp-trac] [WordPress Trac] #56129: Author Dropdown menu missing in Quick Edit

WordPress Trac noreply at wordpress.org
Tue Jan 21 12:44:44 UTC 2025


#56129: Author Dropdown menu missing in Quick Edit
-------------------------------------------------+-------------------------
 Reporter:  iheartdogs                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:
Component:  Quick/Bulk Edit                      |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback 2nd-opinion dev-   |     Focuses:  multisite,
  feedback                                       |  performance
-------------------------------------------------+-------------------------

Comment (by lenasterg):

 Replying to [comment:7 oglekler]:
 > I tested this and wp_is_large_user_count() is getting the amount of
 users for entire network (global $current_site) instead of the current
 site (global $current_blog). This is probably intentional, because we
 cannot select users for the current site from `wp_users` and would need to
 add join from `wp_usermeta` with not empty user_level or capabilities for
 the current site (blog).

 This check should not be applied when performing a bulk edit of posts on a
 sub-blog, as it is also not applied during individual post edits or when
 displaying members of a sub-blog on the members page, where the users of
 the sub-blog are shown without any issue.
 For consistency and proper functionality, I kindly request that this check
 be removed from the specified part of the code:
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-posts-list-table.php#L1727.

 The solution suggested from @TimothyBlynJacobs - to use the
 {{{
 add_filter( 'wp_is_large_user_count', '__return_false' );
 }}}
 isn't not the best one cause it removes the check from the entire
 multisite installation - which is useful in other places.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56129#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list