WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 5 months ago

Last modified 5 months ago

#25605 closed enhancement (fixed)

Pass post_type to post_type_archive_title filter

Reported by: DrewAPicture Owned by: helen
Milestone: 3.8 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:

Description

In the name of context, we should pass the post type to the post_type_archive_title filter.

Patch attached.

Attachments (1)

25605.diff (754 bytes) - added by DrewAPicture 6 months ago.

Download all attachments as: .zip

Change History (4)

DrewAPicture6 months ago

comment:1 greenshady6 months ago

  • Cc justin@… added

comment:2 helen5 months ago

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

In 26457:

Pass the post type to the post_type_archive_title filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605.

comment:3 helen5 months ago

  • Milestone changed from Awaiting Review to 3.8

Oops, I had this open thinking it was already milestoned for 3.8. Well, bonus.

Note: See TracTickets for help on using tickets.