Skip to content

Commit 891053a

Browse files
Add compatibility mention
1 parent b534208 commit 891053a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_posts/2016-10-25-version-0.25.0.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ author: danielbachhuber
44
title: Version 0.25.0 released
55
---
66

7+
### Compatibility with WordPress 4.7
8+
9+
WordPress 4.7 introduces a new `WP_Hook` implementation for registering and executing actions and filters. Because WP-CLI has its own `WP_CLI::add_wp_hook()` that was erroneously accessing the `$wp_filter` global even when `add_filter()` was available, WP-CLI could fatal in certain circumstances. WP-CLI now appropriately calls `add_filter()` when it's available.
10+
11+
**Importantly, due to the nature of these changes, WP-CLI versions prior to 0.25.0 will be incompatible with WordPress 4.7.**
12+
13+
Inspect the nature of the change in [this pull request](https://github.com/wp-cli/wp-cli/pull/3384).
714

815
### Everything else in 0.25.0
916

0 commit comments

Comments
 (0)