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/ninja-fo.../includes/Admin
File: FooterMessage.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Update the admin footer text for
[2] Fix | Delete
* Ninja Forms pages
[3] Fix | Delete
*
[4] Fix | Delete
* @since 3.6.12
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
class NF_Admin_FooterMessage {
[8] Fix | Delete
/**
[9] Fix | Delete
*
[10] Fix | Delete
*/
[11] Fix | Delete
public function __construct()
[12] Fix | Delete
{
[13] Fix | Delete
if (
[14] Fix | Delete
is_admin() &&
[15] Fix | Delete
isset( $_GET[ 'page' ] ) &&
[16] Fix | Delete
(
[17] Fix | Delete
'ninja-forms' === $_GET[ 'page' ] ||
[18] Fix | Delete
'nf-submissions' === $_GET[ 'page' ] ||
[19] Fix | Delete
'nf-settings' === $_GET[ 'page' ] ||
[20] Fix | Delete
'nf-system-status' === $_GET[ 'page' ] ||
[21] Fix | Delete
'nf-import-export' === $_GET[ 'page' ]
[22] Fix | Delete
)
[23] Fix | Delete
) {
[24] Fix | Delete
add_filter( 'admin_footer_text', [ $this, 'nf_admin_footer_text' ], 10 );
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* Changes the admin footer text
[30] Fix | Delete
*
[31] Fix | Delete
* Adds Ninja Forms review request.
[32] Fix | Delete
*
[33] Fix | Delete
* @return String
[34] Fix | Delete
*/
[35] Fix | Delete
public function nf_admin_footer_text()
[36] Fix | Delete
{
[37] Fix | Delete
$text = sprintf(
[38] Fix | Delete
'%s <a href="https://wordpress.org/support/plugin/ninja-forms/reviews/?filter=5#new-post" target="_blank">%s</a>',
[39] Fix | Delete
esc_html__( 'Love Ninja Forms?', 'ninja-forms' ),
[40] Fix | Delete
esc_html__( 'Please rate us ★★★★★ on WordPress.org!', 'ninja-forms' )
[41] Fix | Delete
);
[42] Fix | Delete
[43] Fix | Delete
return '<span id="footer-thankyou">' . $text . '</span>';
[44] Fix | Delete
}
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function