[wp-trac] [WordPress Trac] #10801: Revision posts are saved with double-filtered content

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 17:08:48 UTC 2009


#10801: Revision posts are saved with double-filtered content
------------------------+---------------------------------------------------
 Reporter:  redsweater  |        Type:  defect (bug)
   Status:  new         |    Priority:  normal      
Milestone:  2.9         |   Component:  Formatting  
  Version:  2.8.4       |    Severity:  normal      
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by ryan):

 Since pre_post_update is being passed an ID instead of an object, I'm not
 sure how this is getting double filtered unless the global post object is
 being polluted and then retrieved with get_post(). I don't think that's
 happening here, but just in case I've put a check in get_post() to make
 sure it is does not use global post if it is already filtered in a way
 other than requested.

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


More information about the wp-trac mailing list