Changeset 49676
- Timestamp:
- 11/21/2020 02:37:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r49477 r49676 49 49 $core_update_needed = ''; 50 50 51 foreach ( $core_updates as $core => $update ) { 52 if ( 'upgrade' === $update->response ) { 53 /* translators: %s: Latest WordPress version number. */ 54 $core_update_needed = ' ' . sprintf( __( '(Latest version: %s)' ), $update->version ); 55 } else { 56 $core_update_needed = ''; 51 if ( is_array( $core_updates ) ) { 52 foreach ( $core_updates as $core => $update ) { 53 if ( 'upgrade' === $update->response ) { 54 /* translators: %s: Latest WordPress version number. */ 55 $core_update_needed = ' ' . sprintf( __( '(Latest version: %s)' ), $update->version ); 56 } else { 57 $core_update_needed = ''; 58 } 57 59 } 58 60 }
Note: See TracChangeset
for help on using the changeset viewer.