Skip to:
Content

bbPress.org

Changeset 5265


Ignore:
Timestamp:
02/06/2014 02:05:11 AM (11 years ago)
Author:
netweb
Message:

Remove deprecated screen_icon() calls. Props netweb. Fixes #2538

Location:
trunk/includes/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/admin/settings.php

    r5242 r5265  
    12451245 * @since bbPress (r2643)
    12461246 *
    1247  * @uses screen_icon() To display the screen icon
    12481247 * @uses settings_fields() To output the hidden fields for the form
    12491248 * @uses do_settings_sections() To output the settings sections
     
    12531252
    12541253    <div class="wrap">
    1255 
    1256         <?php screen_icon(); ?>
    12571254
    12581255        <h2><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h2>
     
    14961493 * The main settings page
    14971494 *
    1498  * @uses screen_icon() To display the screen icon
    14991495 * @uses settings_fields() To output the hidden fields for the form
    15001496 * @uses do_settings_sections() To output the settings sections
     
    15041500
    15051501    <div class="wrap">
    1506 
    1507         <?php screen_icon( 'tools' ); ?>
    15081502
    15091503        <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', 'bbpress' ) ); ?></h2>
  • trunk/includes/admin/tools.php

    r5253 r5265  
    2222 * @uses wp_cache_flush() To flush the cache
    2323 * @uses do_action() Calls 'admin_notices' to display the notices
    24  * @uses screen_icon() To display the screen icon
    2524 * @uses wp_nonce_field() To add a hidden nonce field
    2625 */
     
    2928
    3029    <div class="wrap">
    31 
    32         <?php screen_icon( 'tools' ); ?>
    3330
    3431        <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Repair Forums', 'bbpress' ) ); ?></h2>
     
    11691166 * @uses check_admin_referer() To verify the nonce and the referer
    11701167 * @uses do_action() Calls 'admin_notices' to display the notices
    1171  * @uses screen_icon() To display the screen icon
    11721168 * @uses wp_nonce_field() To add a hidden nonce field
    11731169 */
     
    11761172
    11771173    <div class="wrap">
    1178 
    1179         <?php screen_icon( 'tools' ); ?>
    11801174
    11811175        <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( __( 'Reset Forums', 'bbpress' ) ); ?></h2>
Note: See TracChangeset for help on using the changeset viewer.