Commit 7cf954c
committed
Fix can't set use WPCLI for immediate queue proc
Fix that the "Process Queue Immediately" option could not
have the "Using WordPress CLI" value set.
processQueueImmediately is coded so that
'0': Disabled
'1': Use WP-Cron
'2': Use WP-CLI
But because it's set as a boolean, it can't
actually have the '2' option. Change it to a
string value with those allowed_values in order
to preserve backwards-compatibility.1 parent 8a477d0 commit 7cf954c
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments