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/advanced.../admin/views
File: ad-info-top.php
<?php // display ad wizard controls.
[0] Fix | Delete
?><button id="advads-start-wizard" type="button" class="header-action button advads-button-secondary">
[1] Fix | Delete
<span class="dashicons dashicons-controls-play"></span><?php esc_html_e( 'Start Wizard', 'advanced-ads' ); ?>
[2] Fix | Delete
</button>
[3] Fix | Delete
<button id="advads-stop-wizard" type="button" class="header-action button advads-button-secondary advads-stop-wizard hidden">
[4] Fix | Delete
<span class="dashicons dashicons-no"></span><?php esc_html_e( 'Stop Wizard', 'advanced-ads' ); ?>
[5] Fix | Delete
</button>
[6] Fix | Delete
<script>
[7] Fix | Delete
// move wizard button to head.
[8] Fix | Delete
jQuery('#advads-start-wizard').appendTo('#advads-header-actions');
[9] Fix | Delete
jQuery('.advads-stop-wizard').appendTo('#advads-header-actions');
[10] Fix | Delete
</script>
[11] Fix | Delete
<?php
[12] Fix | Delete
// show wizard welcome message.
[13] Fix | Delete
if ( $this->show_wizard_welcome() || ! Advanced_Ads::get_number_of_ads() ) :
[14] Fix | Delete
?>
[15] Fix | Delete
<div class="advads-ad-metabox postbox">
[16] Fix | Delete
<?php
[17] Fix | Delete
if ( ! Advanced_Ads::get_number_of_ads() ) {
[18] Fix | Delete
include ADVADS_ABSPATH . 'admin/views/ad-list-no-ads.php';
[19] Fix | Delete
} if ( $this->show_wizard_welcome() ) :
[20] Fix | Delete
?>
[21] Fix | Delete
<div id="advads-wizard-welcome">
[22] Fix | Delete
<br/>
[23] Fix | Delete
<?php
[24] Fix | Delete
/*
[25] Fix | Delete
<h2><?php _e( 'Welcome to the Wizard', 'advanced-ads' ); ?></h2>
[26] Fix | Delete
<p><?php _e( 'The Wizard helps you to quickly create and publish an ad. Therefore, only the most common options are visible.', 'advanced-ads' ); ?></p>
[27] Fix | Delete
*/
[28] Fix | Delete
?>
[29] Fix | Delete
<a class="advads-stop-wizard dashicons-before dashicons-no" style="line-height: 1.6em; cursor: pointer;"><?php esc_html_e( 'Stop Wizard and show all options', 'advanced-ads' ); ?></a>
[30] Fix | Delete
</div>
[31] Fix | Delete
<script>
[32] Fix | Delete
// move wizard button to head
[33] Fix | Delete
jQuery('#advads-hide-wizard-welcome').click( function(){ jQuery( '#advads-wizard-welcome' ).remove(); });
[34] Fix | Delete
jQuery('#advads-end-wizard').insertBefore('h1');
[35] Fix | Delete
</script>
[36] Fix | Delete
<?php
[37] Fix | Delete
endif;
[38] Fix | Delete
?>
[39] Fix | Delete
</div>
[40] Fix | Delete
<?php
[41] Fix | Delete
endif;
[42] Fix | Delete
[43] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function