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-export.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
/* translators: %1$s expands to Yoast SEO */
[13] Fix | Delete
$submit_button_value = sprintf( __( 'Export your %1$s settings', 'wordpress-seo' ), 'Yoast SEO' );
[14] Fix | Delete
[15] Fix | Delete
// phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: The nonce will be verified in WPSEO_Export below, We are only strictly comparing with '1'.
[16] Fix | Delete
if ( isset( $_POST['do_export'] ) && wp_unslash( $_POST['do_export'] ) === '1' ) {
[17] Fix | Delete
$export = new WPSEO_Export();
[18] Fix | Delete
$export->export();
[19] Fix | Delete
return;
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
$wpseo_export_phrase = sprintf(
[23] Fix | Delete
/* translators: %1$s expands to Yoast SEO */
[24] Fix | Delete
__( 'Export your %1$s settings here, to copy them on another site.', 'wordpress-seo' ),
[25] Fix | Delete
'Yoast SEO'
[26] Fix | Delete
);
[27] Fix | Delete
?>
[28] Fix | Delete
[29] Fix | Delete
<p><?php echo esc_html( $wpseo_export_phrase ); ?></p>
[30] Fix | Delete
<form
[31] Fix | Delete
action="<?php echo esc_url( admin_url( 'admin.php?page=wpseo_tools&tool=import-export#top#wpseo-export' ) ); ?>"
[32] Fix | Delete
method="post"
[33] Fix | Delete
accept-charset="<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>">
[34] Fix | Delete
<?php wp_nonce_field( WPSEO_Export::NONCE_ACTION ); ?>
[35] Fix | Delete
<input type="hidden" name="do_export" value="1" />
[36] Fix | Delete
<button type="submit" class="button button-primary" id="export-button"><?php echo esc_html( $submit_button_value ); ?></button>
[37] Fix | Delete
</form>
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function