diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/class-wp-matchesmapregex.php --- a/wp/wp-includes/class-wp-matchesmapregex.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/class-wp-matchesmapregex.php Fri Sep 05 18:40:08 2025 +0200 @@ -11,6 +11,7 @@ * * @since 2.9.0 */ +#[AllowDynamicProperties] class WP_MatchesMapRegex { /** * store for matches @@ -62,8 +63,8 @@ * @return string */ public static function apply( $subject, $matches ) { - $oSelf = new WP_MatchesMapRegex( $subject, $matches ); - return $oSelf->output; + $result = new WP_MatchesMapRegex( $subject, $matches ); + return $result->output; } /**