| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/infrafs/www/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();