wp core update 6.6

This commit is contained in:
Tony Volpe
2024-07-17 03:05:30 +00:00
parent 8f93917880
commit 4950d23a30
912 changed files with 103325 additions and 124480 deletions

View File

@@ -32,7 +32,7 @@ get_current_screen()->add_help_tab(
'<p>' . sprintf(
/* translators: %s: Documentation URL. */
__( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or an excerpt. <a href="%s">Learn more about feeds</a>.' ),
__( 'https://wordpress.org/documentation/article/wordpress-feeds/' )
__( 'https://developer.wordpress.org/advanced-administration/wordpress/feeds/' )
) . '</p>' .
'<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
)
@@ -64,7 +64,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php
settings_fields( 'reading' );
if ( ! in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ), true ) ) {
if ( ! is_utf8_charset() ) {
add_settings_field( 'blog_charset', __( 'Encoding for pages and feeds' ), 'options_reading_blog_charset', 'reading', 'default', array( 'label_for' => 'blog_charset' ) );
}
?>
@@ -197,7 +197,7 @@ else :
printf(
/* translators: %s: Documentation URL. */
__( 'Your theme determines how content is displayed in browsers. <a href="%s">Learn more about feeds</a>.' ),
__( 'https://wordpress.org/documentation/article/wordpress-feeds/' )
__( 'https://developer.wordpress.org/advanced-administration/wordpress/feeds/' )
);
?>
</p>