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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 21 16:43:21 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 ericmann):

 Replying to [comment:106 GaryJ]:
 > Instead of a set of hooks, could they be covered by a single hook
 function call, such as `post_intents()`, with a strong eye on
 [http://webintents.org Web Intents]?

 I'm all for embracing/setting standards while we make changes like this.
 And Web Intents seem to be exactly what we're talking about here.

 Replying to [comment:108 chipbennet]:
 > The reason I'm proposing a set of hooks is because I'm thinking beyond
 just the after-post action hook.

 As much as I like the idea of a set of hooks, I think that many hooks
 might just clutter things up.  Don't get me wrong, I like having plenty of
 hooks, but some of the advanced "frameworks" out there already do this.
 And some are essentially unapproachable for newer theme devs.  I get more
 "how do I do X with Genesis?  I can't find the right hook!" emails than
 anything else.

 Replying to [comment:111 aaroncampbell]:
 > Maybe one more of "post_extras" would work to make on that's a little
 less location-specific.

 I think `post_intents()` in this case is a bit more descriptive than
 `post_extras()`.  We have a lot of things in the WP ecosystem that are
 poorly named as is ... so let's try to keep an eye on what it is we're
 trying to build, what standards we may/may not be trying to reflect, and
 try to keep on target.  "Extras" is too ambiguous IMO.

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


More information about the wp-trac mailing list