Skip to:
Content

BuddyPress.org

Changeset 10229


Ignore:
Timestamp:
10/10/2015 01:28:36 PM (9 years ago)
Author:
djpaul
Message:

Remove all calls to screen_icon

screen_icon was deprecated in WP 3.8 and has not done anything since
then. As BuddyPress 2.4 raises the minimum WP requirement to 3.9, we
can now remove these calls.

Fixes #6635

Props JeffMatson

Location:
trunk/src
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10197 r10229  
    661661
    662662    <div class="wrap">
    663         <?php screen_icon( 'buddypress-activity' ); ?>
    664663        <h2><?php printf( __( 'Editing Activity (ID #%s)', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?></h2>
    665664
     
    978977
    979978    <div class="wrap">
    980         <?php screen_icon( 'buddypress-activity' ); ?>
    981979        <h2>
    982980            <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
  • trunk/src/bp-core/admin/bp-core-admin-components.php

    r10108 r10229  
    2121
    2222    <div class="wrap">
    23         <?php screen_icon( 'buddypress'); ?>
    2423
    2524        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Components', 'buddypress' ) ); ?></h2>
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r10108 r10229  
    101101
    102102    <div class="wrap">
    103         <?php screen_icon( 'buddypress' ); ?>
    104103        <h2><?php _e( 'Why have all my BuddyPress menus disappeared?', 'buddypress' ); ?></h2>
    105104
  • trunk/src/bp-core/admin/bp-core-admin-settings.php

    r10152 r10229  
    265265 * @since 1.6.0
    266266 *
    267  * @uses screen_icon() To display the screen icon.
    268267 * @uses settings_fields() To output the hidden fields for the form.
    269268 * @uses do_settings_sections() To output the settings sections.
     
    277276
    278277    <div class="wrap">
    279 
    280         <?php screen_icon( 'buddypress' ); ?>
    281278
    282279        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Settings', 'buddypress' ) ); ?></h2>
  • trunk/src/bp-core/admin/bp-core-admin-slugs.php

    r10108 r10229  
    2121
    2222    <div class="wrap">
    23         <?php screen_icon( 'buddypress'); ?>
    2423
    2524        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Pages', 'buddypress' ) ); ?></h2>
  • trunk/src/bp-core/admin/bp-core-admin-tools.php

    r10165 r10229  
    2020    ?>
    2121    <div class="wrap">
    22         <?php screen_icon( 'buddypress'); ?>
    2322
    2423        <h2><?php esc_html_e( 'BuddyPress Tools', 'buddypress' ) ?></h2>
  • trunk/src/bp-forums/deprecated/1.6.php

    r10183 r10229  
    3737
    3838    <div class="wrap">
    39         <?php screen_icon( 'buddypress' ); ?>
    40 
    4139        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Forums', 'buddypress' ) ); ?></h2>
    4240
  • trunk/src/bp-groups/bp-groups-admin.php

    r10148 r10229  
    568568
    569569    <div class="wrap">
    570         <?php screen_icon( 'buddypress-groups' ); ?>
    571570        <h2><?php _e( 'Edit Group', 'buddypress' ); ?>
    572571
     
    665664
    666665    <div class="wrap">
    667         <?php screen_icon( 'buddypress-groups' ); ?>
    668666        <h2><?php _e( 'Delete Groups', 'buddypress' ) ?></h2>
    669667        <p><?php _e( 'You are about to delete the following groups:', 'buddypress' ) ?></p>
     
    723721
    724722    <div class="wrap">
    725         <?php screen_icon( 'buddypress-groups' ); ?>
    726723        <h2>
    727724            <?php _e( 'Groups', 'buddypress' ); ?>
  • trunk/src/bp-members/bp-members-admin.php

    r10149 r10229  
    894894
    895895        <div class="wrap" id="community-profile-page">
    896             <?php screen_icon( 'users' ); ?>
    897896            <h2><?php echo esc_html( $title ); ?>
    898897
     
    18481847
    18491848        <div class="wrap">
    1850             <?php screen_icon( 'users' ); ?>
    18511849            <h2><?php _e( 'Users', 'buddypress' ); ?>
    18521850
     
    19691967
    19701968        <div class="wrap">
    1971             <?php screen_icon( 'users' ); ?>
    19721969            <h2><?php echo esc_html( $header_text ); ?></h2>
    19731970            <p><?php echo esc_html( $helper_text ); ?></p>
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r10226 r10229  
    8686
    8787    <div class="wrap">
    88 
    89         <?php screen_icon( 'users' ); ?>
    9088
    9189        <h2>
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php

    r10198 r10229  
    11151115
    11161116        <div class="wrap">
    1117 
    1118             <?php screen_icon( 'users' ); ?>
    11191117
    11201118            <h2><?php echo esc_html( $title ); ?></h2>
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-group.php

    r10198 r10229  
    724724        <div class="wrap">
    725725
    726             <?php screen_icon( 'users' ); ?>
    727 
    728726            <h2><?php echo esc_html( $title ); ?></h2>
    729727
Note: See TracChangeset for help on using the changeset viewer.