Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
82a12075bf
commit
7d40d97601
|
@ -3597,21 +3597,18 @@ function screen_meta($screen) {
|
||||||
$show_screen = true;
|
$show_screen = true;
|
||||||
?>
|
?>
|
||||||
<div id="screen-meta">
|
<div id="screen-meta">
|
||||||
<?php
|
<?php if ( $show_screen ) : ?>
|
||||||
if ( $show_screen ) :
|
|
||||||
$default_text = __('Show on 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 if ( isset($wp_meta_boxes[$screen->id]) ) : ?>
|
<?php if ( isset($wp_meta_boxes[$screen->id]) ) : ?>
|
||||||
<h5><?php echo apply_filters('meta_box_prefs_header', $default_text); ?></h5>
|
<h5><?php echo _x('Show on screen', 'Metaboxes') ?></h5>
|
||||||
<div class="metabox-prefs">
|
<div class="metabox-prefs">
|
||||||
<?php meta_box_prefs($screen); ?>
|
<?php meta_box_prefs($screen); ?>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
if ( ! empty($column_screens) ) : ?>
|
if ( ! empty($column_screens) ) : ?>
|
||||||
<h5><?php echo apply_filters('columns_prefs_header', $default_text); ?></h5>
|
<h5><?php echo _x('Show on screen', 'Columns') ?></h5>
|
||||||
<div class="metabox-prefs">
|
<div class="metabox-prefs">
|
||||||
<?php manage_columns_prefs($screen); ?>
|
<?php manage_columns_prefs($screen); ?>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
|
@ -3624,8 +3621,7 @@ function screen_meta($screen) {
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php endif; // $show_screen
|
||||||
endif;
|
|
||||||
|
|
||||||
$_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen);
|
$_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue