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/views
File: js-templates-primary-term.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
[13] Fix | Delete
<script type="text/html" id="tmpl-primary-term-ui">
[14] Fix | Delete
<?php
[15] Fix | Delete
/* translators: Hidden accessibility text; %1$s expands to the term title, %2$s to the taxonomy title. */
[16] Fix | Delete
$yoast_free_js_button_label = __( 'Make %1$s primary %2$s', 'wordpress-seo' );
[17] Fix | Delete
$yoast_free_js_button_label = sprintf(
[18] Fix | Delete
$yoast_free_js_button_label,
[19] Fix | Delete
'{{data.term}}',
[20] Fix | Delete
'{{data.taxonomy.title}}'
[21] Fix | Delete
);
[22] Fix | Delete
[23] Fix | Delete
printf(
[24] Fix | Delete
'<button type="button" class="wpseo-make-primary-term" aria-label="%1$s">%2$s</button>',
[25] Fix | Delete
esc_attr( $yoast_free_js_button_label ),
[26] Fix | Delete
esc_html__( 'Make primary', 'wordpress-seo' )
[27] Fix | Delete
);
[28] Fix | Delete
?>
[29] Fix | Delete
[30] Fix | Delete
<span class="wpseo-is-primary-term" aria-hidden="true"><?php esc_html_e( 'Primary', 'wordpress-seo' ); ?></span>
[31] Fix | Delete
</script>
[32] Fix | Delete
[33] Fix | Delete
<script type="text/html" id="tmpl-primary-term-screen-reader">
[34] Fix | Delete
<?php
[35] Fix | Delete
/* translators: %s is the taxonomy title. This will be shown to screenreaders */
[36] Fix | Delete
$yoast_free_js_taxonomy_title = __( 'Primary %s', 'wordpress-seo' );
[37] Fix | Delete
$yoast_free_js_taxonomy_title = sprintf(
[38] Fix | Delete
'(' . $yoast_free_js_taxonomy_title . ')',
[39] Fix | Delete
'{{data.taxonomy.title}}'
[40] Fix | Delete
);
[41] Fix | Delete
?>
[42] Fix | Delete
<span class="screen-reader-text wpseo-primary-category-label"><?php echo esc_html( $yoast_free_js_taxonomy_title ); ?></span>
[43] Fix | Delete
</script>
[44] Fix | Delete
[45] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function