Make WordPress Core

Changeset 19285


Ignore:
Timestamp:
11/14/2011 10:09:15 PM (14 years ago)
Author:
nacin
Message:

Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r19119 r19285  
    159159<?php if ( isset($_GET['updated']) ) : ?>
    160160<div id="message" class="updated">
     161    <?php if ( IS_PROFILE_PAGE ) : ?>
     162    <p><strong><?php _e('Profile updated.') ?></strong></p>
     163    <?php else: ?>
    161164    <p><strong><?php _e('User updated.') ?></strong></p>
     165    <?php endif; ?>
    162166    <?php if ( $wp_http_referer && !IS_PROFILE_PAGE ) : ?>
    163167    <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php _e('&larr; Back to Users'); ?></a></p>
Note: See TracChangeset for help on using the changeset viewer.