[wp-trac] [WordPress Trac] #11465: custom field duplicated

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 01:13:07 UTC 2010


#11465: custom field duplicated
--------------------------+-------------------------------------------------
 Reporter:  ericr23       |       Owner:  westi      
     Type:  defect (bug)  |      Status:  accepted   
 Priority:  normal        |   Milestone:  3.0        
Component:  General       |     Version:  2.8.4      
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 Can still confirm against current trunk. Might not be javascript related
 but this must be a check performed on save draft / publish post. Tried an
 alternative test:

  1. Create a new draft post.
  2. Enter a name and value but don't save the field
  3. Preview the post
  4. Add additional text in the posts content
  5. Preview the post again
  6. Publish the post

 That results in more additional fields. So not only the publish but the
 preview save-action needs to handle custom field duplicates properly,
 draft fields maybe?

 The evolved suggestion in #10905 to extend the API functions might be
 really usefull to deal with this case.

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


More information about the wp-trac mailing list