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/Paragraph.php +3 -1 3.1.33.2.1 View file →
@@ -41,9 +41,11 @@
41 41 // Callback (not a replacement string) so user text containing
42 42 // $1 / \1 / $0 is spliced literally, not parsed as a backref.
43 43 $newInner = preg_replace_callback(
44 44 '/(<p\b[^>]*>)(.*?)(<\/p>)/is',
45 - static fn ($m) => $m[1] . $escaped . $m[3],
45 + static function ($m) use ($escaped) {
46 + return $m[1] . $escaped . $m[3];
47 + },
46 48 $existing,
47 49 1
48 50 );
49 51 } else {