PluginProbe
Adminimize / 1.9.1
Adminimize v1.9.1
1.11.14 1.11.13 1.11.1 1.11.10 1.11.11 1.11.12 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.11.9 1.3 1.4.7 1.6 1.7.12 1.7.13 1.7.14 1.7.15 1.7.16 1.7.17 1.7.18 1.7.19 All 53 releases
← All changes | inc-setup/messages.php +4 -9 1.11.13 → 1.9.1 View file →
@@ -7,16 +7,11 @@
7 7 }
8 8
9 9 // Need only on admin area
10 10 if ( ! is_admin() ) {
11 - return;
11 + return NULL;
12 12 }
13 13
14 -// If is AJAX Call.
15 -if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
16 - return;
17 -}
18 -
19 14 class _mw_adminimize_message_class {
20 15
21 16 /**
22 17 * constructor
@@ -22,9 +17,9 @@
22 17 * constructor
23 18 */
24 19 public function __construct() {
25 20
26 - $this->errors = new WP_Error();
21 + $this->errors = new WP_Error();
27 22 $this->initialize_errors();
28 23 }
29 24
30 25 /**
@@ -59,12 +54,12 @@
59 54 $this->errors->add(
60 55 '_mw_adminimize_import', esc_attr__( 'All entries in the database were imported.', 'adminimize' )
61 56 );
62 57 $this->errors->add(
63 - '_mw_adminimize_uninstall', esc_attr__( 'All entries in the database were deleted.', 'adminimize' )
58 + '_mw_adminimize_deinstall', esc_attr__( 'All entries in the database were deleted.', 'adminimize' )
64 59 );
65 60 $this->errors->add(
66 - '_mw_adminimize_uninstall_yes', esc_attr__( 'Set the checkbox on deinstall-button.', 'adminimize' )
61 + '_mw_adminimize_deinstall_yes', esc_attr__( 'Set the checkbox on deinstall-button.', 'adminimize' )
67 62 );
68 63 $this->errors->add(
69 64 '_mw_adminimize_get_option', esc_attr__( 'Can\'t load menu and submenu.', 'adminimize' )
70 65 );