WordPress.org

Make WordPress Core

Ticket #34034: 34034.2.diff

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

     
    831831        } ?>
    832832<p><strong><?php _e('Order') ?></strong></p>
    833833<p><label class="screen-reader-text" for="menu_order"><?php _e('Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
    834 <?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?>
     834<?php
     835/**
     836 * Fires immediately before help text in the page attributes metabox.
     837 *
     838 * @since 4.4.0
     839 *
     840 * @param WP_Post $post     The current post.
     841 */
     842do_action( 'page_attributes_misc_actions', $post );
     843if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?>
    835844<p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
    836845<?php
    837846        }