[wp-trac] Re: [WordPress Trac] #5010: Bug in Updating attachment of a post = loosing post_parent

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 19 10:49:09 GMT 2007


#5010: Bug in Updating attachment of a post = loosing post_parent
------------------------------------+---------------------------------------
 Reporter:  michelwp                |        Owner:  anonymous
     Type:  defect                  |       Status:  new      
 Priority:  normal                  |    Milestone:  2.2.3    
Component:  Administration          |      Version:  2.2.3    
 Severity:  major                   |   Resolution:           
 Keywords:  attachment post_parent  |  
------------------------------------+---------------------------------------
Comment (by michelwp):

 Confirm the bug introduced by the new constant EXTR_SKIP function line
 1223 of post.php [[BR]]
 if replacing by previous version as[[BR]]

 {{{
 // Export array as variables
         extract($object);/*, EXTR_SKIP);*/
 }}}

 [[BR]]
 the attachment updating conserve the post_parent.. and the attachment
 remain in UI for the author.[[BR]]
 I don't no why, but it is !

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5010#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list