[wp-trac] [WordPress Trac] #25023: WordPress 3.6 deleting data on custom post meta

WordPress Trac noreply at wordpress.org
Mon Oct 7 14:18:00 UTC 2013


#25023: WordPress 3.6 deleting data on custom post meta
-------------------------------------+--------------------
 Reporter:  cdwharton                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.6.2
Component:  Administration           |     Version:  3.6
 Severity:  critical                 |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by jlambe):

 I have tested the patch and everything is working fine.
 As said earlier, the custom code for building the Metabox and the custom
 field doesn't check if the
 {{{
 $_POST['bug']
 }}}
  is set and non empty when 'save_post' hook is fired. That's probably why
 he's loosing its value of the custom field.

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


More information about the wp-trac mailing list