Skip to content

Commit 6fb1587

Browse files
authored
Merge pull request #89 from PHPCompatibility/feature/update-doc
Ruleset: annotate when certain polyfills were removed
2 parents b423e71 + 8a54226 commit 6fb1587

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PHPCompatibilityWP/ruleset.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
Contained in /wp-includes/compat.php.
2121
2222
History of the polyfills in WP:
23-
* hash_hmac(): since WP 3.2.0.
24-
* json_encode() and json_decode(): since unknown.
25-
* hash_equals(): since WP 3.9.2.
26-
* JSON_PRETTY_PRINT: since WP 4.1.0.
27-
* json_last_error_msg(): since WP 4.4.0.
28-
* JsonSerializable: since WP 4.4.0.
23+
* hash_hmac(): since WP 3.2.0 and removed since WP 6.8.0.
24+
* json_encode() and json_decode(): since unknown and removed since WP 5.3.0.
25+
* hash_equals(): since WP 3.9.2 and removed since WP 6.8.0.
26+
* JSON_PRETTY_PRINT: since WP 4.1.0 and removed since WP 5.3.0.
27+
* json_last_error_msg(): since WP 4.4.0 and removed since WP 5.3.0.
28+
* JsonSerializable: since WP 4.4.0 and removed since WP 5.3.0.
2929
* array_replace_recursive(): since WP 4.5.3 up to 5.2.x. The polyfill was removed in WP 5.3.
30-
* is_iterable(): since WP 4.9.6
30+
* is_iterable(): since WP 4.9.6 and removed since WP 6.6.0.
3131
* is_countable(): since WP 4.9.6
32-
* IMAGETYPE_WEBP and IMG_WEBP: since WP 5.8.0.
32+
* IMAGETYPE_WEBP and IMG_WEBP: since WP 5.8.0 and removed since WP 6.6.0.
3333
* array_key_first(): since WP 5.9.0
3434
* array_key_last(): since WP 5.9.0
3535
* str_contains(): since WP 5.9.0

0 commit comments

Comments
 (0)