Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordpres.../admin/pages
File: dashboard.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WPSEO plugin file.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPSEO\Admin
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
if ( ! defined( 'WPSEO_VERSION' ) ) {
[7] Fix | Delete
header( 'Status: 403 Forbidden' );
[8] Fix | Delete
header( 'HTTP/1.1 403 Forbidden' );
[9] Fix | Delete
exit();
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
if ( isset( $_GET['allow_tracking'] ) && check_admin_referer( 'wpseo_activate_tracking', 'nonce' ) ) {
[13] Fix | Delete
WPSEO_Options::set( 'yoast_tracking', ( $_GET['allow_tracking'] === 'yes' ) );
[14] Fix | Delete
[15] Fix | Delete
if ( isset( $_SERVER['HTTP_REFERER'] ) ) {
[16] Fix | Delete
wp_safe_redirect( wp_unslash( $_SERVER['HTTP_REFERER'] ), 307 );
[17] Fix | Delete
exit;
[18] Fix | Delete
}
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
$yform = Yoast_Form::get_instance();
[22] Fix | Delete
$yform->admin_header( true, 'wpseo' );
[23] Fix | Delete
[24] Fix | Delete
do_action( 'wpseo_all_admin_notices' );
[25] Fix | Delete
[26] Fix | Delete
$dashboard_tabs = new WPSEO_Option_Tabs( 'dashboard' );
[27] Fix | Delete
$dashboard_tabs->add_tab(
[28] Fix | Delete
new WPSEO_Option_Tab(
[29] Fix | Delete
'dashboard',
[30] Fix | Delete
__( 'Dashboard', 'wordpress-seo' ),
[31] Fix | Delete
[
[32] Fix | Delete
'save_button' => false,
[33] Fix | Delete
]
[34] Fix | Delete
)
[35] Fix | Delete
);
[36] Fix | Delete
[37] Fix | Delete
/**
[38] Fix | Delete
* Allows the addition of tabs to the dashboard by calling $dashboard_tabs->add_tab().
[39] Fix | Delete
*/
[40] Fix | Delete
do_action( 'wpseo_settings_tabs_dashboard', $dashboard_tabs );
[41] Fix | Delete
[42] Fix | Delete
$dashboard_tabs->display( $yform );
[43] Fix | Delete
[44] Fix | Delete
do_action( 'wpseo_dashboard' );
[45] Fix | Delete
[46] Fix | Delete
$yform->admin_footer();
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function