[wp-trac] [WordPress Trac] #17109: Add post-success action hooks to edit/create/delete calls.
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 17 17:48:50 UTC 2011
#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:2 josephscott]:
> In order to potentially modify the data before returning it shouldn't we
be filtering instead and returning the filter variable?
Actually, I've changed my mind. With the methods that actually ''return''
data, we should be using filters rather than actions. But not everything
returns data. Some only return Boolean values that don't make sense being
passed through a filter.
The new patch uses filters where they make sense, but sticks to actions
where they don't.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17109#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list