Make WordPress Core


Ignore:
Timestamp:
01/15/2009 12:47:56 AM (16 years ago)
Author:
azaozz
Message:

"Unstick" posts when deleting, fixes #8860

File:
1 edited

Legend:

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

    r10254 r10363  
    11321132
    11331133        $wpdb->update( $wpdb->posts, $parent_data, $parent_where + array( 'post_type' => 'page' ) );
     1134    } else {
     1135        unstick_post($postid);
    11341136    }
    11351137
Note: See TracChangeset for help on using the changeset viewer.