diff --git a/includes/formatting.php b/includes/formatting.php index 313311cd01..ca8ebddd02 100644 --- a/includes/formatting.php +++ b/includes/formatting.php @@ -735,7 +735,7 @@ function give_get_cache_key($action, $query_args) * Clean variables using sanitize_text_field. Arrays are cleaned recursively. * Non-scalar values are ignored. * - * @unreleased Don't unserialize data by default and return an empty string when data is serialized and $allow_serialized_data is false + * @since 3.19.3 Don't unserialize data by default and return an empty string when data is serialized and $allow_serialized_data is false * @since 3.17.2 Safe unserialize data by default * @since 1.8 * diff --git a/src/Helpers/Utils.php b/src/Helpers/Utils.php index 196a3e3efc..15412d474a 100644 --- a/src/Helpers/Utils.php +++ b/src/Helpers/Utils.php @@ -132,7 +132,7 @@ public static function removeBackslashes($data) /** * The regular expression attempts to capture the basic structure of all data types that can be serialized by PHP. * - * @unreleased Support all types of serialized data instead of only objects and arrays + * @since 3.19.3 Support all types of serialized data instead of only objects and arrays * @since 3.17.2 */ public static function containsSerializedDataRegex($data): bool diff --git a/tests/Unit/Helpers/UtilsTest.php b/tests/Unit/Helpers/UtilsTest.php index 78759aa7ce..68277d1ba5 100644 --- a/tests/Unit/Helpers/UtilsTest.php +++ b/tests/Unit/Helpers/UtilsTest.php @@ -82,7 +82,7 @@ public function testMaybeSafeUnserialize($data, bool $expected) } /** - * @unreleased Test all types of serialized data + * @since 3.19.3 Test all types of serialized data * @since 3.17.2 */ public function serializedDataProvider(): array