WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/post.php

    r15452 r17401  
    690690
    691691    $meta = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->postmeta WHERE meta_id = %d", $mid) );
     692    if ( empty($meta) )
     693        return false;
    692694    if ( is_serialized_string( $meta->meta_value ) )
    693695        $meta->meta_value = maybe_unserialize( $meta->meta_value );
Note: See TracChangeset for help on using the changeset viewer.