Changeset 48447
- Timestamp:
- 07/12/2020 10:32:57 AM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-plugin-installer-skin.php
r48446 r48447 283 283 if ( $can_update ) { 284 284 if ( $this->is_downgrading ) { 285 $warning = __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="https://wordpress.org/support/article/wordpress-backups/">backup your database and files</a> first.' ); 285 $warning = sprintf( 286 /* translators: %s: Documentation URL. */ 287 __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ), 288 __( 'https://wordpress.org/support/article/wordpress-backups/' ) 289 ); 286 290 } else { 287 $warning = __( 'You are updating a plugin. Be sure to <a href="https://wordpress.org/support/article/wordpress-backups/">backup your database and files</a> first.' ); 291 $warning = sprintf( 292 /* translators: %s: Documentation URL. */ 293 __( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ), 294 __( 'https://wordpress.org/support/article/wordpress-backups/' ) 295 ); 288 296 } 289 297 -
trunk/src/wp-admin/includes/class-theme-installer-skin.php
r48446 r48447 312 312 if ( $can_update ) { 313 313 if ( $this->is_downgrading ) { 314 $warning = __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to <a href="https://wordpress.org/support/article/wordpress-backups/">backup your database and files</a> first.' ); 314 $warning = sprintf( 315 /* translators: %s: Documentation URL. */ 316 __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ), 317 __( 'https://wordpress.org/support/article/wordpress-backups/' ) 318 ); 315 319 } else { 316 $warning = __( 'You are updating a theme. Be sure to <a href="https://wordpress.org/support/article/wordpress-backups/">backup your database and files</a> first.' ); 320 $warning = sprintf( 321 /* translators: %s: Documentation URL. */ 322 __( 'You are updating a theme. Be sure to <a href="%s">back up your database and files</a> first.' ), 323 __( 'https://wordpress.org/support/article/wordpress-backups/' ) 324 ); 317 325 } 318 326 -
trunk/src/wp-admin/update-core.php
r48287 r48447 248 248 if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) { 249 249 echo '<div class="notice notice-warning"><p>'; 250 _e( '<strong>Important:</strong> Before updating, please <a href="https://wordpress.org/support/article/wordpress-backups/">back up your database and files</a>. For help with updates, visit the <a href="https://wordpress.org/support/article/updating-wordpress/">Updating WordPress</a> documentation page.' ); 250 printf( 251 /* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */ 252 __( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ), 253 __( 'https://wordpress.org/support/article/wordpress-backups/' ), 254 __( 'https://wordpress.org/support/article/updating-wordpress/' ) 255 ); 251 256 echo '</p></div>'; 252 257
Note: See TracChangeset
for help on using the changeset viewer.