Make WordPress Core

Ticket #33625: 33625.diff

File 33625.diff, 756 bytes (added by DrewAPicture, 10 years ago)

+ $post

  • src/wp-admin/includes/meta-boxes.php

     
    785785         *
    786786         * @since 4.4.0
    787787         *
    788          * @param string $template The template used for the current post.
     788         * @param string  $template The template used for the current post.
     789         * @param WP_Post $post     The current post.
    789790         */
    790         do_action( 'page_attributes_meta_box_template', $template );
     791        do_action( 'page_attributes_meta_box_template', $template, $post );
    791792?></p>
    792793<label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
    793794<?php