| Server IP : 87.229.120.60 / Your IP : 216.73.216.86 Web Server : Apache System : Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64 User : server ( 1002) PHP Version : 8.3.20 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/faktorteam/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();