| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/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 ( filter_input( INPUT_GET, 'intro' ) ) {
update_user_meta( get_current_user_id(), 'wpseo_seen_about_version', WPSEO_VERSION );
require WPSEO_PATH . 'admin/views/about.php';
return;
}
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' );
$tabs = new WPSEO_Option_Tabs( 'dashboard' );
$tabs->add_tab(
new WPSEO_Option_Tab(
'dashboard',
__( 'Dashboard', 'wordpress-seo' ),
array(
'video_url' => WPSEO_Shortlinker::get( 'https://yoa.st/screencast-notification-center' ),
'save_button' => false,
)
)
);
$tabs->add_tab(
new WPSEO_Option_Tab(
'features',
__( 'Features', 'wordpress-seo' ),
array( 'video_url' => WPSEO_Shortlinker::get( 'https://yoa.st/screencast-features' ) )
)
);
$tabs->add_tab(
new WPSEO_Option_Tab(
'webmaster-tools',
__( 'Webmaster Tools', 'wordpress-seo' ),
array( 'video_url' => WPSEO_Shortlinker::get( 'https://yoa.st/screencast-general-search-console' ) )
)
);
do_action( 'wpseo_settings_tabs_dashboard', $tabs );
$tabs->display( $yform );
do_action( 'wpseo_dashboard' );
$yform->admin_footer();