PluginProbe
Extendify / 3.2.1
Extendify v3.2.1
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | app/QuickEdit/Schemas/Heading.php +3 -1 3.1.23.2.1 View file →
@@ -42,9 +42,11 @@
42 42 // Callback (not a replacement string) so user text containing
43 43 // $1 / \1 / $0 is spliced literally, not parsed as a backref.
44 44 $newInner = preg_replace_callback(
45 45 '/(<' . $tag . '\b[^>]*>)(.*?)(<\/' . $tag . '>)/is',
46 - static fn ($parts) => $parts[1] . $escaped . $parts[3],
46 + static function ($parts) use ($escaped) {
47 + return $parts[1] . $escaped . $parts[3];
48 + },
47 49 $existing,
48 50 1
49 51 );
50 52 } else {