[wp-trac] [WordPress Trac] #17821: wp_get_nav_menu_object() doesn't check when passing to get_term()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 23 17:18:23 UTC 2011


#17821: wp_get_nav_menu_object() doesn't check when passing to get_term()
--------------------------+------------------------------
 Reporter:  kawauso       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  3.1.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by cburtbcit):

 I can confirm that I have run into this bug as well.  The diff provided
 appears to solve the problem. I don't think it's that unlikely that
 someone would name a page with an integer as the first character or two in
 the title so in my opinion it's important that this patch be included in
 the next release of WordPress. I see that the version number for the bug
 is listed as 3.1.4 but I'm experiencing this in 3.2.1 as well. Thank you!

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


More information about the wp-trac mailing list