PluginProbe
Webling / 3.0
Webling v3.0
trunk 2.0 3.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.3.0 3.4.0 3.4.1 3.5.0 3.6.0 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.9.0 3.9.1 3.9.2
webling / src / admin / actions / bulk_actions.php

bulk_actions.php in Webling 3.0, at src/admin/actions/bulk_actions.php

22 lines 650 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function webling_bulk_actions()
4 {
5 // f*** yeah, is this really the way to go, WP?
6 if (isset($_POST['action']) || isset($_POST['action2'])) {
7 if ((isset($_POST['action']) && $_POST['action'] == 'webling_form_bulk_delete')
8 || (isset($_POST['action2']) && $_POST['action2'] == 'webling_form_bulk_delete')
9 ) {
10 $forms = new Form_List();
11 $forms->process_bulk_action();
12 }
13
14 if ((isset($_POST['action']) && $_POST['action'] == 'webling_list_bulk_delete')
15 || (isset($_POST['action2']) && $_POST['action2'] == 'webling_list_bulk_delete')
16 ) {
17 $memberlist = new Memberlist_List();
18 $memberlist->process_bulk_action();
19 }
20 }
21 }
22