mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Remove references to the old .fade class for message divs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9ebf0afe13
commit
53e0be05cb
@ -3235,7 +3235,7 @@ function settings_errors ( $setting = '', $sanitize = FALSE, $hide_on_update = F
|
||||
$output = '';
|
||||
foreach ( $settings_errors as $key => $details ) {
|
||||
$css_id = 'setting-error-' . $details['code'];
|
||||
$css_class = $details['type'] . ' fade settings-error';
|
||||
$css_class = $details['type'] . ' settings-error';
|
||||
$output .= "<div id='$css_id' class='$css_class'> \n";
|
||||
$output .= "<p><strong>{$details['message']}</strong></p>";
|
||||
$output .= "</div> \n";
|
||||
|
@ -22,7 +22,7 @@ include( './admin-header.php' );
|
||||
|
||||
if (isset($_GET['updated'])) {
|
||||
?>
|
||||
<div id="message" class="updated fade"><p><?php _e( 'Options saved.' ) ?></p></div>
|
||||
<div id="message" class="updated"><p><?php _e( 'Options saved.' ) ?></p></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
@ -26,7 +26,7 @@ $id = isset( $_GET['id'] ) ? intval( $_GET['id'] ) : 0;
|
||||
|
||||
if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['action'] ) ) {
|
||||
?>
|
||||
<div id="message" class="updated fade"><p>
|
||||
<div id="message" class="updated"><p>
|
||||
<?php
|
||||
switch ( $_GET['action'] ) {
|
||||
case 'all_notspam':
|
||||
|
@ -18,7 +18,7 @@ require_once( './admin-header.php' );
|
||||
|
||||
if ( isset( $_GET['updated'] ) ) {
|
||||
?>
|
||||
<div id="message" class="updated fade"><p><?php _e( 'Site themes saved.' ) ?></p></div>
|
||||
<div id="message" class="updated"><p><?php _e( 'Site themes saved.' ) ?></p></div>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ require_once( './admin-header.php' );
|
||||
|
||||
if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['action'] ) ) {
|
||||
?>
|
||||
<div id="message" class="updated fade"><p>
|
||||
<div id="message" class="updated"><p>
|
||||
<?php
|
||||
switch ( $_GET['action'] ) {
|
||||
case 'delete':
|
||||
|
@ -40,7 +40,7 @@ $parent_file = 'index.php';
|
||||
require_once( './admin-header.php' );
|
||||
|
||||
if ( $updated ) { ?>
|
||||
<div id="message" class="updated fade"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div>
|
||||
<div id="message" class="updated"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="wrap">
|
||||
|
@ -44,7 +44,7 @@ wp_enqueue_script( 'theme-preview' );
|
||||
|
||||
require_once('admin-header.php');
|
||||
if ( is_multisite() && current_user_can('edit_themes') ) {
|
||||
?><div id="message0" class="updated fade"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php
|
||||
?><div id="message0" class="updated"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -113,16 +113,16 @@ require_once ('admin-header.php');
|
||||
if ( isset($_GET[ 'update' ]) && is_multisite() ) {
|
||||
switch ( $_GET[ 'update' ] ) {
|
||||
case "newuserconfimation":
|
||||
$messages[] = '<div id="message" class="updated fade"><p>' . __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.') . '</p></div>';
|
||||
$messages[] = '<div id="message" class="updated"><p>' . __('Invitation email sent to new user. A confirmation link must be clicked before their account is created.') . '</p></div>';
|
||||
break;
|
||||
case "add":
|
||||
$messages[] = '<div id="message" class="updated fade"><p>' . __('Invitation email sent to user. A confirmation link must be clicked for them to be added to your blog.') . '</p></div>';
|
||||
$messages[] = '<div id="message" class="updated"><p>' . __('Invitation email sent to user. A confirmation link must be clicked for them to be added to your blog.') . '</p></div>';
|
||||
break;
|
||||
case "addnoconfirmation":
|
||||
$messages[] = '<div id="message" class="updated fade"><p>' . __('User has been added to your blog.') . '</p></div>';
|
||||
$messages[] = '<div id="message" class="updated"><p>' . __('User has been added to your blog.') . '</p></div>';
|
||||
break;
|
||||
case "addexisting":
|
||||
$messages[] = '<div id="message" class="updated fade"><p>' . __('That user is already a member of this blog.') . '</p></div>';
|
||||
$messages[] = '<div id="message" class="updated"><p>' . __('That user is already a member of this blog.') . '</p></div>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user