Commit 351a2ec
committed
Require wp 4.0 for plugins update test
The plugins update-check api doesn't actually work with older versions
of WordPress, for two reasons:
The first is that the no_updates field wasn't added til 4.0 The second
is that the request that WP itself makes to the plugins update API is
missing &all=true which causes the API to always return an empty
response in my testing.
Both of these were added in 4.0 here:
WordPress/wordpress-develop@b00097b1 parent a4021e2 commit 351a2ec
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| 814 | + | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
| |||
857 | 858 | | |
858 | 859 | | |
859 | 860 | | |
| 861 | + | |
860 | 862 | | |
861 | 863 | | |
862 | 864 | | |
| |||
0 commit comments