Server IP : 104.21.14.48 / Your IP : 3.144.233.28 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wordpress-seo/admin/pages/ |
Upload File : |
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } if ( isset( $_GET['allow_tracking'] ) && check_admin_referer( 'wpseo_activate_tracking', 'nonce' ) ) { WPSEO_Options::set( 'yoast_tracking', ( $_GET['allow_tracking'] === 'yes' ) ); if ( isset( $_SERVER['HTTP_REFERER'] ) ) { wp_safe_redirect( wp_unslash( $_SERVER['HTTP_REFERER'] ), 307 ); exit; } } $yform = Yoast_Form::get_instance(); $yform->admin_header( true, 'wpseo' ); do_action( 'wpseo_all_admin_notices' ); $dashboard_tabs = new WPSEO_Option_Tabs( 'dashboard' ); $dashboard_tabs->add_tab( new WPSEO_Option_Tab( 'dashboard', __( 'Dashboard', 'wordpress-seo' ), [ 'save_button' => false, ] ) ); /** * Allows the addition of tabs to the dashboard by calling $dashboard_tabs->add_tab(). */ do_action( 'wpseo_settings_tabs_dashboard', $dashboard_tabs ); $dashboard_tabs->display( $yform ); do_action( 'wpseo_dashboard' ); $yform->admin_footer();