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/wp-conte.../plugins/themify-.../template...
File: template-copyright.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Copyright
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/themify-builder/template-copyright.php.
[4] Fix | Delete
*
[5] Fix | Delete
* Access original fields: $args['mod_settings']
[6] Fix | Delete
* @author Themify
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
defined('ABSPATH') || exit;
[10] Fix | Delete
[11] Fix | Delete
$mod_name = $args['mod_name'];
[12] Fix | Delete
$element_id = $args['module_ID'];
[13] Fix | Delete
$fields_args=$args['mod_settings']+array(
[14] Fix | Delete
'title' => '',
[15] Fix | Delete
'text' => '',
[16] Fix | Delete
'add_css_text' => '',
[17] Fix | Delete
'animation_effect' => ''
[18] Fix | Delete
);
[19] Fix | Delete
[20] Fix | Delete
$container_class = apply_filters('themify_builder_module_classes', array(
[21] Fix | Delete
'module',
[22] Fix | Delete
'module-' . $mod_name,
[23] Fix | Delete
$element_id,
[24] Fix | Delete
$fields_args['add_css_text'],
[25] Fix | Delete
), $mod_name, $element_id, $fields_args);
[26] Fix | Delete
[27] Fix | Delete
if (!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active === false) {
[28] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[29] Fix | Delete
}
[30] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args, array(
[31] Fix | Delete
'class' => implode(' ', $container_class),
[32] Fix | Delete
)), $fields_args, $mod_name, $element_id);
[33] Fix | Delete
[34] Fix | Delete
if (Themify_Builder::$frontedit_active === false) {
[35] Fix | Delete
$container_props['data-lazy'] = 1;
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
$fields_args['text'] = str_replace([
[39] Fix | Delete
'%site_name%',
[40] Fix | Delete
'%site_description%',
[41] Fix | Delete
'%site_url%',
[42] Fix | Delete
'%year%',
[43] Fix | Delete
], [
[44] Fix | Delete
get_bloginfo('name'),
[45] Fix | Delete
get_bloginfo('description'),
[46] Fix | Delete
home_url(),
[47] Fix | Delete
wp_date('Y'),
[48] Fix | Delete
], $fields_args['text']);
[49] Fix | Delete
self::sticky_element_props($container_props, $fields_args);
[50] Fix | Delete
?>
[51] Fix | Delete
<!-- module copyright -->
[52] Fix | Delete
<div <?php echo themify_get_element_attributes($container_props); ?>>
[53] Fix | Delete
<?php
[54] Fix | Delete
$container_props = $container_class = $args = null;
[55] Fix | Delete
echo Themify_Builder_Component_Module::get_module_title($fields_args, 'title');
[56] Fix | Delete
?>
[57] Fix | Delete
[58] Fix | Delete
<div class="tb_copyright">
[59] Fix | Delete
<?php echo apply_filters('themify_builder_module_content', $fields_args['text']); ?>
[60] Fix | Delete
</div>
[61] Fix | Delete
[62] Fix | Delete
</div><!-- /module copyright -->
[63] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function