Title: Problems after WP update
Last modified: November 17, 2017

---

# Problems after WP update

 *  Resolved [Juanma Evaristo](https://wordpress.org/support/users/juaevpa/)
 * (@juaevpa)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/)
 * Hi there!
 * I love your plugin, I use it because it’s really helpful, great job!
    But after
   update WP I have some problems with it: some options of the admin menu were hidden
   for users and now they can see them. I have reviewed the plugin setup and these
   options are hidden for regular users.. but it doesn’t work because they can access
   to them (and see them in the admin menu).
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-after-wp-update%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/problems-after-wp-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-after-wp-update/page/2/?output_format=md)

 *  [nuclearape](https://wordpress.org/support/users/nuclearape/)
 * (@nuclearape)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9693358)
 * I’m having the same issue 🙁
 *  [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9693475)
 * Same here, we also reorder some menu items and this does not work either.
 * It appears with Adminimize enabled I am not getting any output with this filter:
 *     ```
       add_filter( 'menu_order', 'filter_menu_order', 10, 1 ); 
       ```
   
 *  [ronsrace](https://wordpress.org/support/users/ronsrace/)
 * (@ronsrace)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9693657)
 * same here
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9694051)
 * Thanks for your feedback. Have you tried to update the settings, so that Adminimize
   reload the menu from the installation?
 * [@pthpndr](https://wordpress.org/support/users/pthpndr/) How you reorder the 
   menu item, a custom function about the filter `menu_order`? Can you share this
   source for testing?
 * [@all](https://wordpress.org/support/users/all/) Maybe you can try a test for
   me. Change the hook name in this line [https://github.com/bueltge/Adminimize/blob/master/adminimize.php#L427](https://github.com/bueltge/Adminimize/blob/master/adminimize.php#L427)
 *     ```
           // Change menu via settings of Adminimize.
           add_action( 'custom_menu_order', '_mw_adminimize_set_menu_option', 99999 );
       ```
   
 * to `admin_menu`
 *     ```
           add_action( 'admin_menu', '_mw_adminimize_set_menu_option', 99999 );
       ```
   
 * Thanks for this test and your feedback.
    -  This reply was modified 8 years, 6 months ago by [Frank Bueltge](https://wordpress.org/support/users/bueltge/).
    -  This reply was modified 8 years, 6 months ago by [Frank Bueltge](https://wordpress.org/support/users/bueltge/).
    -  This reply was modified 8 years, 6 months ago by [Frank Bueltge](https://wordpress.org/support/users/bueltge/).
    -  This reply was modified 8 years, 6 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9694233)
 * [@frank](https://wordpress.org/support/users/frank/)
 * This is the function we use to reorder the menu:
 *     ```
       add_filter( 'custom_menu_order', 'reorder_admin_menu' );
       add_filter( 'menu_order', 'reorder_admin_menu' );
   
       function reorder_admin_menu( $__return_true ) {
   
       	return array(
       		'index.php', // Dashboard
       		'separator2', // --Space--
       		'woocommerce', // WooCommerce
       		'edit.php?post_type=product', // Products
       		'separator1', // --Space--
       		'edit.php?post_type=tribe_events', // Events
       		'edit.php?post_type=wc_booking', // Bookings
       		'upload.php', // Media
       		'edit.php?post_type=page', // Pages
       		'edit.php', // Posts
   
       	);
       }
       ```
   
 * However, for a quick test all I did was try to output the menu:
 *     ```
       add_filter( 'menu_order', 'filter_menu_order', 10, 1 ); 
   
       function filter_menu_order( $menu_order ) {
   
       	echo var_dump($menu_order);
   
       }
       ```
   
 * With Adminimize enabled it did not echo the menu_order. When I disabled Adminimize
   it worked as expected.
 *  Thread Starter [Juanma Evaristo](https://wordpress.org/support/users/juaevpa/)
 * (@juaevpa)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9694304)
 * Hi,
 * yes I tried to update the settings, the first thing that I did 🙂 .. but it doesn’t
   work.
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9695021)
 * [@pthpndr](https://wordpress.org/support/users/pthpndr/) Why you run this function
   about two hooks, not only the `custom_menu_order` hook?
 * Can you try to change in the adminimize.php, in the plugin folder to change the
   hook in [https://github.com/bueltge/Adminimize/blob/master/adminimize.php#L427](https://github.com/bueltge/Adminimize/blob/master/adminimize.php#L427)
   to `admin_menu`?
 * However you can output the menu topics, if you use the options of Adminimize 
   to debug. After this option Adminimize push all data about the menu inside the
   console of the browser.
    -  This reply was modified 8 years, 6 months ago by [Frank Bueltge](https://wordpress.org/support/users/bueltge/).
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9695101)
 * I have change small thinks, can you try this release from the development repository
   [https://github.com/bueltge/Adminimize](https://github.com/bueltge/Adminimize)
   
   Overwrite your current plugin and test it – thanks!
 *  [PthPndr](https://wordpress.org/support/users/pthpndr/)
 * (@pthpndr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9695196)
 * [@bueltge](https://wordpress.org/support/users/bueltge/),
 * The dev release appears to be working for me.
 * Whatever you did fixed both menu issues and a custom WooCommerce placeholder 
   image problem that appeared at the same time.
 * Thanks for your help.
 *  [azrtist](https://wordpress.org/support/users/azrtist/)
 * (@azrtist)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9695662)
 * I’m also having the same problem and keep getting different results, when I hide
   the Plugins option on the admin, other items I want hidden become visible and
   do not show up in the Adminimize Settings > Menu Options section. And then sometimes
   the Plugins option isn’t visible in the Adminimize settings. It goes back and
   forth. Very frustrating.
 *  [azrtist](https://wordpress.org/support/users/azrtist/)
 * (@azrtist)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9695667)
 * Also, the Adminimize Settings page is not ignoring the Menu Options items and
   is not showing all of my admin options.
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9696572)
 * [@azrtist](https://wordpress.org/support/users/azrtist/) Have you try the dev
   version form my last comment?
 *  [azrtist](https://wordpress.org/support/users/azrtist/)
 * (@azrtist)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9703140)
 * Ah, thank you Frank. The dev version solved it!
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9710336)
 * Thanks for trying and feedback.
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/#post-9714448)
 * As hint, now a small page for users there use a custom menu order and Adminimize.
   
   [https://github.com/bueltge/Adminimize/wiki/Custom-Menu-Order](https://github.com/bueltge/Adminimize/wiki/Custom-Menu-Order)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/problems-after-wp-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-after-wp-update/page/2/?output_format=md)

The topic ‘Problems after WP update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/adminimize_000000.svg)
 * [Adminimize](https://wordpress.org/plugins/adminimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adminimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adminimize/)
 * [Active Topics](https://wordpress.org/support/plugin/adminimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adminimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adminimize/reviews/)

## Tags

 * [blank-page](https://wordpress.org/support/topic-tag/blank-page/)

 * 22 replies
 * 7 participants
 * Last reply from: [Friiitz](https://wordpress.org/support/users/friiitz/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/problems-after-wp-update/page/2/#post-9776561)
 * Status: resolved