mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Don't display the Help tab reference in Page Attributes meta box if Help tab was removed.
props bananastalktome. fixes #31164. Built from https://develop.svn.wordpress.org/trunk@31303 git-svn-id: http://core.svn.wordpress.org/trunk@31284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eddf93639b
commit
b05014805f
@ -763,8 +763,10 @@ $default_title = apply_filters( 'default_page_template_title', __( 'Default Tem
|
||||
} ?>
|
||||
<p><strong><?php _e('Order') ?></strong></p>
|
||||
<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>
|
||||
<p><?php if ( 'page' == $post->post_type ) _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
|
||||
<?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?>
|
||||
<p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
// -- Link related Meta Boxes
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31302';
|
||||
$wp_version = '4.2-alpha-31303';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user