Changeset 14995
- Timestamp:
- 05/27/2010 03:51:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r14989 r14995 128 128 if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) { 129 129 echo '<h3>'; 130 _e('You have the latest version of WordPress. You do not need to update');130 _e('You have the latest version of WordPress.'); 131 131 echo '</h3>'; 132 132 } else { … … 136 136 137 137 echo '<h3 class="response">'; 138 _e( 'An updated version of WordPress is available ' );138 _e( 'An updated version of WordPress is available.' ); 139 139 echo '</h3>'; 140 140 } … … 150 150 } 151 151 echo '</ul>'; 152 echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>'; 152 153 dismissed_updates(); 153 154 … … 165 166 require_once(ABSPATH . 'wp-admin/includes/plugin-install.php'); 166 167 $plugins = get_plugin_updates(); 167 if ( empty($plugins) ) 168 return; 168 if ( empty( $plugins ) ) { 169 echo '<h3>' . __( 'Plugins' ) . '</h3>'; 170 echo '<p>' . __( 'Your plugins are all up to date.' ) . '</p>'; 171 return; 172 } 169 173 $form_action = 'update-core.php?action=do-plugin-upgrade'; 170 174 … … 238 242 function list_theme_updates() { 239 243 $themes = get_theme_updates(); 240 if ( empty($themes) ) 241 return; 244 if ( empty( $themes ) ) { 245 echo '<h3>' . __( 'Themes' ) . '</h3>'; 246 echo '<p>' . __( 'Your themes are all up to date.' ) . '</p>'; 247 return; 248 } 242 249 243 250 $form_action = 'update-core.php?action=do-theme-upgrade';
Note: See TracChangeset
for help on using the changeset viewer.