[wp-trac] [WordPress Trac] #9287: Need API function to verify authorization/intention of post/page saves for plugin use.

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 6 07:30:48 GMT 2009


#9287: Need API function to verify authorization/intention of post/page saves for
plugin use.
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:     
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  2.8
Component:  Plugins         |     Version:  2.8
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------
 We should have an API function to do this:

 http://markjaquith.wordpress.com/2007/01/28/authorization-and-
 intentionorigination-verification-when-using-the-edit_post-hook/

 Something like {{{post_was_saved_from_admin()}}}. Lot of redundant code to
 do that in every plugin.

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


More information about the wp-trac mailing list