[wp-trac] [WordPress Trac] #18857: get_plugin_page_hookname uses menu_title to construct subpage load-hooks

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 4 15:16:33 UTC 2011


#18857: get_plugin_page_hookname uses menu_title to construct subpage load-hooks
--------------------------+-----------------------------
 Reporter:  apocalip      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The load-hook for PluginSubPages isn't working anymore if the PluginPage
 is translated.

 The reason seems to be that the get_plugin_page_hookname function uses the
 menu_title instead of the menu_slug to create the hookname.

 I attached a possible fix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18857>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list