Commit 28b2f32e53 for wordpress.org
commit 28b2f32e5352cd5df854aceb73cd23feb7a8eebf
Author: SergeyBiryukov <sergeybiryukov@git.wordpress.org>
Date: Mon Sep 21 13:26:49 2026 +0000
Tests: Replace deprecated `mb_split()` with `preg_split()` in date query tests.
Oniguruma, which is the regex engine behind the `mbstring` extension, ended maintenance in April 2025. Since the PHP project can no longer expect upstream security fixes on it, all `mbstring` regex functionality is deprecated in PHP 8.6, including the `mb_ereg*()` family and `mb_split()`, with removal in PHP 9.0.
A PECL package, `mb_onig`, has been created for those who rely on this functionality, but the recommendation is to use PCRE functions with the `/u` modifier instead.
This commit replaces the only three instances of `mb_split()` in WordPress core test suite with `preg_split()`.
References:
* [https://wiki.php.net/rfc/eol-oniguruma PHP RFC: Oniguruma maintenance end and end of mbregex]
* [https://www.zend.com/blog/php-8-6#what-deprecations-come-with-php-8-6 Zend: What's New in PHP 8.6: Features, Changes, and Deprecations]
Follow-up to r54530.
Props arshidkv12, SergeyBiryukov.
Fixes #66137.
Built from https://develop.svn.wordpress.org/trunk@63768
git-svn-id: http://core.svn.wordpress.org/trunk@62940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 460931f708..b91e0e1365 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63767';
+$wp_version = '7.2-alpha-63768';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.