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
Also, when you do not select any items in the list, and select a Bulk action an run it, you will get a PHP warning back that the array is not an array.
To reproduce:
'actions_bulk' => array(
'assign_region' => array('label' => 'Assign to region', 'callback' => 'actions_bulk_assign_region'),
'delete' => array('label' => 'Delete customers')
),
Bug 1: In the WP Admin try to use the 'Assign to region' button twice for some items. The second time there will be a bad GET request: Look here:
http://www.domain.com/voorbeeld/wp-admin/admin.php?page=customers&page=customers&action_bulk=assign_region&action_bulk_ids=Array&search=&action_bulk=assign_region&action_bulk_ids%5B%5D=1
Look at action_bulk_ids there twice. One time with Array as a paramater.
Bug 2: When using a callback, as I do: 'actions_bulk_assign_region'. Then the callback gets never fired.
The text was updated successfully, but these errors were encountered: