[wp-trac] [WordPress Trac] #13179: Saving a custom post type with post_parent resets to zero

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 15 05:02:20 UTC 2010


#13179: Saving a custom post type with post_parent resets to zero
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  Unassigned            
Component:  Post Types    |     Version:  3.0                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by mikeschinkel):

 Replying to [comment:1 mikeschinkel]:
 > FYI, I was about to get around the problem by adding in a view-only
 metabox that had a hidden "parent_id" input element:

 Note that in my example code above, "location" is my custom post type.

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


More information about the wp-trac mailing list