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

WordPress Trac noreply at wordpress.org
Wed Aug 28 16:59:56 UTC 2013


#25023: WordPress 3.6 deleting data on custom post meta
-------------------------------+------------------------------
 Reporter:  cdwharton          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  3.6
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by c3mdigital):

 Replying to [comment:17 cdwharton]:
 >
 > Here is a video of the way to reproduce...
 >
 > http://youtu.be/-LufS4eTxqg
 >
 > Incidentally, I've tried it with a plugin and the issue does not
 replicate - I don't know whether plugin meta is saved to a different table
 than theme meta?
 >
 > Anyway, I hope this helps and sorry its taken a while to get round to
 providing an example.
 >

 cdwharton,
 Thanks for taking the time to respond and capture the video.  I could
 still not reproduce using your exact steps with the zip of theme you
 provided on a fresh install of 3.5.2.  then upgrading to 3.6.  We will
 keep investigating.

 If you still have the install up from your video there is one test you can
 do that would be helpful.  Add the code below to your functions.php then
 browse to any page on the front and copy and paste the output here.


 {{{
         add_action( 'get_header', 'trac_bug_test' );
         function trac_bug_test() {
                 global $wpdb;
                 $var = $wpdb->get_results( "SELECT * FROM $wpdb->postmeta
 WHERE meta_key = 'bug'" );
                 print '<pre>';
                 print_r( $var );
                 print '</pre>';
                 die();
         }
 }}}

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


More information about the wp-trac mailing list