Make WordPress Core


Ignore:
Timestamp:
07/12/2020 10:32:57 AM (4 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/includes/class-plugin-installer-skin.php

    r48446 r48447  
    283283        if ( $can_update ) {
    284284            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                );
    286290            } 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                );
    288296            }
    289297
Note: See TracChangeset for help on using the changeset viewer.