Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3d8b4c01de
commit
c6fcc03bcf
|
@ -665,7 +665,7 @@ final class WP_Screen {
|
|||
|
||||
if ( $old_help ) {
|
||||
$this->add_help_tab( array(
|
||||
'id' => 'contextual-help',
|
||||
'id' => 'old-contextual-help',
|
||||
'title' => __('Overview'),
|
||||
'content' => $old_help,
|
||||
) );
|
||||
|
@ -793,8 +793,6 @@ final class WP_Screen {
|
|||
<div id="screen-options-wrap" class="hidden">
|
||||
<form id="adv-settings" action="" method="post">
|
||||
<?php
|
||||
if ( $this->get_option('overview') )
|
||||
echo $this->get_option('overview');
|
||||
if ( isset( $wp_meta_boxes[ $this->id ] ) ) : ?>
|
||||
<h5><?php _ex('Show on screen', 'Metaboxes') ?></h5>
|
||||
<div class="metabox-prefs">
|
||||
|
|
Loading…
Reference in New Issue