[wp-trac] [WordPress Trac] #28112: bulk_edit_posts() function needs an action hook
WordPress Trac
noreply at wordpress.org
Sat May 3 18:42:08 UTC 2014
#28112: bulk_edit_posts() function needs an action hook
-----------------------------+-----------------------------
Reporter: helgatheviking | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: 3.9
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
Currently, the only method that I can find to save additional data in via
bulk edit requires using an `.ajax()` call.
This could be avoided if `bulk_edit_posts()` had a simple action hook at
the end before it returns it's results.
{{{
do_action( 'bulk_edit_posts', $post_data );
return array( 'updated' => $updated, 'skipped' => $skipped, 'locked' =>
$locked );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28112>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list