PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.2.4
Adminify – White Label, Admin Menu Editor, Login Customizer v4.2.4
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
← All changes | Inc/Admin/Frames/Admin.php +2 -8 4.2.24 → 4.2.4 View file →
@@ -70,9 +70,9 @@
70 70 wp_enqueue_script('frame-adminify--admin', PXLBSADMINIFY_ASSETS . 'admin/js/frame' . Utils::assets_ext('.js'), ['jquery', 'react'], PXLBSADMINIFY_VER, true);
71 71
72 72 $localize_array_data = [
73 73 'ajax_url' => admin_url('admin-ajax.php'),
74 - 'security_nonce' => wp_create_nonce('pxlbsadminify_frame_nonce')
74 + 'security_nonce' => wp_create_nonce('adminify_nonce')
75 75 ];
76 76
77 77 wp_localize_script( 'frame-adminify--admin', 'PXLBSADMINIFY_FRAME', $localize_array_data );
78 78 wp_localize_script( 'frame-adminify--admin', 'PXLBSADMINIFY_FRAME_NOT_ALLOWED_URLS', self::get_not_allowed_urls() );
@@ -183,14 +183,8 @@
183 183 * @return void
184 184 */
185 185 public function load_template()
186 186 {
187 - // async-upload.php & friends fire admin_init but answer with a raw payload,
188 - // so the frame markup would be read as part of the response.
189 - if ( ! Utils::is_admin_page_request() ) {
190 - return;
191 - }
192 -
193 187 Utils::load_template('Templates.php');
194 188 }
195 189
196 190 public function capture_wp_menu($parent_file)
@@ -272,9 +266,9 @@
272 266 $admin_bar_menu_data = [];
273 267
274 268 // Admin Bar Exits
275 269 if ( Utils::is_plugin_active('admin-bar/admin-bar.php') ) {
276 - $admin_bar_items = get_option('_jltadminbar_settings');
270 + $admin_bar_items = get_option('pxlbsadminify_adminbar_settings');
277 271
278 272 // Only build the customized admin bar when settings exist.
279 273 // Otherwise fall through so the default admin bar data is still
280 274 // printed and `adminify_admin_bar_data` is always defined.