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.../themes/herald/core
File: menus.php
<?php
[0] Fix | Delete
[1] Fix | Delete
add_action( 'init', 'herald_register_menus' );
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Register menus
[5] Fix | Delete
*
[6] Fix | Delete
* Callback function theme menus registration and init
[7] Fix | Delete
*
[8] Fix | Delete
* @return void
[9] Fix | Delete
* @since 1.0
[10] Fix | Delete
*/
[11] Fix | Delete
[12] Fix | Delete
if( !function_exists( 'herald_register_menus' ) ) :
[13] Fix | Delete
function herald_register_menus() {
[14] Fix | Delete
register_nav_menu('herald_main_menu', esc_html__( 'Main Menu' , 'herald'));
[15] Fix | Delete
register_nav_menu('herald_social_menu', esc_html__( 'Social Menu' ,'herald'));
[16] Fix | Delete
register_nav_menu('herald_secondary_menu_1', esc_html__( 'Secondary Menu 1' , 'herald'));
[17] Fix | Delete
register_nav_menu('herald_secondary_menu_2', esc_html__( 'Secondary Menu 2' , 'herald'));
[18] Fix | Delete
register_nav_menu('herald_secondary_menu_3', esc_html__( 'Secondary Menu 3' , 'herald'));
[19] Fix | Delete
}
[20] Fix | Delete
endif;
[21] Fix | Delete
[22] Fix | Delete
?>
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function