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
File: Text.php
return $fields;
[500] Fix | Delete
}
[501] Fix | Delete
[502] Fix | Delete
function render( $attrs, $content = null, $render_slug ) {
[503] Fix | Delete
$multi_view = et_pb_multi_view_options( $this );
[504] Fix | Delete
$ul_type_values = et_pb_responsive_options()->get_property_values( $this->props, 'ul_type' );
[505] Fix | Delete
$ul_position_values = et_pb_responsive_options()->get_property_values( $this->props, 'ul_position' );
[506] Fix | Delete
$ul_item_indent_values = et_pb_responsive_options()->get_property_values( $this->props, 'ul_item_indent' );
[507] Fix | Delete
$ol_type_values = et_pb_responsive_options()->get_property_values( $this->props, 'ol_type' );
[508] Fix | Delete
$ol_position_values = et_pb_responsive_options()->get_property_values( $this->props, 'ol_position' );
[509] Fix | Delete
$ol_item_indent_values = et_pb_responsive_options()->get_property_values( $this->props, 'ol_item_indent' );
[510] Fix | Delete
$quote_border_weight_values = et_pb_responsive_options()->get_property_values( $this->props, 'quote_border_weight' );
[511] Fix | Delete
$quote_border_weight_hover = et_pb_hover_options()->get_value( 'quote_border_weight', $this->props );
[512] Fix | Delete
$quote_border_color_values = et_pb_responsive_options()->get_property_values( $this->props, 'quote_border_color' );
[513] Fix | Delete
$quote_border_color_hover = et_pb_hover_options()->get_value( 'quote_border_color', $this->props );
[514] Fix | Delete
[515] Fix | Delete
$background_layout = $this->props['background_layout'];
[516] Fix | Delete
$background_layout_hover = et_pb_hover_options()->get_value( 'background_layout', $this->props, 'light' );
[517] Fix | Delete
$background_layout_hover_enabled = et_pb_hover_options()->is_enabled( 'background_layout', $this->props );
[518] Fix | Delete
$background_layout_values = et_pb_responsive_options()->get_property_values( $this->props, 'background_layout' );
[519] Fix | Delete
$background_layout_tablet = isset( $background_layout_values['tablet'] ) ? $background_layout_values['tablet'] : '';
[520] Fix | Delete
$background_layout_phone = isset( $background_layout_values['phone'] ) ? $background_layout_values['phone'] : '';
[521] Fix | Delete
[522] Fix | Delete
$this->content = et_builder_replace_code_content_entities( $this->content );
[523] Fix | Delete
// Un-autop converted GB block comments
[524] Fix | Delete
$this->content = preg_replace( '/(<p>)?<!-- (\/)?divi:(.+?) (\/?)-->(<\/p>)?/', '<!-- $2divi:$3 $4-->', $this->content );
[525] Fix | Delete
[526] Fix | Delete
// Convert GB embeds to iframes
[527] Fix | Delete
$this->content = preg_replace_callback(
[528] Fix | Delete
'/<!-- divi:core-embed\/youtube {"url":"([^"]+)"[\s\S]+?<!-- \/divi:core-embed\/youtube -->/',
[529] Fix | Delete
array( $this, 'convert_embeds' ),
[530] Fix | Delete
$this->content
[531] Fix | Delete
);
[532] Fix | Delete
[533] Fix | Delete
$video_background = $this->video_background();
[534] Fix | Delete
$parallax_image_background = $this->get_parallax_image_background();
[535] Fix | Delete
[536] Fix | Delete
// UL.
[537] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ul_type_values, '%%order_class%% ul', 'list-style-type', $render_slug, ' !important;', 'type' );
[538] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ul_position_values, '%%order_class%% ul', 'list-style-position', $render_slug, '', 'type' );
[539] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ul_item_indent_values, '%%order_class%% ul', 'padding-left', $render_slug, ' !important;' );
[540] Fix | Delete
[541] Fix | Delete
// OL.
[542] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ol_type_values, '%%order_class%% ol', 'list-style-type', $render_slug, ' !important;', 'type' );
[543] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ol_position_values, '%%order_class%% ol', 'list-style-position', $render_slug, ' !important;', 'type' );
[544] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $ol_item_indent_values, '%%order_class%% ol', 'padding-left', $render_slug, ' !important;' );
[545] Fix | Delete
[546] Fix | Delete
// Quote.
[547] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $quote_border_weight_values, '%%order_class%% blockquote', 'border-width', $render_slug );
[548] Fix | Delete
et_pb_responsive_options()->generate_responsive_css( $quote_border_color_values, '%%order_class%% blockquote', 'border-color', $render_slug, '', 'color' );
[549] Fix | Delete
[550] Fix | Delete
if ( '' !== $quote_border_color_hover && et_builder_is_hover_enabled( 'quote_border_color', $this->props ) ) {
[551] Fix | Delete
self::set_style( $render_slug, array(
[552] Fix | Delete
'selector' => '%%order_class%% blockquote:hover',
[553] Fix | Delete
'declaration' => sprintf(
[554] Fix | Delete
'border-color: %1$s !important;',
[555] Fix | Delete
esc_html( $quote_border_color_hover )
[556] Fix | Delete
),
[557] Fix | Delete
) );
[558] Fix | Delete
}
[559] Fix | Delete
[560] Fix | Delete
if ( '' !== $quote_border_weight_hover && et_builder_is_hover_enabled( 'quote_border_weight', $this->props ) ) {
[561] Fix | Delete
self::set_style( $render_slug, array(
[562] Fix | Delete
'selector' => '%%order_class%% blockquote:hover',
[563] Fix | Delete
'declaration' => sprintf(
[564] Fix | Delete
'border-width: %1$s !important;',
[565] Fix | Delete
esc_html( $quote_border_weight_hover )
[566] Fix | Delete
),
[567] Fix | Delete
) );
[568] Fix | Delete
}
[569] Fix | Delete
[570] Fix | Delete
// Module classnames
[571] Fix | Delete
$this->add_classname( array(
[572] Fix | Delete
$this->get_text_orientation_classname(),
[573] Fix | Delete
) );
[574] Fix | Delete
[575] Fix | Delete
// Background layout class names.
[576] Fix | Delete
$background_layout_class_names = et_pb_background_layout_options()->get_background_layout_class( $this->props );
[577] Fix | Delete
$this->add_classname( $background_layout_class_names );
[578] Fix | Delete
[579] Fix | Delete
// Background layout data attributes.
[580] Fix | Delete
$data_background_layout = et_pb_background_layout_options()->get_background_layout_attrs( $this->props );
[581] Fix | Delete
[582] Fix | Delete
$content = $multi_view->render_element( array(
[583] Fix | Delete
'tag' => 'div',
[584] Fix | Delete
'content' => '{{content}}',
[585] Fix | Delete
'attrs' => array(
[586] Fix | Delete
'class' => 'et_pb_text_inner',
[587] Fix | Delete
),
[588] Fix | Delete
) );
[589] Fix | Delete
[590] Fix | Delete
$output = sprintf(
[591] Fix | Delete
'<div%3$s class="%2$s"%6$s>
[592] Fix | Delete
%5$s
[593] Fix | Delete
%4$s
[594] Fix | Delete
%1$s
[595] Fix | Delete
</div> <!-- .et_pb_text -->',
[596] Fix | Delete
$content,
[597] Fix | Delete
$this->module_classname( $render_slug ),
[598] Fix | Delete
$this->module_id(),
[599] Fix | Delete
$video_background,
[600] Fix | Delete
$parallax_image_background, // #5
[601] Fix | Delete
et_core_esc_previously( $data_background_layout )
[602] Fix | Delete
);
[603] Fix | Delete
[604] Fix | Delete
return $output;
[605] Fix | Delete
}
[606] Fix | Delete
}
[607] Fix | Delete
[608] Fix | Delete
new ET_Builder_Module_Text;
[609] Fix | Delete
[610] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function