[wp-trac] [WordPress Trac] #18561: Better Way to Insert Things Below Individual Posts

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 20:25:53 UTC 2011


#18561: Better Way to Insert Things Below Individual Posts
-------------------------+------------------------------
 Reporter:  jane         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by coffee2code):

 Tangential, in reply to [comment:56 Otto42] and [comment:58
 johnjamesjacoby]:

 Check out #13239 for a discussion and patch in the vein of adding filters
 to `locate_template()`.  My original patch from a year ago includes the
 filter that @Otto42 proposed above (amongst other related filters in the
 function) but I pared it out at @nacin's request to reduce the number of
 filters added and kept to a single, more versatile filter located at the
 beginning of the function (the spirit of @johnjamesjacoby's patch above,
 but without additional filters to separately pre-filter the template names
 and paths or pre-locate).

 Happy to see more feedback there.
 [http://core.trac.wordpress.org/attachment/ticket/13239/13239.c2c.4.diff
 13239.c2c.4.diff] is my latest patch, with an eye towards minimizing the
 change footprint.

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


More information about the wp-trac mailing list