Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#25605 closed enhancement (fixed)

Pass post_type to post_type_archive_title filter

Reported by: drewapicture's profile DrewAPicture Owned by: helen's profile 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 11 years ago.

Download all attachments as: .zip

Change History (4)

@DrewAPicture
11 years ago

#1 @greenshady
11 years ago

  • Cc justin@… added

#2 @helen
11 years 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.

#3 @helen
11 years 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.