wp core update 6.6
This commit is contained in:
@@ -197,7 +197,7 @@ switch ( $step ) {
|
||||
printf(
|
||||
/* translators: 1: Documentation URL, 2: wp-config.php */
|
||||
__( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
|
||||
__( 'https://wordpress.org/documentation/article/editing-wp-config-php/' ),
|
||||
__( 'https://developer.wordpress.org/advanced-administration/wordpress/wp-config/' ),
|
||||
'<code>wp-config.php</code>'
|
||||
);
|
||||
?>
|
||||
@@ -396,7 +396,7 @@ switch ( $step ) {
|
||||
$config_file[ $line_num ] = "define( '" . $constant . "'," . $padding . "'" . addcslashes( constant( $constant ), "\\'" ) . "' );\r\n";
|
||||
break;
|
||||
case 'DB_CHARSET':
|
||||
if ( 'utf8mb4' === $wpdb->charset || ( ! $wpdb->charset && $wpdb->has_cap( 'utf8mb4' ) ) ) {
|
||||
if ( 'utf8mb4' === $wpdb->charset || ( ! $wpdb->charset ) ) {
|
||||
$config_file[ $line_num ] = "define( '" . $constant . "'," . $padding . "'utf8mb4' );\r\n";
|
||||
}
|
||||
break;
|
||||
@@ -484,7 +484,7 @@ if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
|
||||
/* translators: 1: wp-config.php, 2: Documentation URL. */
|
||||
__( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s">Changing File Permissions</a> for more information.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
__( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
|
||||
__( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
|
||||
);
|
||||
} else {
|
||||
$error_message = sprintf(
|
||||
|
||||
Reference in New Issue
Block a user