Skip to content

Commit a22b832

Browse files
committed
Avoid warning installing plugin on older WP version
1 parent 55c0be9 commit a22b832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/requests.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ Feature: Requests integration with both v1 and v2
211211
"""
212212
213213
# This can throw deprecated warnings on PHP 8.1+.
214-
When I try `vendor/bin/wp plugin install duplicate-post --activate`
214+
# Also, using a specific version to avoid minimum WordPress version requirement warning.
215+
When I try `vendor/bin/wp plugin install duplicate-post --version=4.2 --activate`
215216
Then STDOUT should contain:
216217
"""
217218
Success: Installed 1 of 1 plugins.

0 commit comments

Comments
 (0)