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/wp-conte.../plugins/sitepres.../lib/twig/src
File: Environment.php
$this->initExtensions();
[1000] Fix | Delete
}
[1001] Fix | Delete
if (isset($this->filters[$name])) {
[1002] Fix | Delete
return $this->filters[$name];
[1003] Fix | Delete
}
[1004] Fix | Delete
foreach ($this->filters as $pattern => $filter) {
[1005] Fix | Delete
$pattern = \str_replace('\\*', '(.*?)', \preg_quote($pattern, '#'), $count);
[1006] Fix | Delete
if ($count) {
[1007] Fix | Delete
if (\preg_match('#^' . $pattern . '$#', $name, $matches)) {
[1008] Fix | Delete
\array_shift($matches);
[1009] Fix | Delete
$filter->setArguments($matches);
[1010] Fix | Delete
return $filter;
[1011] Fix | Delete
}
[1012] Fix | Delete
}
[1013] Fix | Delete
}
[1014] Fix | Delete
foreach ($this->filterCallbacks as $callback) {
[1015] Fix | Delete
if (\false !== ($filter = \call_user_func($callback, $name))) {
[1016] Fix | Delete
return $filter;
[1017] Fix | Delete
}
[1018] Fix | Delete
}
[1019] Fix | Delete
return \false;
[1020] Fix | Delete
}
[1021] Fix | Delete
public function registerUndefinedFilterCallback($callable)
[1022] Fix | Delete
{
[1023] Fix | Delete
$this->filterCallbacks[] = $callable;
[1024] Fix | Delete
}
[1025] Fix | Delete
/**
[1026] Fix | Delete
* Gets the registered Filters.
[1027] Fix | Delete
*
[1028] Fix | Delete
* Be warned that this method cannot return filters defined with registerUndefinedFilterCallback.
[1029] Fix | Delete
*
[1030] Fix | Delete
* @return \Twig_FilterInterface[]
[1031] Fix | Delete
*
[1032] Fix | Delete
* @see registerUndefinedFilterCallback
[1033] Fix | Delete
*
[1034] Fix | Delete
* @internal
[1035] Fix | Delete
*/
[1036] Fix | Delete
public function getFilters()
[1037] Fix | Delete
{
[1038] Fix | Delete
if (!$this->extensionInitialized) {
[1039] Fix | Delete
$this->initExtensions();
[1040] Fix | Delete
}
[1041] Fix | Delete
return $this->filters;
[1042] Fix | Delete
}
[1043] Fix | Delete
/**
[1044] Fix | Delete
* Registers a Test.
[1045] Fix | Delete
*
[1046] Fix | Delete
* @param string|TwigTest $name The test name or a \Twig_SimpleTest instance
[1047] Fix | Delete
* @param \Twig_TestInterface|TwigTest $test A \Twig_TestInterface instance or a \Twig_SimpleTest instance
[1048] Fix | Delete
*/
[1049] Fix | Delete
public function addTest($name, $test = null)
[1050] Fix | Delete
{
[1051] Fix | Delete
if (!$name instanceof \WPML\Core\Twig\TwigTest && !($test instanceof \WPML\Core\Twig\TwigTest || $test instanceof \WPML\Core\Twig_TestInterface)) {
[1052] Fix | Delete
throw new \LogicException('A test must be an instance of \\Twig_TestInterface or \\Twig_SimpleTest.');
[1053] Fix | Delete
}
[1054] Fix | Delete
if ($name instanceof \WPML\Core\Twig\TwigTest) {
[1055] Fix | Delete
$test = $name;
[1056] Fix | Delete
$name = $test->getName();
[1057] Fix | Delete
} else {
[1058] Fix | Delete
@\trigger_error(\sprintf('Passing a name as a first argument to the %s method is deprecated since version 1.21. Pass an instance of "Twig_SimpleTest" instead when defining test "%s".', __METHOD__, $name), \E_USER_DEPRECATED);
[1059] Fix | Delete
}
[1060] Fix | Delete
if ($this->extensionInitialized) {
[1061] Fix | Delete
throw new \LogicException(\sprintf('Unable to add test "%s" as extensions have already been initialized.', $name));
[1062] Fix | Delete
}
[1063] Fix | Delete
$this->staging->addTest($name, $test);
[1064] Fix | Delete
}
[1065] Fix | Delete
/**
[1066] Fix | Delete
* Gets the registered Tests.
[1067] Fix | Delete
*
[1068] Fix | Delete
* @return \Twig_TestInterface[]
[1069] Fix | Delete
*
[1070] Fix | Delete
* @internal
[1071] Fix | Delete
*/
[1072] Fix | Delete
public function getTests()
[1073] Fix | Delete
{
[1074] Fix | Delete
if (!$this->extensionInitialized) {
[1075] Fix | Delete
$this->initExtensions();
[1076] Fix | Delete
}
[1077] Fix | Delete
return $this->tests;
[1078] Fix | Delete
}
[1079] Fix | Delete
/**
[1080] Fix | Delete
* Gets a test by name.
[1081] Fix | Delete
*
[1082] Fix | Delete
* @param string $name The test name
[1083] Fix | Delete
*
[1084] Fix | Delete
* @return \Twig_Test|false
[1085] Fix | Delete
*
[1086] Fix | Delete
* @internal
[1087] Fix | Delete
*/
[1088] Fix | Delete
public function getTest($name)
[1089] Fix | Delete
{
[1090] Fix | Delete
if (!$this->extensionInitialized) {
[1091] Fix | Delete
$this->initExtensions();
[1092] Fix | Delete
}
[1093] Fix | Delete
if (isset($this->tests[$name])) {
[1094] Fix | Delete
return $this->tests[$name];
[1095] Fix | Delete
}
[1096] Fix | Delete
foreach ($this->tests as $pattern => $test) {
[1097] Fix | Delete
$pattern = \str_replace('\\*', '(.*?)', \preg_quote($pattern, '#'), $count);
[1098] Fix | Delete
if ($count) {
[1099] Fix | Delete
if (\preg_match('#^' . $pattern . '$#', $name, $matches)) {
[1100] Fix | Delete
\array_shift($matches);
[1101] Fix | Delete
$test->setArguments($matches);
[1102] Fix | Delete
return $test;
[1103] Fix | Delete
}
[1104] Fix | Delete
}
[1105] Fix | Delete
}
[1106] Fix | Delete
return \false;
[1107] Fix | Delete
}
[1108] Fix | Delete
/**
[1109] Fix | Delete
* Registers a Function.
[1110] Fix | Delete
*
[1111] Fix | Delete
* @param string|TwigFunction $name The function name or a \Twig_SimpleFunction instance
[1112] Fix | Delete
* @param \Twig_FunctionInterface|TwigFunction $function
[1113] Fix | Delete
*/
[1114] Fix | Delete
public function addFunction($name, $function = null)
[1115] Fix | Delete
{
[1116] Fix | Delete
if (!$name instanceof \WPML\Core\Twig\TwigFunction && !($function instanceof \WPML\Core\Twig\TwigFunction || $function instanceof \WPML\Core\Twig_FunctionInterface)) {
[1117] Fix | Delete
throw new \LogicException('A function must be an instance of \\Twig_FunctionInterface or \\Twig_SimpleFunction.');
[1118] Fix | Delete
}
[1119] Fix | Delete
if ($name instanceof \WPML\Core\Twig\TwigFunction) {
[1120] Fix | Delete
$function = $name;
[1121] Fix | Delete
$name = $function->getName();
[1122] Fix | Delete
} else {
[1123] Fix | Delete
@\trigger_error(\sprintf('Passing a name as a first argument to the %s method is deprecated since version 1.21. Pass an instance of "Twig_SimpleFunction" instead when defining function "%s".', __METHOD__, $name), \E_USER_DEPRECATED);
[1124] Fix | Delete
}
[1125] Fix | Delete
if ($this->extensionInitialized) {
[1126] Fix | Delete
throw new \LogicException(\sprintf('Unable to add function "%s" as extensions have already been initialized.', $name));
[1127] Fix | Delete
}
[1128] Fix | Delete
$this->staging->addFunction($name, $function);
[1129] Fix | Delete
}
[1130] Fix | Delete
/**
[1131] Fix | Delete
* Get a function by name.
[1132] Fix | Delete
*
[1133] Fix | Delete
* Subclasses may override this method and load functions differently;
[1134] Fix | Delete
* so no list of functions is available.
[1135] Fix | Delete
*
[1136] Fix | Delete
* @param string $name function name
[1137] Fix | Delete
*
[1138] Fix | Delete
* @return \Twig_Function|false
[1139] Fix | Delete
*
[1140] Fix | Delete
* @internal
[1141] Fix | Delete
*/
[1142] Fix | Delete
public function getFunction($name)
[1143] Fix | Delete
{
[1144] Fix | Delete
if (!$this->extensionInitialized) {
[1145] Fix | Delete
$this->initExtensions();
[1146] Fix | Delete
}
[1147] Fix | Delete
if (isset($this->functions[$name])) {
[1148] Fix | Delete
return $this->functions[$name];
[1149] Fix | Delete
}
[1150] Fix | Delete
foreach ($this->functions as $pattern => $function) {
[1151] Fix | Delete
$pattern = \str_replace('\\*', '(.*?)', \preg_quote($pattern, '#'), $count);
[1152] Fix | Delete
if ($count) {
[1153] Fix | Delete
if (\preg_match('#^' . $pattern . '$#', $name, $matches)) {
[1154] Fix | Delete
\array_shift($matches);
[1155] Fix | Delete
$function->setArguments($matches);
[1156] Fix | Delete
return $function;
[1157] Fix | Delete
}
[1158] Fix | Delete
}
[1159] Fix | Delete
}
[1160] Fix | Delete
foreach ($this->functionCallbacks as $callback) {
[1161] Fix | Delete
if (\false !== ($function = \call_user_func($callback, $name))) {
[1162] Fix | Delete
return $function;
[1163] Fix | Delete
}
[1164] Fix | Delete
}
[1165] Fix | Delete
return \false;
[1166] Fix | Delete
}
[1167] Fix | Delete
public function registerUndefinedFunctionCallback($callable)
[1168] Fix | Delete
{
[1169] Fix | Delete
$this->functionCallbacks[] = $callable;
[1170] Fix | Delete
}
[1171] Fix | Delete
/**
[1172] Fix | Delete
* Gets registered functions.
[1173] Fix | Delete
*
[1174] Fix | Delete
* Be warned that this method cannot return functions defined with registerUndefinedFunctionCallback.
[1175] Fix | Delete
*
[1176] Fix | Delete
* @return \Twig_FunctionInterface[]
[1177] Fix | Delete
*
[1178] Fix | Delete
* @see registerUndefinedFunctionCallback
[1179] Fix | Delete
*
[1180] Fix | Delete
* @internal
[1181] Fix | Delete
*/
[1182] Fix | Delete
public function getFunctions()
[1183] Fix | Delete
{
[1184] Fix | Delete
if (!$this->extensionInitialized) {
[1185] Fix | Delete
$this->initExtensions();
[1186] Fix | Delete
}
[1187] Fix | Delete
return $this->functions;
[1188] Fix | Delete
}
[1189] Fix | Delete
/**
[1190] Fix | Delete
* Registers a Global.
[1191] Fix | Delete
*
[1192] Fix | Delete
* New globals can be added before compiling or rendering a template;
[1193] Fix | Delete
* but after, you can only update existing globals.
[1194] Fix | Delete
*
[1195] Fix | Delete
* @param string $name The global name
[1196] Fix | Delete
* @param mixed $value The global value
[1197] Fix | Delete
*/
[1198] Fix | Delete
public function addGlobal($name, $value)
[1199] Fix | Delete
{
[1200] Fix | Delete
if ($this->extensionInitialized || $this->runtimeInitialized) {
[1201] Fix | Delete
if (null === $this->globals) {
[1202] Fix | Delete
$this->globals = $this->initGlobals();
[1203] Fix | Delete
}
[1204] Fix | Delete
if (!\array_key_exists($name, $this->globals)) {
[1205] Fix | Delete
// The deprecation notice must be turned into the following exception in Twig 2.0
[1206] Fix | Delete
@\trigger_error(\sprintf('Registering global variable "%s" at runtime or when the extensions have already been initialized is deprecated since version 1.21.', $name), \E_USER_DEPRECATED);
[1207] Fix | Delete
//throw new \LogicException(sprintf('Unable to add global "%s" as the runtime or the extensions have already been initialized.', $name));
[1208] Fix | Delete
}
[1209] Fix | Delete
}
[1210] Fix | Delete
if ($this->extensionInitialized || $this->runtimeInitialized) {
[1211] Fix | Delete
// update the value
[1212] Fix | Delete
$this->globals[$name] = $value;
[1213] Fix | Delete
} else {
[1214] Fix | Delete
$this->staging->addGlobal($name, $value);
[1215] Fix | Delete
}
[1216] Fix | Delete
}
[1217] Fix | Delete
/**
[1218] Fix | Delete
* Gets the registered Globals.
[1219] Fix | Delete
*
[1220] Fix | Delete
* @return array An array of globals
[1221] Fix | Delete
*
[1222] Fix | Delete
* @internal
[1223] Fix | Delete
*/
[1224] Fix | Delete
public function getGlobals()
[1225] Fix | Delete
{
[1226] Fix | Delete
if (!$this->runtimeInitialized && !$this->extensionInitialized) {
[1227] Fix | Delete
return $this->initGlobals();
[1228] Fix | Delete
}
[1229] Fix | Delete
if (null === $this->globals) {
[1230] Fix | Delete
$this->globals = $this->initGlobals();
[1231] Fix | Delete
}
[1232] Fix | Delete
return $this->globals;
[1233] Fix | Delete
}
[1234] Fix | Delete
/**
[1235] Fix | Delete
* Merges a context with the defined globals.
[1236] Fix | Delete
*
[1237] Fix | Delete
* @param array $context An array representing the context
[1238] Fix | Delete
*
[1239] Fix | Delete
* @return array The context merged with the globals
[1240] Fix | Delete
*/
[1241] Fix | Delete
public function mergeGlobals(array $context)
[1242] Fix | Delete
{
[1243] Fix | Delete
// we don't use array_merge as the context being generally
[1244] Fix | Delete
// bigger than globals, this code is faster.
[1245] Fix | Delete
foreach ($this->getGlobals() as $key => $value) {
[1246] Fix | Delete
if (!\array_key_exists($key, $context)) {
[1247] Fix | Delete
$context[$key] = $value;
[1248] Fix | Delete
}
[1249] Fix | Delete
}
[1250] Fix | Delete
return $context;
[1251] Fix | Delete
}
[1252] Fix | Delete
/**
[1253] Fix | Delete
* Gets the registered unary Operators.
[1254] Fix | Delete
*
[1255] Fix | Delete
* @return array An array of unary operators
[1256] Fix | Delete
*
[1257] Fix | Delete
* @internal
[1258] Fix | Delete
*/
[1259] Fix | Delete
public function getUnaryOperators()
[1260] Fix | Delete
{
[1261] Fix | Delete
if (!$this->extensionInitialized) {
[1262] Fix | Delete
$this->initExtensions();
[1263] Fix | Delete
}
[1264] Fix | Delete
return $this->unaryOperators;
[1265] Fix | Delete
}
[1266] Fix | Delete
/**
[1267] Fix | Delete
* Gets the registered binary Operators.
[1268] Fix | Delete
*
[1269] Fix | Delete
* @return array An array of binary operators
[1270] Fix | Delete
*
[1271] Fix | Delete
* @internal
[1272] Fix | Delete
*/
[1273] Fix | Delete
public function getBinaryOperators()
[1274] Fix | Delete
{
[1275] Fix | Delete
if (!$this->extensionInitialized) {
[1276] Fix | Delete
$this->initExtensions();
[1277] Fix | Delete
}
[1278] Fix | Delete
return $this->binaryOperators;
[1279] Fix | Delete
}
[1280] Fix | Delete
/**
[1281] Fix | Delete
* @deprecated since 1.23 (to be removed in 2.0)
[1282] Fix | Delete
*/
[1283] Fix | Delete
public function computeAlternatives($name, $items)
[1284] Fix | Delete
{
[1285] Fix | Delete
@\trigger_error(\sprintf('The %s method is deprecated since version 1.23 and will be removed in Twig 2.0.', __METHOD__), \E_USER_DEPRECATED);
[1286] Fix | Delete
return \WPML\Core\Twig\Error\SyntaxError::computeAlternatives($name, $items);
[1287] Fix | Delete
}
[1288] Fix | Delete
/**
[1289] Fix | Delete
* @internal
[1290] Fix | Delete
*/
[1291] Fix | Delete
protected function initGlobals()
[1292] Fix | Delete
{
[1293] Fix | Delete
$globals = [];
[1294] Fix | Delete
foreach ($this->extensions as $name => $extension) {
[1295] Fix | Delete
if (!$extension instanceof \WPML\Core\Twig\Extension\GlobalsInterface) {
[1296] Fix | Delete
$m = new \ReflectionMethod($extension, 'getGlobals');
[1297] Fix | Delete
$parentClass = $m->getDeclaringClass()->getName();
[1298] Fix | Delete
if ('Twig_Extension' !== $parentClass && 'WPML\\Core\\Twig\\Extension\\AbstractExtension' !== $parentClass) {
[1299] Fix | Delete
@\trigger_error(\sprintf('Defining the getGlobals() method in the "%s" extension without explicitly implementing Twig\\Extension\\GlobalsInterface is deprecated since version 1.23.', $name), \E_USER_DEPRECATED);
[1300] Fix | Delete
}
[1301] Fix | Delete
}
[1302] Fix | Delete
$extGlob = $extension->getGlobals();
[1303] Fix | Delete
if (!\is_array($extGlob)) {
[1304] Fix | Delete
throw new \UnexpectedValueException(\sprintf('"%s::getGlobals()" must return an array of globals.', \get_class($extension)));
[1305] Fix | Delete
}
[1306] Fix | Delete
$globals[] = $extGlob;
[1307] Fix | Delete
}
[1308] Fix | Delete
$globals[] = $this->staging->getGlobals();
[1309] Fix | Delete
return \call_user_func_array('array_merge', $globals);
[1310] Fix | Delete
}
[1311] Fix | Delete
/**
[1312] Fix | Delete
* @internal
[1313] Fix | Delete
*/
[1314] Fix | Delete
protected function initExtensions()
[1315] Fix | Delete
{
[1316] Fix | Delete
if ($this->extensionInitialized) {
[1317] Fix | Delete
return;
[1318] Fix | Delete
}
[1319] Fix | Delete
$this->parsers = new \WPML\Core\Twig_TokenParserBroker([], [], \false);
[1320] Fix | Delete
$this->filters = [];
[1321] Fix | Delete
$this->functions = [];
[1322] Fix | Delete
$this->tests = [];
[1323] Fix | Delete
$this->visitors = [];
[1324] Fix | Delete
$this->unaryOperators = [];
[1325] Fix | Delete
$this->binaryOperators = [];
[1326] Fix | Delete
foreach ($this->extensions as $extension) {
[1327] Fix | Delete
$this->initExtension($extension);
[1328] Fix | Delete
}
[1329] Fix | Delete
$this->initExtension($this->staging);
[1330] Fix | Delete
// Done at the end only, so that an exception during initialization does not mark the environment as initialized when catching the exception
[1331] Fix | Delete
$this->extensionInitialized = \true;
[1332] Fix | Delete
}
[1333] Fix | Delete
/**
[1334] Fix | Delete
* @internal
[1335] Fix | Delete
*/
[1336] Fix | Delete
protected function initExtension(\WPML\Core\Twig\Extension\ExtensionInterface $extension)
[1337] Fix | Delete
{
[1338] Fix | Delete
// filters
[1339] Fix | Delete
foreach ($extension->getFilters() as $name => $filter) {
[1340] Fix | Delete
if ($filter instanceof \WPML\Core\Twig\TwigFilter) {
[1341] Fix | Delete
$name = $filter->getName();
[1342] Fix | Delete
} else {
[1343] Fix | Delete
@\trigger_error(\sprintf('Using an instance of "%s" for filter "%s" is deprecated since version 1.21. Use \\Twig_SimpleFilter instead.', \get_class($filter), $name), \E_USER_DEPRECATED);
[1344] Fix | Delete
}
[1345] Fix | Delete
$this->filters[$name] = $filter;
[1346] Fix | Delete
}
[1347] Fix | Delete
// functions
[1348] Fix | Delete
foreach ($extension->getFunctions() as $name => $function) {
[1349] Fix | Delete
if ($function instanceof \WPML\Core\Twig\TwigFunction) {
[1350] Fix | Delete
$name = $function->getName();
[1351] Fix | Delete
} else {
[1352] Fix | Delete
@\trigger_error(\sprintf('Using an instance of "%s" for function "%s" is deprecated since version 1.21. Use \\Twig_SimpleFunction instead.', \get_class($function), $name), \E_USER_DEPRECATED);
[1353] Fix | Delete
}
[1354] Fix | Delete
$this->functions[$name] = $function;
[1355] Fix | Delete
}
[1356] Fix | Delete
// tests
[1357] Fix | Delete
foreach ($extension->getTests() as $name => $test) {
[1358] Fix | Delete
if ($test instanceof \WPML\Core\Twig\TwigTest) {
[1359] Fix | Delete
$name = $test->getName();
[1360] Fix | Delete
} else {
[1361] Fix | Delete
@\trigger_error(\sprintf('Using an instance of "%s" for test "%s" is deprecated since version 1.21. Use \\Twig_SimpleTest instead.', \get_class($test), $name), \E_USER_DEPRECATED);
[1362] Fix | Delete
}
[1363] Fix | Delete
$this->tests[$name] = $test;
[1364] Fix | Delete
}
[1365] Fix | Delete
// token parsers
[1366] Fix | Delete
foreach ($extension->getTokenParsers() as $parser) {
[1367] Fix | Delete
if ($parser instanceof \WPML\Core\Twig\TokenParser\TokenParserInterface) {
[1368] Fix | Delete
$this->parsers->addTokenParser($parser);
[1369] Fix | Delete
} elseif ($parser instanceof \WPML\Core\Twig_TokenParserBrokerInterface) {
[1370] Fix | Delete
@\trigger_error('Registering a \\Twig_TokenParserBrokerInterface instance is deprecated since version 1.21.', \E_USER_DEPRECATED);
[1371] Fix | Delete
$this->parsers->addTokenParserBroker($parser);
[1372] Fix | Delete
} else {
[1373] Fix | Delete
throw new \LogicException('getTokenParsers() must return an array of \\Twig_TokenParserInterface or \\Twig_TokenParserBrokerInterface instances.');
[1374] Fix | Delete
}
[1375] Fix | Delete
}
[1376] Fix | Delete
// node visitors
[1377] Fix | Delete
foreach ($extension->getNodeVisitors() as $visitor) {
[1378] Fix | Delete
$this->visitors[] = $visitor;
[1379] Fix | Delete
}
[1380] Fix | Delete
// operators
[1381] Fix | Delete
if ($operators = $extension->getOperators()) {
[1382] Fix | Delete
if (!\is_array($operators)) {
[1383] Fix | Delete
throw new \InvalidArgumentException(\sprintf('"%s::getOperators()" must return an array with operators, got "%s".', \get_class($extension), \is_object($operators) ? \get_class($operators) : \gettype($operators) . (\is_resource($operators) ? '' : '#' . $operators)));
[1384] Fix | Delete
}
[1385] Fix | Delete
if (2 !== \count($operators)) {
[1386] Fix | Delete
throw new \InvalidArgumentException(\sprintf('"%s::getOperators()" must return an array of 2 elements, got %d.', \get_class($extension), \count($operators)));
[1387] Fix | Delete
}
[1388] Fix | Delete
$this->unaryOperators = \array_merge($this->unaryOperators, $operators[0]);
[1389] Fix | Delete
$this->binaryOperators = \array_merge($this->binaryOperators, $operators[1]);
[1390] Fix | Delete
}
[1391] Fix | Delete
}
[1392] Fix | Delete
/**
[1393] Fix | Delete
* @deprecated since 1.22 (to be removed in 2.0)
[1394] Fix | Delete
*/
[1395] Fix | Delete
protected function writeCacheFile($file, $content)
[1396] Fix | Delete
{
[1397] Fix | Delete
$this->cache->write($file, $content);
[1398] Fix | Delete
}
[1399] Fix | Delete
private function updateOptionsHash()
[1400] Fix | Delete
{
[1401] Fix | Delete
$hashParts = \array_merge(\array_keys($this->extensions), [(int) \function_exists('WPML\\Core\\twig_template_get_attributes'), \PHP_MAJOR_VERSION, \PHP_MINOR_VERSION, self::VERSION, (int) $this->debug, $this->baseTemplateClass, (int) $this->strictVariables]);
[1402] Fix | Delete
$this->optionsHash = \implode(':', $hashParts);
[1403] Fix | Delete
}
[1404] Fix | Delete
}
[1405] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Environment', 'WPML\\Core\\Twig_Environment');
[1406] Fix | Delete
[1407] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function