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/core/componen.../data
File: Utils.php
[1000] Fix | Delete
// The high field of the timestamp multiplexed with the version number
[1001] Fix | Delete
$buffer[6] = ( $buffer[6] & 0x0f ) | 0x40;
[1002] Fix | Delete
[1003] Fix | Delete
// The high field of the clock sequence multiplexed with the variant
[1004] Fix | Delete
$buffer[8] = ( $buffer[8] & 0x3f ) | 0x80;
[1005] Fix | Delete
[1006] Fix | Delete
return sprintf(
[1007] Fix | Delete
'%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x',
[1008] Fix | Delete
[1009] Fix | Delete
// Time low
[1010] Fix | Delete
$buffer[0],
[1011] Fix | Delete
$buffer[1],
[1012] Fix | Delete
$buffer[2],
[1013] Fix | Delete
$buffer[3],
[1014] Fix | Delete
[1015] Fix | Delete
// Time mid
[1016] Fix | Delete
$buffer[4],
[1017] Fix | Delete
$buffer[5],
[1018] Fix | Delete
[1019] Fix | Delete
// Time hi and version
[1020] Fix | Delete
$buffer[6],
[1021] Fix | Delete
$buffer[7],
[1022] Fix | Delete
[1023] Fix | Delete
// Clock seq hi and reserved
[1024] Fix | Delete
$buffer[8],
[1025] Fix | Delete
[1026] Fix | Delete
// Clock seq low
[1027] Fix | Delete
$buffer[9],
[1028] Fix | Delete
[1029] Fix | Delete
// Node
[1030] Fix | Delete
$buffer[10],
[1031] Fix | Delete
$buffer[11],
[1032] Fix | Delete
$buffer[12],
[1033] Fix | Delete
$buffer[13],
[1034] Fix | Delete
$buffer[14],
[1035] Fix | Delete
$buffer[15]
[1036] Fix | Delete
);
[1037] Fix | Delete
}
[1038] Fix | Delete
}
[1039] Fix | Delete
[1040] Fix | Delete
[1041] Fix | Delete
function et_core_data_utils_minify_css( $string = '' ) {
[1042] Fix | Delete
$comments = <<< EOS
[1043] Fix | Delete
(?sx)
[1044] Fix | Delete
# don't change anything inside of quotes
[1045] Fix | Delete
( "(?:[^"\\\]++|\\\.)*+" | '(?:[^'\\\]++|\\\.)*+' )
[1046] Fix | Delete
|
[1047] Fix | Delete
# comments
[1048] Fix | Delete
/\* (?> .*? \*/ )
[1049] Fix | Delete
EOS;
[1050] Fix | Delete
[1051] Fix | Delete
$everything_else = <<< EOS
[1052] Fix | Delete
(?six)
[1053] Fix | Delete
# don't change anything inside of quotes
[1054] Fix | Delete
( "(?:[^"\\\]++|\\\.)*+" | '(?:[^'\\\]++|\\\.)*+' )
[1055] Fix | Delete
|
[1056] Fix | Delete
# spaces before and after ; and }
[1057] Fix | Delete
\s*+ ; \s*+ ( } ) \s*+
[1058] Fix | Delete
|
[1059] Fix | Delete
# all spaces around meta chars/operators (excluding + and -)
[1060] Fix | Delete
\s*+ ( [*$~^|]?+= | [{};,>~] | !important\b ) \s*+
[1061] Fix | Delete
|
[1062] Fix | Delete
# all spaces around + and - (in selectors only!)
[1063] Fix | Delete
\s*([+-])\s*(?=[^}]*{)
[1064] Fix | Delete
|
[1065] Fix | Delete
# spaces right of ( [ :
[1066] Fix | Delete
( [[(:] ) \s++
[1067] Fix | Delete
|
[1068] Fix | Delete
# spaces left of ) ]
[1069] Fix | Delete
\s++ ( [])] )
[1070] Fix | Delete
|
[1071] Fix | Delete
# spaces left (and right) of : (but not in selectors)!
[1072] Fix | Delete
\s+(:)(?![^\}]*\{)
[1073] Fix | Delete
|
[1074] Fix | Delete
# spaces at beginning/end of string
[1075] Fix | Delete
^ \s++ | \s++ \z
[1076] Fix | Delete
|
[1077] Fix | Delete
# double spaces to single
[1078] Fix | Delete
(\s)\s+
[1079] Fix | Delete
EOS;
[1080] Fix | Delete
[1081] Fix | Delete
$search_patterns = array( "%{$comments}%", "%{$everything_else}%" );
[1082] Fix | Delete
$replace_patterns = array( '$1', '$1$2$3$4$5$6$7$8' );
[1083] Fix | Delete
[1084] Fix | Delete
return preg_replace( $search_patterns, $replace_patterns, $string );
[1085] Fix | Delete
}
[1086] Fix | Delete
[1087] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function