[wp-trac] [WordPress Trac] #44313: /wp-admin/css/forms.css problem when adding a <select> with 'restrict_manage_users'

WordPress Trac noreply at wordpress.org
Tue Jun 5 20:10:29 UTC 2018


#44313: /wp-admin/css/forms.css problem when adding a <select> with
'restrict_manage_users'
--------------------------+-----------------------------
 Reporter:  pbiron        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:
 Severity:  normal        |   Keywords:  has-screenshots
  Focuses:  ui            |
--------------------------+-----------------------------
 When `current_user_can( 'promote_users' )`,
 [[https://developer.wordpress.org/reference/classes/wp_users_list_table/extra_tablenav/|WP_Users_List_Table::extra_tablenav()]]
 adds a dropdown of roles and a "Change" button.  All well and good; see
 the `without_restrict_manage_users_current.png` attached screen shot.

 If something then hooks into
 [[https://developer.wordpress.org/reference/hooks/restrict_manage_users|restrict_manage_users]]
 and adds another dropdown, the "Change" button is located to the right of
 that new dropdown rather than still being next to the roles dropdown; see
 the `restrict_manage_users_current.png` attached screen shot, and the
 `restrict_manage_users_expected.png` screen shot for what I expect to see.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44313>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list