[wp-trac] [WordPress Trac] #14975: Nav-menu system does not always run titles through 'the_title' filter.

WordPress Trac noreply at wordpress.org
Thu Feb 28 18:43:47 UTC 2013


#14975: Nav-menu system does not always run titles through 'the_title' filter.
----------------------------------------+------------------
 Reporter:  Goldfrapper                 |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  3.6
Component:  Menus                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch 3.2-early commit  |
----------------------------------------+------------------

Comment (by nacin):

 Looks like we can probably use get_the_title() here? Unsure, but we do use
 it elsewhere in this file.

 Also, there is a `$original_title = $original_object->post_title;`
 assignment earlier in the file that could probably benefit from the same
 change.

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


More information about the wp-trac mailing list