Changes between Initial Version and Version 1 of Ticket #50413, comment 35
- Timestamp:
- 07/21/2020 07:08:42 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50413, comment 35
initial v1 5 5 * Previous to WordPress 5.5, it would return results 6 6 * Currently, it returns `false`, and also results in an extra database query as a cache miss 7 8 This ultimately means that plugins using the old key are led to believe there are no blocked words, causing them to unintentionally allow the undesirable words through. 7 9 8 10 Added to this, the Options API does not have a clever way to announce to plugins that an option key is deprecated (like `_deprecated_option()` or something). To support the new key, plugins using `blacklist_keys` need to do a hard version check, using `is_wp_version_compatible()` or equivalent.