Changeset 49668
- Timestamp:
- 11/19/2020 12:03:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r49638 r49668 233 233 $updates = get_core_updates(); 234 234 235 if ( isset( $updates[0] ) && isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {235 if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) { 236 236 echo '<h2 class="response">'; 237 237 _e( 'An updated version of WordPress is available.' ); … … 259 259 } 260 260 echo '</ul>'; 261 261 262 // Don't show the maintenance mode notice when we are only showing a single re-install option. 262 263 if ( $updates && ( count( $updates ) > 1 || 'latest' !== $updates[0]->response ) ) { … … 271 272 ) . '</p>'; 272 273 } 274 273 275 dismissed_updates(); 274 276 }
Note: See TracChangeset
for help on using the changeset viewer.