[wp-trac] [WordPress Trac] #12732: Bulk Actions needs to allow custom bulk actions

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 30 20:13:44 UTC 2010


#12732: Bulk Actions needs to allow custom bulk actions
----------------------------+-----------------------------------------------
 Reporter:  ptahdunbar      |       Owner:           
     Type:  enhancement     |      Status:  new      
 Priority:  normal          |   Milestone:  3.1      
Component:  Administration  |     Version:  3.0      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
Changes (by sirzooro):

 * cc: sirzooro (added)


Comment:

 +1 for this idea. I also planned to submit similar ticket - I need this
 for one of my plugins.

 I think that patch should also add another set of actions, which will be
 used to execute chosen bulk action. For example, add following code to
 edit.php, around line 128:
 {{{
 default:
   do_action( "do_bulk_actions-$post_type", $doaction, (array) $post_ids );
   break;
 }}}

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


More information about the wp-trac mailing list