Changeset 60335 for branches/4.3/src/wp-admin/includes/update.php
- Timestamp:
- 06/22/2025 10:28:39 PM (13 months ago)
- File:
-
- 1 edited
-
branches/4.3/src/wp-admin/includes/update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-admin/includes/update.php
r33100 r60335 233 233 if ( current_user_can('update_core') ) { 234 234 $msg = sprintf( __('<a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! <a href="%2$s">Please update now</a>.'), $cur->current, network_admin_url( 'update-core.php' ) ); 235 236 $msg_line2 = sprintf( 237 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 238 __( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' ), 239 get_bloginfo( 'version', 'display' ), 240 network_admin_url( 'update-core.php' ) 241 ); 235 242 } else { 236 243 $msg = sprintf( __('<a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! Please notify the site administrator.'), $cur->current ); 237 } 238 echo "<div class='update-nag'>$msg</div>"; 244 245 $msg_line2 = sprintf( 246 /* translators: 1: WordPress version number, 2: Link to update WordPress */ 247 __( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' ), 248 get_bloginfo( 'version', 'display' ), 249 __( 'https://wordpress.org/download/' ) 250 ); 251 } 252 echo "<div class='update-nag update-nag-core-insecure'><p>$msg</p><p>$msg_line2</p></div>"; 239 253 } 240 254
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)