[wp-trac] [WordPress Trac] #24921: Once the admin menu is collapsed, the user setting gets stuck on collapsed

WordPress Trac noreply at wordpress.org
Thu Aug 15 03:23:20 UTC 2013


#24921: Once the admin menu is collapsed, the user setting gets stuck on collapsed
------------------------------------+--------------------
 Reporter:  DrewAPicture            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.6.1
Component:  Administration          |     Version:  3.6
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+--------------------

Comment (by azaozz):

 24921.3.patch​ is same as 24921.2.patch​ plus:
 - Use get_current_user_id() instead of wp_get_current_user() as only the
 user ID is needed.
 - Use is_user_member_of_blog().
 - Some cleanup of var names, erc.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24921#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list