[wp-trac] [WordPress Trac] #3098: Ajax post meta can unintentionally set post options

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 2 10:09:19 GMT 2006


#3098: Ajax post meta can unintentionally set post options
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.1      
Component:  Administration  |     Version:  2.1      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Ajax post meta currently calls write_post() instead of wp_insert_post().
 This can unintentionally set things like comment_status to closed.

 Patch attached uses wp_insert_post().

 (Full fix requires #3097.)

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


More information about the wp-trac mailing list