Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#13968 closed defect (bug) (fixed)

Post parent title in postrow isn't handled internally

Reported by: johnjamesjacoby Owned by:
Milestone: 3.1 Priority: normal
Severity: minor Version:
Component: Administration Keywords: has-patch, needs-testing
Focuses: Cc:


The $title of the post_parent is gathered and rendered without any internal processes touching it. This patch runs it through get_the_title.

I haven't swept through to see if there are other places this happens. I have another ticket that does something similar for the page dropdown walker class though.

Attachments (2)

better_post_parent.patch (382 bytes) - added by johnjamesjacoby 8 years ago.
13968.patch (525 bytes) - added by garyc40 7 years ago.

Download all attachments as: .zip

Change History (10)

#1 @johnjamesjacoby
8 years ago

Reference ticket #13668. Maybe we should start a master ticket somewhere to audit places where page titles, post titles, and custom post titles aren't being filtered.

#2 @nacin
8 years ago

  • Keywords has-patch added
  • Milestone changed from 3.0.1 to 3.1

Not a regression.

#3 @nacin
8 years ago

  • Keywords commit added

#4 @nacin
8 years ago

Re: audit, #4893.

#5 follow-up: @ryan
8 years ago

Doesn't that get the grandparent's name rather than the parent?

#6 in reply to: ↑ 5 @nacin
8 years ago

  • Keywords needs-patch added; has-patch commit removed

Replying to ryan:

Doesn't that get the grandparent's name rather than the parent?


7 years ago

#7 @garyc40
7 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

#8 @scribu
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16908]) Run parent title through 'the_title'. Props garyc40. Fixes #13968

Note: See TracTickets for help on using tickets.