PluginProbe
MaxButtons – Create buttons / 6.28
MaxButtons – Create buttons v6.28
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
← All changes | includes/maxbuttons-controller.php +5 -8 7.06.28 View file →
@@ -2,24 +2,21 @@
2 2 namespace MaxButtons;
3 3 defined('ABSPATH') or die('No direct access permitted');
4 4
5 5 if (isset($_GET['action']) && $_GET['action'] != '') {
6 - // extra safety.
7 - $action = sanitize_text_field($_GET['action']);
8 -
6 + // extra safety.
7 + $action = sanitize_text_field($_GET['action']);
8 +
9 9 switch ($action) {
10 10 case 'button':
11 - case 'edit':
11 + case 'edit':
12 12 include_once 'maxbuttons-button.php';
13 13 break;
14 - case 'test':
15 - include_once 'maxbuttons-fa-test.php';
16 - break;
17 14 default:
18 15 include_once 'maxbuttons-list.php';
19 16 break;
20 -
21 17 }
22 18
23 19 } else {
24 20 include_once 'maxbuttons-list.php';
25 21 }
22 +