wp core update 6.6
This commit is contained in:
@@ -24,6 +24,12 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
|
||||
private $is_downgrading = false;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* Sets up the plugin installer skin.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param array $args
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
@@ -293,13 +299,13 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
|
||||
$warning = sprintf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( '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.' ),
|
||||
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
|
||||
__( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
|
||||
);
|
||||
} else {
|
||||
$warning = sprintf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ),
|
||||
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
|
||||
__( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user