Fix non-required argument

This commit is contained in:
Cooper Dalrymple
2026-06-11 13:40:08 -05:00
parent 1cae0e1310
commit 5c4d471fc0
+1 -1
View File
@@ -109,7 +109,7 @@ final class CLI {
* @when after_wp_load
*/
public function form(array $args, array $assoc_args):void {
list($locations) = $args;
$locations = !empty($args) ? (array) array_values($args)[0] : [];
$all = $assoc_args['all'] ?? false;
$disable = $assoc_args['disable'] ?? false;