[wp-trac] [WordPress Trac] #19248: menu_page_url() should return unencoded URL, and echo encoded URL

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 15 19:32:49 UTC 2011


#19248: menu_page_url() should return unencoded URL, and echo encoded URL
--------------------------+------------------------------
 Reporter:  nathanrice    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by westi):

 I don't like the idea of changing the way this function works in a
 backwards incompatible way which is what this effectively does.

 Can you not get the url for the settings menu by using the result of
 add_settings_page(...) as the slug you pass to menu_page_url to solve your
 usecase ?

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


More information about the wp-trac mailing list