[wp-trac] [WordPress Trac] #19429: Prevent the my-account node from being removed
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 3 04:38:44 UTC 2011
#19429: Prevent the my-account node from being removed
--------------------------+-----------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Admin Bar | Version: 3.3
Severity: normal | Keywords:
--------------------------+-----------------
my-account contains the only logout link in WordPress. If someone removed
it in 3.2 to simplify the admin bar, the user will be pretty much out of
luck. At least one plugin in the directory does do this.
We should prevent remove_node( 'my-account' ).
That said, this does not prevent the node from being modified in other
ways. add_node() can still replace the node, modifying its parent (or even
orphaning it), etc. We just need to prevent outright removal to allow
users to still log out.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19429>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list