WordPress.org

Make WordPress Core

Changeset 14636


Ignore:
Timestamp:
05/14/2010 04:12:46 PM (8 years ago)
Author:
westi
Message:

Remove unnecessary filters and provide for translation context instead. Fixes #13393.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r14635 r14636  
    35983598?>
    35993599<div id="screen-meta">
    3600 <?php
    3601     if ( $show_screen ) :
    3602         $default_text = __('Show on screen');
    3603 ?>
     3600<?php if ( $show_screen ) : ?>
    36043601<div id="screen-options-wrap" class="hidden">
    36053602    <form id="adv-settings" action="" method="post">
    36063603    <?php if ( isset($wp_meta_boxes[$screen->id]) ) : ?>
    3607         <h5><?php echo apply_filters('meta_box_prefs_header', $default_text); ?></h5>
     3604        <h5><?php echo _x('Show on screen', 'Metaboxes') ?></h5>
    36083605        <div class="metabox-prefs">
    36093606            <?php meta_box_prefs($screen); ?>
     
    36123609        <?php endif;
    36133610        if ( ! empty($column_screens) ) : ?>
    3614         <h5><?php echo apply_filters('columns_prefs_header', $default_text); ?></h5>
     3611        <h5><?php echo _x('Show on screen', 'Columns') ?></h5>
    36153612        <div class="metabox-prefs">
    36163613            <?php manage_columns_prefs($screen); ?>
     
    36253622</div>
    36263623
    3627 <?php
    3628     endif;
     3624<?php endif; // $show_screen
    36293625
    36303626    $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen);
Note: See TracChangeset for help on using the changeset viewer.