Ticket #12842: 12842.diff
File 12842.diff, 1.3 KB (added by , 15 years ago) |
---|
-
wp-includes/default-filters.php
220 220 add_action( 'shutdown', 'wp_ob_end_flush_all', 1 ); 221 221 add_action( 'pre_post_update', 'wp_save_post_revision' ); 222 222 add_action( 'publish_post', '_publish_post_hook', 5, 1 ); 223 add_action( 'future_post', '_future_post_hook', 5, 2 );224 add_action( 'future_page', '_future_post_hook', 5, 2 );225 223 add_action( 'save_post', '_save_post_hook', 5, 2 ); 226 224 add_action( 'transition_post_status', '_transition_post_status', 5, 3 ); 227 225 add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' ); -
wp-includes/post.php
868 868 869 869 $wp_post_types[$post_type] = $args; 870 870 871 add_action( 'future_' . $post_type, '_future_post_hook', 5, 2 ); 872 871 873 foreach ( $args->taxonomies as $taxonomy ) { 872 874 register_taxonomy_for_object_type( $taxonomy, $post_type ); 873 875 }