Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins menu position problem #2

Open
srdjanpejic opened this issue Sep 7, 2013 · 3 comments
Open

Plugins menu position problem #2

srdjanpejic opened this issue Sep 7, 2013 · 3 comments

Comments

@srdjanpejic
Copy link

This plugin has a conflict with oslcass 3.2.1 because jumps plugins menu to the top of admin sidebar. I figured out that this plugin is problem when I have disabled sitemap, everything is ok

@srdjanpejic
Copy link
Author

I have solved this problem

function add_to_plugins_menu() {
        osc_add_admin_menu_page( 'Sitemap Plugin', osc_admin_render_plugin_url('sitemap_plugin/admin.php'), 'sitemap_plugin_submenu');
    }

osc_add_hook('add_to_plugins_menu', 'admin_menu');

@brenosilver
Copy link

That did not work for me. On the other hand, this worked:

function add_to_plugins_menu() {
    osc_add_admin_submenu_page('plugins', 'Sitemap Plugin', osc_admin_render_plugin_url('sitemap_plugin/admin.php'), 'sitemap_plugin_submenu', 'administrator' );
}

osc_add_hook('admin_menu_init', 'add_to_plugins_menu');

@isohut
Copy link

isohut commented Oct 22, 2015

Didn't fix it here :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants