admin_header( true, 'wpseo' ); do_action( 'wpseo_all_admin_notices' ); if ( is_array( $options['blocking_files'] ) && count( $options['blocking_files'] ) > 0 ) { $xml_sitemap_options = WPSEO_Options::get_option( 'wpseo_xml' ); if ( $xml_sitemap_options['enablexmlsitemap'] ) { echo '

'; printf( /* translators: %1$s expands to Yoast SEO */ _n( 'The following file is blocking your XML sitemaps from working properly. Either delete it (this can be done with the "Fix it" button) or disable %1$s XML sitemaps.', 'The following files are blocking your XML sitemaps from working properly. Either delete them (this can be done with the "Fix it" button) or disable %1$s XML sitemaps.', count( $options['blocking_files'] ), 'wordpress-seo' ), 'Yoast SEO' ); foreach ( $options['blocking_files'] as $file ) { echo '
', '', esc_html( $file ), ''; } unset( $file ); echo '
'; echo '

'; } } $tabs = new WPSEO_Option_Tabs( 'dashboard' ); $tabs->add_tab( new WPSEO_Option_Tab( 'dashboard', __( 'Dashboard', 'wordpress-seo' ), array( 'video_url' => 'https://yoa.st/screencast-notification-center' ) ) ); $tabs->add_tab( new WPSEO_Option_Tab( 'general', __( 'General', 'wordpress-seo' ), array( 'video_url' => 'https://yoa.st/screencast-general' ) ) ); $tabs->add_tab( new WPSEO_Option_Tab( 'features', __( 'Features', 'wordpress-seo' ) ) ); $knowledge_graph_label = ( 'company' === $options['company_or_person'] ) ? __( 'Company Info', 'wordpress-seo' ) : __( 'Your Info', 'wordpress-seo' ); $tabs->add_tab( new WPSEO_Option_Tab( 'knowledge-graph', $knowledge_graph_label, array( 'video_url' => 'https://yoa.st/screencast-knowledge-graph' ) ) ); $tabs->add_tab( new WPSEO_Option_Tab( 'webmaster-tools', __( 'Webmaster Tools', 'wordpress-seo' ), array( 'video_url' => 'https://yoa.st/screencast-general-search-console' ) ) ); $tabs->add_tab( new WPSEO_Option_Tab( 'security', __( 'Security', 'wordpress-seo' ), array( 'video_url' => 'https://yoa.st/screencast-security' ) ) ); do_action( 'wpseo_settings_tabs_dashboard', $tabs ); $tabs->display( $yform, $options ); do_action( 'wpseo_dashboard' ); $yform->admin_footer();