Make WordPress Core

Changeset 11284


Ignore:
Timestamp:
05/11/2009 10:17:13 PM (15 years ago)
Author:
westi
Message:

Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.

File:
1 edited

Legend:

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

    r11282 r11284  
    11961196    }
    11971197
     1198    wp_clear_scheduled_hook('publish_future_post', $postid);
     1199   
    11981200    do_action('deleted_post', $postid);
    11991201
Note: See TracChangeset for help on using the changeset viewer.