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:
Ryan Boren 2011-12-07 00:13:52 +00:00
parent e3bd8c4224
commit 22b28c8441

View File

@ -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">