Make WordPress Core

Ticket #40182: 40182.diff

File 40182.diff, 577 bytes (added by tosho, 8 years ago)
  • wp-admin/includes/meta-boxes.php

    diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php
    index 23ca247..9612a0a 100644
    a b function attachment_submit_meta_box( $post ) { 
    320320         * in the attachment editing screen.
    321321         *
    322322         * @since 3.5.0
     323         *
     324         * @param WP_Post $post WP_Post object for the current post.
    323325         */
    324         do_action( 'attachment_submitbox_misc_actions' );
     326        do_action( 'attachment_submitbox_misc_actions', $post );
    325327        ?>
    326328</div><!-- #misc-publishing-actions -->
    327329<div class="clear"></div>