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/wp-conte.../plugins/wordpres.../admin/views/tabs/tool
File: wpseo-import.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WPSEO plugin file.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WPSEO\Admin\Views
[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 ( ! defined( 'WPSEO_NAMESPACES' ) || ! WPSEO_NAMESPACES ) {
[13] Fix | Delete
esc_html_e( 'Import of settings is only supported on servers that run PHP 5.3 or higher.', 'wordpress-seo' );
[14] Fix | Delete
return;
[15] Fix | Delete
}
[16] Fix | Delete
?>
[17] Fix | Delete
<p id="settings-import-desc">
[18] Fix | Delete
<?php
[19] Fix | Delete
printf(
[20] Fix | Delete
/* translators: 1: expands to Yoast SEO, 2: expands to Import settings. */
[21] Fix | Delete
esc_html__( 'Import settings from another %1$s installation by pasting them here and clicking "%2$s".', 'wordpress-seo' ),
[22] Fix | Delete
'Yoast SEO',
[23] Fix | Delete
esc_html__( 'Import settings', 'wordpress-seo' )
[24] Fix | Delete
);
[25] Fix | Delete
?>
[26] Fix | Delete
</p>
[27] Fix | Delete
[28] Fix | Delete
<form
[29] Fix | Delete
action="<?php echo esc_url( admin_url( 'admin.php?page=wpseo_tools&tool=import-export#top#wpseo-import' ) ); ?>"
[30] Fix | Delete
method="post"
[31] Fix | Delete
accept-charset="<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>">
[32] Fix | Delete
<?php wp_nonce_field( WPSEO_Import_Settings::NONCE_ACTION ); ?>
[33] Fix | Delete
<label class="yoast-inline-label" for="settings-import">
[34] Fix | Delete
<?php
[35] Fix | Delete
printf(
[36] Fix | Delete
/* translators: %s expands to Yoast SEO */
[37] Fix | Delete
esc_html__( '%s settings to import:', 'wordpress-seo' ),
[38] Fix | Delete
'Yoast SEO'
[39] Fix | Delete
);
[40] Fix | Delete
?>
[41] Fix | Delete
</label><br />
[42] Fix | Delete
<textarea id="settings-import" rows="10" cols="140" name="settings_import" aria-describedby="settings-import-desc"></textarea><br/>
[43] Fix | Delete
<input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Import settings', 'wordpress-seo' ); ?>"/>
[44] Fix | Delete
</form>
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function