Opened 16 years ago
Closed 13 years ago
#14975 closed enhancement (fixed)
Nav-menu system does not always run titles through 'the_title' filter.
| Reported by: | Goldfrapper | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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
@
16 years ago
- Keywords has-patch 3.2-early added
- Milestone Awaiting Review → Future Release
- Type defect (bug) → enhancement
the_title is used all over the admin as well, so no problem using it. Patch attached leverages the_title.
#4
@
14 years ago
- Milestone Future Release → 3.6
Refreshed against trunk, the old patch failed when applied
#6
@
14 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.