From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- wp-admin/options-reading.php | 258 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 wp-admin/options-reading.php (limited to 'wp-admin/options-reading.php') diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php new file mode 100644 index 0000000..c2ee28d --- /dev/null +++ b/wp-admin/options-reading.php @@ -0,0 +1,258 @@ +add_help_tab( + array( + 'id' => 'overview', + 'title' => __( 'Overview' ), + 'content' => '

' . __( 'This screen contains the settings that affect the display of your content.' ) . '

' . + '

' . sprintf( + /* translators: %s: URL to create a new page. */ + __( 'You can choose what’s displayed on the homepage of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static homepage, you first need to create two Pages. One will become the homepage, and the other will be where your posts are displayed.' ), + 'post-new.php?post_type=page' + ) . '

' . + '

' . 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. Learn more about feeds.' ), + __( 'https://wordpress.org/documentation/article/wordpress-feeds/' ) + ) . '

' . + '

' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '

', + ) +); + +get_current_screen()->add_help_tab( + array( + 'id' => 'site-visibility', + 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ), + 'content' => '

' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen.' ) . '

' . + '

' . __( 'Note that even when set to discourage search engines, your site is still visible on the web and not all search engines adhere to this directive.' ) . '

' . + '

' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search engines discouraged”, to remind you that you have directed search engines to not crawl your site.' ) . '

', + ) +); + +get_current_screen()->set_help_sidebar( + '

' . __( 'For more information:' ) . '

' . + '

' . __( 'Documentation on Reading Settings' ) . '

' . + '

' . __( 'Support forums' ) . '

' +); + +require_once ABSPATH . 'wp-admin/admin-header.php'; +?> + +
+

+ +
+ 'blog_charset' ) ); +} +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ -- cgit v1.2.3