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

WordPress Trac noreply at wordpress.org
Thu Aug 29 00:07:05 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.1
Component:  Administration  |     Version:  3.6
 Severity:  critical        |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by SergeyBiryukov):

 To summarize, you need four prerequisites to reproduce the issue:
 1. WordPress 3.5.x or earlier.
 2. A post or page where the content is different from the latest revision.
 3. A custom meta value for that post.
 4. A custom code that fires on `save_post` and updates the meta value
 without checking if it actually was a `$_POST` request.

 Then the steps to reproduce would be:

 1. Upgrade to 3.6.
 2. Go to the Edit screen for that post. The meta value will be gone.

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


More information about the wp-trac mailing list