diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-admin/options-reading.php | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-upstream.tar.xz wordpress-upstream.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-admin/options-reading.php')
-rw-r--r-- | wp-admin/options-reading.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index c2ee28d..8f3ba83 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -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> |