[wp-trac] Re: [WordPress Trac] #7530: update_postmeta_cache fails while create new posts

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 19 15:26:35 GMT 2008


#7530: update_postmeta_cache fails while create new posts
-------------------------------+--------------------------------------------
 Reporter:  so1o               |        Owner:  anonymous
     Type:  defect             |       Status:  new      
 Priority:  normal             |    Milestone:  2.7      
Component:  General            |      Version:           
 Severity:  normal             |   Resolution:           
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Comment (by so1o):

 Replying to [comment:2 azaozz]:
 > Which version of WordPress are you using. In the current trunk (2.7)
 adding a custom field (post meta) inserts the post and gets proper ID even
 if both title and content are empty.

 yes. the way its programmed is, the meta is stored with the -ive post id
 and when the post is saved all the meta from the -ive post id is updated
 to the new generated post id. only this one function fails..

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


More information about the wp-trac mailing list