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.../themes/Divi/includes/builder
File: conditions.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Utility functions for checking conditions.
[2] Fix | Delete
*
[3] Fix | Delete
* To be included in this file a function must:
[4] Fix | Delete
*
[5] Fix | Delete
* * Return a bool value
[6] Fix | Delete
* * Have a name that asks a yes or no question (where the first word after
[7] Fix | Delete
* the et_ prefix is a word like: is, can, has, should, was, had, must, or will)
[8] Fix | Delete
*
[9] Fix | Delete
* @since 4.0.7
[10] Fix | Delete
*
[11] Fix | Delete
*/
[12] Fix | Delete
[13] Fix | Delete
/* Function Template
[14] Fix | Delete
[15] Fix | Delete
if ( ! function_exists( '' ) ):
[16] Fix | Delete
function et_builder_() {
[17] Fix | Delete
[18] Fix | Delete
}
[19] Fix | Delete
endif;
[20] Fix | Delete
[21] Fix | Delete
*/
[22] Fix | Delete
[23] Fix | Delete
// Note: Functions in this file are sorted alphabetically.
[24] Fix | Delete
[25] Fix | Delete
if ( ! function_exists( 'et_builder_is_loading_data' ) ):
[26] Fix | Delete
function et_builder_is_loading_data( $type = 'vb' ) {
[27] Fix | Delete
if ( 'bb' === $type ) {
[28] Fix | Delete
return 'et_pb_get_backbone_templates' === et_()->array_get( $_POST, 'action' );
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
$data_actions = array(
[32] Fix | Delete
'et_fb_retrieve_builder_data',
[33] Fix | Delete
'et_fb_update_builder_assets',
[34] Fix | Delete
);
[35] Fix | Delete
[36] Fix | Delete
return isset( $_POST['action'] ) && in_array( $_POST['action'], $data_actions );
[37] Fix | Delete
}
[38] Fix | Delete
endif;
[39] Fix | Delete
[40] Fix | Delete
if ( ! function_exists( 'et_builder_should_load_all_data' ) ):
[41] Fix | Delete
function et_builder_should_load_all_data() {
[42] Fix | Delete
$needs_cached_definitions = et_core_is_fb_enabled() && ! et_fb_dynamic_asset_exists( 'definitions' );
[43] Fix | Delete
[44] Fix | Delete
return $needs_cached_definitions || ( ET_Builder_ELement::is_saving_cache() || et_builder_is_loading_data() );
[45] Fix | Delete
}
[46] Fix | Delete
endif;
[47] Fix | Delete
[48] Fix | Delete
// Note: Functions in this file are sorted alphabetically.
[49] Fix | Delete
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function