mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19563 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3bd8c4224
commit
22b28c8441
@ -665,7 +665,7 @@ final class WP_Screen {
|
|||||||
|
|
||||||
if ( $old_help ) {
|
if ( $old_help ) {
|
||||||
$this->add_help_tab( array(
|
$this->add_help_tab( array(
|
||||||
'id' => 'contextual-help',
|
'id' => 'old-contextual-help',
|
||||||
'title' => __('Overview'),
|
'title' => __('Overview'),
|
||||||
'content' => $old_help,
|
'content' => $old_help,
|
||||||
) );
|
) );
|
||||||
@ -793,8 +793,6 @@ final class WP_Screen {
|
|||||||
<div id="screen-options-wrap" class="hidden">
|
<div id="screen-options-wrap" class="hidden">
|
||||||
<form id="adv-settings" action="" method="post">
|
<form id="adv-settings" action="" method="post">
|
||||||
<?php
|
<?php
|
||||||
if ( $this->get_option('overview') )
|
|
||||||
echo $this->get_option('overview');
|
|
||||||
if ( isset( $wp_meta_boxes[ $this->id ] ) ) : ?>
|
if ( isset( $wp_meta_boxes[ $this->id ] ) ) : ?>
|
||||||
<h5><?php _ex('Show on screen', 'Metaboxes') ?></h5>
|
<h5><?php _ex('Show on screen', 'Metaboxes') ?></h5>
|
||||||
<div class="metabox-prefs">
|
<div class="metabox-prefs">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user