You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/plugin-list-wporg-status.feature
+56-5Lines changed: 56 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,61 @@ Feature: Check the status of plugins on WordPress.org
13
13
* Version: 2.0.2
14
14
*/
15
15
"""
16
+
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=wordpress-importer will respond with:
17
+
"""
18
+
HTTP/1.1 200
19
+
Content-Type: application/json
20
+
21
+
{
22
+
"name": "WordPress Importer",
23
+
"slug": "wordpress-importer",
24
+
"last_updated": "2025-09-26 9:07pm GMT"
25
+
}
26
+
"""
27
+
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=no-longer-in-directory will respond with:
28
+
"""
29
+
HTTP/1.1 200
30
+
Content-Type: application/json
16
31
17
-
When I run `wp plugin list --name=wordpress-importer --field=wporg_last_updated`
18
-
Then STDOUT should not be empty
19
-
And save STDOUT as {COMMIT_DATE}
32
+
{
33
+
error: "closed",
34
+
name: "No Longer in Directory",
35
+
slug: "no-longer-in-directory",
36
+
description: "This plugin has been closed as of October 2, 2018 and is not available for download. This closure is permanent. Reason: Guideline Violation.",
37
+
closed: true,
38
+
closed_date: "2018-10-02",
39
+
reason: "guideline-violation",
40
+
reason_text: "Guideline Violation"
41
+
}
42
+
"""
43
+
And that HTTP requests to https://plugins.trac.wordpress.org/log/wordpress-importer/?limit=1&mode=stop_on_copy&format=rss will respond with:
0 commit comments