[wp-trac] [WordPress Trac] #11068: post.php should issue an action event

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 3 14:17:15 UTC 2009


#11068: post.php should issue an action event
-------------------------+--------------------------------------------------
 Reporter:  hever        |       Owner:  westi   
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  Plugins      |     Version:  2.8.5   
 Severity:  normal       |    Keywords:  post.php
-------------------------+--------------------------------------------------
 The subject is Handling POST Requests
 ([http://codex.wordpress.org/Handling_POST_and_AJAX_Requests]).

 As described at a forum post ([http://wordpress.org/support/topic/327586])
 post.php should issue an action event like admin-post.php do.

 You have to provide some strange workarounds to redirect the request to
 admin-post.php that issues your action. Then you have to do some
 workarounds again to let post.php handle its parts of the request.

 A really easy and useful solution would be issuing an action in post.php.
 Then no workarounds are needed. By the way it would be perhaps useful to
 use a hidden input field named custom_action istead of action. Then there
 is no needed to restore the original action in the custom action hook.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11068>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list