WordPress.org

Make WordPress Core

Ticket #34034: 34034.diff

File 34034.diff, 700 bytes (added by MikeHansenMe, 4 years ago)
  • src/wp-admin/includes/meta-boxes.php

     
    230230 * @param WP_Post $post WP_Post object for the current post.
    231231 */
    232232do_action( 'post_submitbox_misc_actions', $post );
     233
     234if ( 'post' !== $post_type )  {
     235        /**
     236         * Fires after the post time/date setting in the Publish meta box on non-post post types.
     237         *
     238         * @since 4.4.0
     239         *
     240         * @param WP_Post $post WP_Post object for the current post.
     241         */
     242        do_action( $post_type . '_submitbox_misc_actions', $post );
     243}
    233244?>
    234245</div>
    235246<div class="clear"></div>