[wp-trac] [WordPress Trac] #23724: Pass $post into 'protected_title_format' and 'private_title_format' filters

WordPress Trac noreply at wordpress.org
Sat Mar 9 05:19:49 UTC 2013


#23724: Pass $post into 'protected_title_format' and 'private_title_format' filters
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  low              |   Milestone:  Awaiting Review
Component:  Template         |     Version:  3.5
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Replying to [comment:1 SergeyBiryukov]:
 > I've found 14 instances of applying `the_title` filter in current trunk.
 Changing it in one place would be inconsistent, so this should be done a
 separate ticket. Previous inconsistencies (passing only one parameter)
 were fixed in #13558 and #16688.
 I hadn't considered these. Very much agree this bit needs a rethink. Will
 repatch without that bit.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23724#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list