WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13558 closed defect (bug) (fixed)

the_title should always pass $post->ID as 2nd param

Reported by: dndrnkrd Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: hooks has-patch
Focuses: Cc:

Description

Currently implemented inconsistently in wp-includes/classes.php, wp-includes/general-template.php and wp-includes/nav-menu-template.php

Attachments (1)

patch.diff (2.5 KB) - added by dndrnkrd 5 years ago.

Download all attachments as: .zip

Change History (3)

@dndrnkrd5 years ago

comment:1 @nacin5 years ago

Related: [14653]

comment:2 @nacin5 years ago

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

(In [14964]) Always pass post ID to the_title filter. props dndrnkrd, fixes #13558

Note: See TracTickets for help on using tickets.