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
File: framework.php
[1000] Fix | Delete
wp_enqueue_style( 'et-fb-fonts', esc_url_raw( add_query_arg( $query_args, "{$protocol}://fonts.googleapis.com/css" ) ), array(), null );
[1001] Fix | Delete
}
[1002] Fix | Delete
[1003] Fix | Delete
et_builder_load_framework();
[1004] Fix | Delete
[1005] Fix | Delete
// Register assets that need to be fired at head
[1006] Fix | Delete
function et_builder_enqueue_assets_head() {
[1007] Fix | Delete
// Setup WP media.
[1008] Fix | Delete
// Around 5.2-alpha, `wp_enqueue_media` started using a function defined in a file
[1009] Fix | Delete
// which is only included in admin. Unfortunately there's no safe/reliable way to conditionally
[1010] Fix | Delete
// load this other than checking the WP version.
[1011] Fix | Delete
if ( version_compare( $GLOBALS['wp_version'], '5.2-alpha-44947', '>=' ) ) {
[1012] Fix | Delete
require_once( ABSPATH . 'wp-admin/includes/post.php' );
[1013] Fix | Delete
}
[1014] Fix | Delete
[1015] Fix | Delete
wp_enqueue_media();
[1016] Fix | Delete
[1017] Fix | Delete
// Setup Builder Media Library
[1018] Fix | Delete
wp_enqueue_script( 'et_pb_media_library', ET_BUILDER_URI . '/scripts/ext/media-library.js', array( 'media-editor' ), ET_BUILDER_PRODUCT_VERSION, true );
[1019] Fix | Delete
}
[1020] Fix | Delete
[1021] Fix | Delete
// TODO, make this fire late enough, so that the_content has fired and ET_Builder_Element::get_computed_vars() is ready
[1022] Fix | Delete
// currently its being called in temporary_app_boot() in view.php
[1023] Fix | Delete
function et_builder_enqueue_assets_main() {
[1024] Fix | Delete
$ver = ET_BUILDER_VERSION;
[1025] Fix | Delete
$root = ET_BUILDER_URI;
[1026] Fix | Delete
$assets = ET_BUILDER_URI . '/frontend-builder/assets';
[1027] Fix | Delete
[1028] Fix | Delete
wp_register_script( 'wp-color-picker-alpha', ET_BUILDER_URI . '/scripts/ext/wp-color-picker-alpha.min.js', array( 'jquery', 'wp-color-picker' ) );
[1029] Fix | Delete
wp_localize_script( 'wp-color-picker-alpha', 'et_pb_color_picker_strings', apply_filters( 'et_pb_color_picker_strings_builder', array(
[1030] Fix | Delete
'legacy_pick' => esc_html__( 'Select', 'et_builder' ),
[1031] Fix | Delete
'legacy_current' => esc_html__( 'Current Color', 'et_builder' ),
[1032] Fix | Delete
) ) );
[1033] Fix | Delete
[1034] Fix | Delete
wp_enqueue_script( 'wp-color-picker-alpha' );
[1035] Fix | Delete
wp_enqueue_style( 'wp-color-picker' );
[1036] Fix | Delete
[1037] Fix | Delete
wp_enqueue_style( 'et-core-admin', ET_CORE_URL . 'admin/css/core.css', array(), ET_CORE_VERSION );
[1038] Fix | Delete
wp_enqueue_style( 'et-core-portability', ET_CORE_URL . 'admin/css/portability.css', array(), ET_CORE_VERSION );
[1039] Fix | Delete
[1040] Fix | Delete
wp_register_style( 'et_pb_admin_date_css', "{$root}/styles/jquery-ui-1.12.1.custom.css", array(), $ver );
[1041] Fix | Delete
wp_register_style( 'et-fb-top-window', "{$assets}/css/fb-top-window.css", array(), $ver );
[1042] Fix | Delete
[1043] Fix | Delete
$conditional_deps = array();
[1044] Fix | Delete
[1045] Fix | Delete
if ( ! et_builder_bfb_enabled() && ! et_builder_tb_enabled() ) {
[1046] Fix | Delete
$conditional_deps[] = 'et-fb-top-window';
[1047] Fix | Delete
}
[1048] Fix | Delete
[1049] Fix | Delete
// Enqueue the appropriate bundle CSS (hot/start/build)
[1050] Fix | Delete
et_fb_enqueue_bundle( 'et-frontend-builder', 'bundle.css', array_merge( array(
[1051] Fix | Delete
'et_pb_admin_date_css',
[1052] Fix | Delete
'wp-mediaelement',
[1053] Fix | Delete
'wp-color-picker',
[1054] Fix | Delete
'et-core-admin',
[1055] Fix | Delete
), $conditional_deps ) );
[1056] Fix | Delete
[1057] Fix | Delete
// Load Divi Builder style.css file with hardcore CSS resets and Full Open Sans font if the Divi Builder plugin is active
[1058] Fix | Delete
if ( et_is_builder_plugin_active() ) {
[1059] Fix | Delete
// `bundle.css` was removed from `divi-builder-style.css` and is now enqueued separately for the DBP as well.
[1060] Fix | Delete
wp_enqueue_style(
[1061] Fix | Delete
'et-builder-divi-builder-styles',
[1062] Fix | Delete
"{$assets}/css/divi-builder-style.css",
[1063] Fix | Delete
array_merge( array( 'et-core-admin', 'wp-color-picker' ), $conditional_deps ),
[1064] Fix | Delete
$ver
[1065] Fix | Delete
);
[1066] Fix | Delete
}
[1067] Fix | Delete
[1068] Fix | Delete
wp_enqueue_script( 'mce-view' );
[1069] Fix | Delete
[1070] Fix | Delete
if ( ! et_core_use_google_fonts() || et_is_builder_plugin_active() ) {
[1071] Fix | Delete
et_builder_enqueue_open_sans();
[1072] Fix | Delete
}
[1073] Fix | Delete
[1074] Fix | Delete
wp_enqueue_style( 'et-frontend-builder-failure-modal', "{$assets}/css/failure_modal.css", array(), $ver );
[1075] Fix | Delete
wp_enqueue_style( 'et-frontend-builder-notification-modal', "{$root}/styles/notification_popup_styles.css", array(), $ver );
[1076] Fix | Delete
}
[1077] Fix | Delete
[1078] Fix | Delete
if ( ! function_exists( 'et_fb_enqueue_react' ) ):
[1079] Fix | Delete
function et_fb_enqueue_react() {
[1080] Fix | Delete
$DEBUG = defined( 'ET_DEBUG' ) && ET_DEBUG;
[1081] Fix | Delete
$core_scripts = ET_CORE_URL . 'admin/js';
[1082] Fix | Delete
$react_version = '16.7.0';
[1083] Fix | Delete
[1084] Fix | Delete
wp_dequeue_script( 'react' );
[1085] Fix | Delete
wp_dequeue_script( 'react-dom' );
[1086] Fix | Delete
wp_deregister_script( 'react' );
[1087] Fix | Delete
wp_deregister_script( 'react-dom' );
[1088] Fix | Delete
[1089] Fix | Delete
if ( $DEBUG || DiviExtensions::is_debugging_extension() ) {
[1090] Fix | Delete
wp_enqueue_script( 'react', "https://cdn.jsdelivr.net/npm/react@{$react_version}/umd/react.development.js", array(), $react_version, true );
[1091] Fix | Delete
wp_enqueue_script( 'react-dom', "https://cdn.jsdelivr.net/npm/react-dom@{$react_version}/umd/react-dom.development.js", array( 'react' ), $react_version, true );
[1092] Fix | Delete
add_filter( 'script_loader_tag', 'et_core_add_crossorigin_attribute', 10, 3 );
[1093] Fix | Delete
} else {
[1094] Fix | Delete
wp_enqueue_script( 'react', "{$core_scripts}/react.production.min.js", array(), $react_version, true );
[1095] Fix | Delete
wp_enqueue_script( 'react-dom', "{$core_scripts}/react-dom.production.min.js", array( 'react' ), $react_version, true );
[1096] Fix | Delete
}
[1097] Fix | Delete
}
[1098] Fix | Delete
endif;
[1099] Fix | Delete
[1100] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function