[wp-trac] [WordPress Trac] #17109: Add post-success action hooks to edit/create/delete calls.

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 29 23:43:13 UTC 2012


#17109: Add post-success action hooks to edit/create/delete calls.
-------------------------------------+------------------------------
 Reporter:  ericmann                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  XML-RPC                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by ericmann):

 Replying to [comment:8 markoheijnen]:
 > Why use filters over actions and not use the data that get returned. I
 guess that is a mistake.

 If you look at the patch history, originally I was using filters only when
 data was being returned and actions elsewhere.  But @josephscott
 recommended using filters for all methods for the sake of consistency in
 the API.  Functionally, they serve the same purpose.

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


More information about the wp-trac mailing list