[wp-trac] [WordPress Trac] #17058: Wrong behavior when the dashboard menu is folded

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 16:39:36 UTC 2011


#17058: Wrong behavior when the dashboard menu is folded
----------------------------+------------------
 Reporter:  nuxwin          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.2
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by nuxwin):

 Replying to [comment:15 azaozz]:
 > Replying to [comment:14 nuxwin]:
 >
 > > Also, you can remove the following part... Since it's not longer
 needed with your changes.
 >
 > The comment there says it all :) It's unsafe to remove functions from
 WordPress, even JS functions. What if a plugin calls
 `adminMenu.restoreMenuState()` directly? It will throw a fatal error and
 probably break other JS.

 Hmm, I've not thinking about this possibility. I understand now the
 purpose. Thanks for you explaination.

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


More information about the wp-trac mailing list