Opened 14 years ago
Closed 11 years ago
#14975 closed enhancement (fixed)
Nav-menu system does not always run titles through 'the_title' filter.
Reported by: | Goldfrapper | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
I am using the qTranslate plugin that uses the 'the_title' filter to parse its multilingual content (separated with comment tags). All titles are parsed well except for the titles appearing in the menu system's meta boxes; It seems this is because nav-menu functions don't run the titles through this filter.
Attachments (4)
Change History (17)
#3
@
14 years ago
- Keywords has-patch 3.2-early added
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
the_title is used all over the admin as well, so no problem using it. Patch attached leverages the_title.
#4
@
12 years ago
- Milestone changed from Future Release to 3.6
Refreshed against trunk, the old patch failed when applied
#6
@
12 years ago
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.
Might they be using the widget_title filter or whatever that filter's name is? Seems more appropriate than the_title in this case, since the latter could end up outputting sifr.