WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Admin Bar
Problem with WP 3 (10 posts)

  1. LJatRAR
    Member
    Posted 3 years ago #

    I've been using the plugin for years, and I am just encountering an issue with any blogs I've updated to WP3.

    I have the plugin set to show on both the site and the admin area. However, when I click Appearance > Editor from the site, I get the following error message:

    Cannot load theme-editor.php.

    This doesn't happen when I do the same in the admin area.

    All things are the same as they have been for ages, with the exception of the upgrade to WP3.

    Any suggestions?
    TIA

    http://wordpress.org/extend/plugins/wordpress-admin-bar/

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    Looks like it's a bug on my end. I'll take a look.

  3. lucasm
    Member
    Posted 3 years ago #

    Any updates on this? I get the same error.

  4. lucasm
    Member
    Posted 3 years ago #

    To expand on this - it seems the 'Editor' link in the Admin bar doesn't work </wp-admin/themes.php?page=theme-editor.php>

    However this does </wp-admin/theme-editor.php> (Link from the admin area)

    I'm hoping just a change in a line of code would fix this but I'm not sure where to fix this.

    Also some other things not working from Plug-in links in the Pages tab (CMS Page Tree, Page tree)

    Any help would be greatly appreciated.

  5. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    Fixed in v3.1.11.

    It's because the theme editor menu item is added using the API which makes my plugin think it should be a ?page=. I added a manual exclusion for the theme editor (ugly, but it works).

    I probably need to redo a lot of this plugin, but I have higher priority things that I need to work on.

  6. LJatRAR
    Member
    Posted 3 years ago #

    Yay!

    Just downloaded the update, so I wanted to come back and say thanks for fixing this. It was slowly making me crazy. :)

  7. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    Sorry it took so long. :)

  8. lucasm
    Member
    Posted 3 years ago #

    Hi there,

    Thank you for the update; unfortunately I found another bug :P

    Some of my plugins aren't working from the admin bar under Pages (CMS Tree Page View and Page tree)

    The link seems to be wrong

    Broken link: wp-admin/edit.php?post_type=page?page=page-tree/wppagetree.php

    Correct link: wp-admin/edit.php?post_type=page&page=page-tree/wppagetree.php

    So there seems to be a ? where there should be an &.

  9. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    Fixed in v3.1.12. Thanks. :)

  10. lucasm
    Member
    Posted 3 years ago #

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic