• Resolved rjacob

    (@rjacob)


    I am working on a new plugin that will have an entry on the options admin page or possibly the manage admin page. I currently already have plugins installed that have entries under these admin pages (Google Sitemap on options, and Backup on manage). When I activate my plugin it will successfully add an entry to one of these menus depending whether I use the add_option_page or add_management_page call. When I hold the cursor over my plugin link it shows …/wp-admin/options-general.php?page=crawlpage.php, but when I click the link, it executes sitemap.php. If I deactivate the Google Sitemap plugin, then click my plugin link, it will succesfully run my plugin.
    These are the add_options_page calls:
    My plugin:
    add_options_page(‘Crawl Page Generator’, ‘Crawl Page’, 8, basename(__FILE__), ‘cp_options_page’);
    Sitemaps call:
    add_options_page(‘Sitemap Generator’, ‘Sitemap’, 8, basename(__FILE__), ‘sm_options_page’);

    Is there a limitation to having only a single plugin link on an admin page without having a conflict?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rjacob

    (@rjacob)

    Anyone?

    Moderator James Huff

    (@macmanx)

    What version of WordPress are you using?

    Thread Starter rjacob

    (@rjacob)

    Version 1.5

    Moderator James Huff

    (@macmanx)

    There was a similar bug to this in v1.5. Upgrading to v1.5.2 should fix the problem (and fix several security vulnerabilities as well).

    Thread Starter rjacob

    (@rjacob)

    I’ll give it a shot, and see if it fixes the issue. Thanks!

    Thread Starter rjacob

    (@rjacob)

    I installed WP version 1.5.2, and that did seem to fix the issue! Thanks much! Now I can continue to develop my plugin without thinking I had done something wrong!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding more than one plugin to admin page?’ is closed to new replies.