Opened 2 years ago
Last modified 21 months ago
#16632 new defect (bug)
Template title tags shouldn't ignore the prefix,even if 'display' is false
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Template | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: |
Description
Some template title tags that accept both the $prefix and $display paramater ignore the prefix if the display is set to false, i.e. single_post_title(), single_term_title().
Some don't, i.e. single_month_title().
It doesn't make sense to ignore the prefix - if the developer doesn't want it, he can leave it empty.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

Yes, I have detected the same bug. The prefix must be also included if display is set to false.