Make WordPress Core


Ignore:
Timestamp:
07/12/2020 10:32:57 AM (3 years ago)
Author:
SergeyBiryukov
Message:

I18N: Move the "WordPress Backups" support URL to its own translatable string.

Follow-up to [48390].

See #9757.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r48287 r48447  
    248248    if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
    249249        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        );
    251256        echo '</p></div>';
    252257
Note: See TracChangeset for help on using the changeset viewer.