WordPress.org

Make WordPress Core

Changeset 12307


Ignore:
Timestamp:
12/01/09 19:41:41 (4 years ago)
Author:
ryan
Message:

Use correct var name. Props miqrogroove. fixes #10821

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r12305 r12307  
    28532853 
    28542854    wp_delete_object_term_relationships($post_id, array('category', 'post_tag')); 
    2855     wp_delete_object_term_relationships($postid, get_object_taxonomies($post->post_type)); 
     2855    wp_delete_object_term_relationships($post_id, get_object_taxonomies($post->post_type)); 
    28562856 
    28572857    $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->postmeta WHERE meta_key = '_thumbnail_id' AND meta_value = %d", $post_id )); 
Note: See TracChangeset for help on using the changeset viewer.