[wp-trac] [WordPress Trac] #16004: Admin Bar options cannot be removed from the user profile page

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 7 09:39:00 UTC 2011


#16004: Admin Bar options cannot be removed from the user profile page
----------------------------+-----------------------
 Reporter:  sorich87        |       Owner:  nacin
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by duck_):

 Replying to [comment:5 nacin]:
 > This change doesn't prevent a user from sending the variables through a
 POST request.
 >
 > Ideally edit_user() should be modified to inspect `has_action(
 'personal_options', '_admin_bar_preferences' )` and if false, then pull
 the settings from get_userdata(). That feels ugly though.

 See the original patch on #15829 for something similar with apply_filters
 before we got rid of those.

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


More information about the wp-trac mailing list