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/Button.php +3 -1 3.1.03.2.1 View file →
@@ -34,9 +34,11 @@
34 34 // Callback (not a replacement string) so user text containing
35 35 // $1 / \1 / $0 is spliced literally, not parsed as a backref.
36 36 $newInner = preg_replace_callback(
37 37 '/(<a\b[^>]*>)(.*?)(<\/a>)/is',
38 - static fn ($m) => $m[1] . $escaped . $m[3],
38 + static function ($m) use ($escaped) {
39 + return $m[1] . $escaped . $m[3];
40 + },
39 41 $existing,
40 42 1
41 43 );
42 44 $block['innerHTML'] = $newInner ?: $existing;