Skip to content

Commit

Permalink
chore: update since tags to 3.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed Dec 24, 2024
1 parent 29eaaf5 commit 0b4af63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/formatting.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Helpers/UtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b4af63

Please sign in to comment.