WordPress.org

Make WordPress Core

Ticket #34034: 34034.3.diff

File 34034.3.diff, 1017 bytes (added by markcallen, 3 years ago)

Updated for inclusion in 4.8

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

    diff --git src/wp-admin/includes/meta-boxes.php src/wp-admin/includes/meta-boxes.php
    index 23ca247..4633852 100644
    $default_title = apply_filters( 'default_page_template_title', __( 'Default Tem 
    862862<?php if ( post_type_supports( $post->post_type, 'page-attributes' ) ) : ?>
    863863<p class="post-attributes-label-wrapper"><label class="post-attributes-label" for="menu_order"><?php _e( 'Order' ); ?></label></p>
    864864<input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />
     865<?php
     866/**
     867 * Fires before help hint text in attributes meta box.
     868 *
     869 * @since 4.8.0
     870 *
     871 * @param WP_Post $post The current WP_Post object.
     872 */
     873do_action( 'page_attributes_misc_attributes', $post );
     874?>
    865875<?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) : ?>
    866876<p><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p>
    867877<?php endif;