WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/10/2010 12:17:19 PM (10 years ago)
Author:
dd32
Message:

Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842

File:
1 edited

Legend:

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

    r14054 r14056  
    892892
    893893    $wp_post_types[$post_type] = $args;
     894
     895    add_action( 'future_' . $post_type, '_future_post_hook', 5, 2 );
    894896
    895897    foreach ( $args->taxonomies as $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.