| Server IP : 68.178.247.200 / Your IP : 216.73.217.172 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/wordpress-seo/admin/views/tabs/metas/archives/ |
Upload File : |
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Views\Archive */ $archives_help_content = [ sprintf( /* translators: %1$s / %2$s: links to an article about duplicate content on yoast.com */ esc_html__( 'If you\'re running a one author blog, the author archive will be exactly the same as your homepage. This is what\'s called a %1$sduplicate content problem%2$s.', 'wordpress-seo' ), '<a target="_blank" href="' . esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/duplicate-content' ) ) . '">', '</a>' ), sprintf( /* translators: %s expands to <code>noindex, follow</code> */ esc_html__( 'If this is the case on your site, you can choose to either disable it (which makes it redirect to the homepage), or to add %s to it so it doesn\'t show up in the search results.', 'wordpress-seo' ), '<code>noindex,follow</code>' ), esc_html__( 'Note that links to archives might be still output by your theme and you would need to remove them separately.', 'wordpress-seo' ), esc_html__( 'Date-based archives could in some cases also be seen as duplicate content.', 'wordpress-seo' ), ]; $archives_help = new WPSEO_Admin_Help_Panel( 'search-appearance-archives', __( 'Learn more about the archives setting', 'wordpress-seo' ), implode( ' ', $archives_help_content ), 'has-wrapper' ); // phpcs:ignore WordPress.Security.EscapeOutput -- get_button_html() output is properly escaped. echo '<p class="help-button-inline"><strong>' . esc_html__( 'Archives settings help', 'wordpress-seo' ) . $archives_help->get_button_html() . '</strong><p>'; // phpcs:ignore WordPress.Security.EscapeOutput -- get_panel_html() output is properly escaped. echo $archives_help->get_panel_html();