Recommended quick fix which should straighten out the menu being in a bit of an awkward spot. I would expect the next release will make better corrections. We are also using: add_filter(‘admin_notices’ on line: 129 of the file: “wp_wp_ozh_adminmenu.php” as the hook. The previous hook is apparently depreciated, I wasn’t aware of this either.
The hooks in their entirety should look like this:
if ( is_admin() ){
global $wp_ozh_adminmenu;
require_once(dirname(__FILE__).'/inc/core.php');
add_action('admin_init', 'wp_ozh_adminmenu_init', -1000); // Init plugin defaults or read options
add_action('admin_menu', 'wp_ozh_adminmenu_add_page', -999); // Add option page
add_action('admin_head', 'wp_ozh_adminmenu_head', 999); // Insert CSS & JS in <head>
add_action('in_admin_footer', 'wp_ozh_adminmenu_footer'); // Add unobstrusive credits in footer
add_filter('plugin_action_links_'.plugin_basename(__FILE__), 'wp_ozh_adminmenu_plugin_actions', -10); // Add Config link to plugin list
add_filter('ozh_adminmenu_icon_ozh_admin_menu', 'wp_ozh_adminmenu_customicon'); // This plugin will have its own icon of course
add_filter('admin_notices', 'wp_ozh_adminmenu', -9999); // Add the new admin menu right after the header area. Make sure we're first.
}
After the hook has been changed do the following:
1. Open file “inc/adminmenu.css”
2. Change the following CSS styles:
#ozhmenu_wrap {
z-index: 43000;
overflow: hidden;
width: 100%;
clear: both;
position: relative; /* NEW */
top: -23px; /* NEW */
}
3. Add the following CSS style:
#screen-meta-links {
position: relative;
top: 25px;
}