Changeset 6229 for trunk/wp-admin/includes/post.php
- Timestamp:
- 10/12/2007 09:12:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r6213 r6229 349 349 return false; 350 350 351 wp_cache_delete($post_ID, 'post_meta'); 352 351 353 $result = $wpdb->query( " 352 354 INSERT INTO $wpdb->postmeta … … 363 365 $mid = (int) $mid; 364 366 367 $post_id = $wpdb->get_var("SELECT post_id FROM $wpdb->postmeta WHERE meta_id = '$mid'"); 368 wp_cache_delete($post_id, 'post_meta'); 369 365 370 return $wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_id = '$mid'" ); 366 371 } … … 408 413 if ( in_array($mkey, $protected) ) 409 414 return false; 415 416 $post_id = $wpdb->get_var("SELECT post_id FROM $wpdb->postmeta WHERE meta_id = '$mid'"); 417 wp_cache_delete($post_id, 'post_meta'); 410 418 411 419 $mvalue = maybe_serialize( stripslashes( $mvalue ));
Note: See TracChangeset
for help on using the changeset viewer.