WordPress.org

Make WordPress Core

Changeset 12222


Ignore:
Timestamp:
11/19/2009 05:55:23 PM (9 years ago)
Author:
ryan
Message:

Fix var name typo

File:
1 edited

Legend:

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

    r12163 r12222  
    12381238    }
    12391239
    1240     do_action( 'delete_post', $post_id );
     1240    do_action( 'delete_post', $postid );
    12411241    $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->posts WHERE ID = %d", $postid ));
    1242     do_action( 'deleted_post', $post_id );
     1242    do_action( 'deleted_post', $postid );
    12431243
    12441244    if ( 'page' == $post->post_type ) {
Note: See TracChangeset for help on using the changeset viewer.