WordPress.org

Make WordPress Core

Changeset 10363


Ignore:
Timestamp:
01/15/09 00:47:56 (7 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.