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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../widgets
File: class-wp-widget-text.php
} else {
[500] Fix | Delete
$widget_info_message = __( 'This widget may have contained code that may work better in the “Custom HTML” widget. If you have not yet, how about trying that widget instead?' );
[501] Fix | Delete
}
[502] Fix | Delete
[503] Fix | Delete
wp_admin_notice(
[504] Fix | Delete
$widget_info_message,
[505] Fix | Delete
array(
[506] Fix | Delete
'type' => 'info',
[507] Fix | Delete
'additional_classes' => array( 'notice-alt', 'inline' ),
[508] Fix | Delete
)
[509] Fix | Delete
);
[510] Fix | Delete
?>
[511] Fix | Delete
<p>
[512] Fix | Delete
<label for="<?php echo $this->get_field_id( 'text' ); ?>"><?php _e( 'Content:' ); ?></label>
[513] Fix | Delete
<textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id( 'text' ); ?>" name="<?php echo $this->get_field_name( 'text' ); ?>"><?php echo esc_textarea( $instance['text'] ); ?></textarea>
[514] Fix | Delete
</p>
[515] Fix | Delete
<p>
[516] Fix | Delete
<input id="<?php echo $this->get_field_id( 'filter' ); ?>" name="<?php echo $this->get_field_name( 'filter' ); ?>" type="checkbox"<?php checked( ! empty( $instance['filter'] ) ); ?> />&nbsp;<label for="<?php echo $this->get_field_id( 'filter' ); ?>"><?php _e( 'Automatically add paragraphs' ); ?></label>
[517] Fix | Delete
</p>
[518] Fix | Delete
<?php
[519] Fix | Delete
endif;
[520] Fix | Delete
}
[521] Fix | Delete
[522] Fix | Delete
/**
[523] Fix | Delete
* Renders form template scripts.
[524] Fix | Delete
*
[525] Fix | Delete
* @since 4.8.0
[526] Fix | Delete
* @since 4.9.0 The method is now static.
[527] Fix | Delete
*/
[528] Fix | Delete
public static function render_control_template_scripts() {
[529] Fix | Delete
$dismissed_pointers = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
[530] Fix | Delete
?>
[531] Fix | Delete
<script type="text/html" id="tmpl-widget-text-control-fields">
[532] Fix | Delete
<# var elementIdPrefix = 'el' + String( Math.random() ).replace( /\D/g, '' ) + '_' #>
[533] Fix | Delete
<p>
[534] Fix | Delete
<label for="{{ elementIdPrefix }}title"><?php esc_html_e( 'Title:' ); ?></label>
[535] Fix | Delete
<input id="{{ elementIdPrefix }}title" type="text" class="widefat title">
[536] Fix | Delete
</p>
[537] Fix | Delete
[538] Fix | Delete
<?php if ( ! in_array( 'text_widget_custom_html', $dismissed_pointers, true ) ) : ?>
[539] Fix | Delete
<div hidden class="wp-pointer custom-html-widget-pointer wp-pointer-top">
[540] Fix | Delete
<div class="wp-pointer-content">
[541] Fix | Delete
<h3><?php _e( 'New Custom HTML Widget' ); ?></h3>
[542] Fix | Delete
<?php if ( is_customize_preview() ) : ?>
[543] Fix | Delete
<p><?php _e( 'Did you know there is a &#8220;Custom HTML&#8221; widget now? You can find it by pressing the &#8220;<a class="add-widget" href="#">Add a Widget</a>&#8221; button and searching for &#8220;HTML&#8221;. Check it out to add some custom code to your site!' ); ?></p>
[544] Fix | Delete
<?php else : ?>
[545] Fix | Delete
<p><?php _e( 'Did you know there is a &#8220;Custom HTML&#8221; widget now? You can find it by scanning the list of available widgets on this screen. Check it out to add some custom code to your site!' ); ?></p>
[546] Fix | Delete
<?php endif; ?>
[547] Fix | Delete
<div class="wp-pointer-buttons">
[548] Fix | Delete
<a class="close" href="#"><?php _e( 'Dismiss' ); ?></a>
[549] Fix | Delete
</div>
[550] Fix | Delete
</div>
[551] Fix | Delete
<div class="wp-pointer-arrow">
[552] Fix | Delete
<div class="wp-pointer-arrow-inner"></div>
[553] Fix | Delete
</div>
[554] Fix | Delete
</div>
[555] Fix | Delete
<?php endif; ?>
[556] Fix | Delete
[557] Fix | Delete
<?php if ( ! in_array( 'text_widget_paste_html', $dismissed_pointers, true ) ) : ?>
[558] Fix | Delete
<div hidden class="wp-pointer paste-html-pointer wp-pointer-top">
[559] Fix | Delete
<div class="wp-pointer-content">
[560] Fix | Delete
<h3><?php _e( 'Did you just paste HTML?' ); ?></h3>
[561] Fix | Delete
<p><?php _e( 'Hey there, looks like you just pasted HTML into the &#8220;Visual&#8221; tab of the Text widget. You may want to paste your code into the &#8220;Text&#8221; tab instead. Alternately, try out the new &#8220;Custom HTML&#8221; widget!' ); ?></p>
[562] Fix | Delete
<div class="wp-pointer-buttons">
[563] Fix | Delete
<a class="close" href="#"><?php _e( 'Dismiss' ); ?></a>
[564] Fix | Delete
</div>
[565] Fix | Delete
</div>
[566] Fix | Delete
<div class="wp-pointer-arrow">
[567] Fix | Delete
<div class="wp-pointer-arrow-inner"></div>
[568] Fix | Delete
</div>
[569] Fix | Delete
</div>
[570] Fix | Delete
<?php endif; ?>
[571] Fix | Delete
[572] Fix | Delete
<p>
[573] Fix | Delete
<label for="{{ elementIdPrefix }}text" class="screen-reader-text"><?php /* translators: Hidden accessibility text. */ esc_html_e( 'Content:' ); ?></label>
[574] Fix | Delete
<textarea id="{{ elementIdPrefix }}text" class="widefat text wp-editor-area" style="height: 200px" rows="16" cols="20"></textarea>
[575] Fix | Delete
</p>
[576] Fix | Delete
</script>
[577] Fix | Delete
<?php
[578] Fix | Delete
}
[579] Fix | Delete
}
[580] Fix | Delete
[581] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function