Skip to:
Content

BuddyPress.org

Changeset 5423


Ignore:
Timestamp:
11/30/2011 08:40:47 PM (13 years ago)
Author:
djpaul
Message:

Remove duplicate updated messages in admin screens. Fixes #3784

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-admin.php

    r5406 r5423  
    123123
    124124            <div id="message" class="updated fade">
    125                 <p><?php _e( 'Settings Saved', 'buddypress' ); ?></p>
     125                <p><strong><?php _e( 'Settings Saved', 'buddypress' ); ?></strong></p>
    126126            </div>
    127127
     
    284284
    285285    <div class="wrap">
    286 
    287286        <?php screen_icon( 'buddypress'); ?>
    288287
    289288        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Components', 'buddypress' ) ); ?></h2>
    290 
    291         <?php if ( isset( $_GET['updated'] ) && 'true' === $_GET['updated'] ) : ?>
    292 
    293             <div id="message" class="updated fade">
    294 
    295                 <p><?php _e( 'Settings Saved', 'buddypress' ); ?></p>
    296 
    297             </div>
    298 
    299         <?php endif; ?>
    300 
    301289        <form action="" method="post" id="bp-admin-component-form">
    302290
     
    326314
    327315    <div class="wrap">
    328 
    329316        <?php screen_icon( 'buddypress'); ?>
    330317
    331318        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Pages', 'buddypress' ) ); ?></h2>
    332 
    333         <?php if ( isset( $_GET['updated'] ) && 'true' === $_GET['updated'] ) : ?>
    334 
    335             <div id="message" class="updated fade">
    336 
    337                 <p><?php _e( 'Settings Saved', 'buddypress' ); ?></p>
    338 
    339             </div>
    340 
    341         <?php endif; ?>
    342 
    343319        <form action="" method="post" id="bp-admin-page-form">
    344320
Note: See TracChangeset for help on using the changeset viewer.