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-conte.../themes/Divi/includes/builder/module/field
File: Divider.php
$declaration = array(
[500] Fix | Delete
'height' => $height,
[501] Fix | Delete
);
[502] Fix | Delete
[503] Fix | Delete
// Adjusts for when percentages are being used.
[504] Fix | Delete
if ( 0 < strpos( $height, '%' ) ) {
[505] Fix | Delete
$declaration['background-size'] = sprintf( '%1$s%% 100%%', floatval( 100 / $repeat ) );
[506] Fix | Delete
} else {
[507] Fix | Delete
$declaration['background-size'] = sprintf( '%1$s%% %2$s', floatval( 100 / $repeat ), $height );
[508] Fix | Delete
}
[509] Fix | Delete
[510] Fix | Delete
foreach ( $declaration as $rule => $value ) {
[511] Fix | Delete
$css .= esc_html( "{$rule}:{$value};" );
[512] Fix | Delete
}
[513] Fix | Delete
[514] Fix | Delete
ET_Builder_Element::set_style( 'et_pb_section', array(
[515] Fix | Delete
'selector' => "$selector",
[516] Fix | Delete
'declaration' => $css,
[517] Fix | Delete
) );
[518] Fix | Delete
}
[519] Fix | Delete
}
[520] Fix | Delete
[521] Fix | Delete
/**
[522] Fix | Delete
* Returns a placeholder for the section only if it is set to be inside of the section.
[523] Fix | Delete
* @param string $placement Whether it is the top or bottom
[524] Fix | Delete
* @return string HTML container
[525] Fix | Delete
*/
[526] Fix | Delete
public function get_svg( $placement ) {
[527] Fix | Delete
// we return a div to use for the divider
[528] Fix | Delete
return sprintf( '<div class="et_pb_%s_inside_divider et-no-transition"></div>', esc_attr( $placement ) );
[529] Fix | Delete
}
[530] Fix | Delete
}
[531] Fix | Delete
[532] Fix | Delete
return new ET_Builder_Module_Field_Divider();
[533] Fix | Delete
[534] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function