WordPress.org

Support

Support » Plugins and Hacks » Dashboard Commander » [Resolved] [Plugin: Dashboard Commander] Warning on de-activation

[Resolved] [Plugin: Dashboard Commander] Warning on de-activation

  • Hi,
    I’ve tried your plugin (Dashboard commander v1.0.1) on a test multisite (wordpress 3.1) of mine with no problems during and after activation.

    BUT,
    when I DE-activate it I get the following error:

    Warning: Missing argument 2 for unregister_setting(), called in …/wp-content/plugins/dashboard-commander/dashboard-commander.php on line 84 and defined in …/wp-admin/includes/plugin.php on line 1624

    The settings I used while activated are:

    Recent Comments –> edit_others_posts
    Incoming Links –> edit_others_posts
    QuickPress –> edit_others_posts
    Recent Drafts –> edit_others_posts
    and the rest on –> Nobody

    Please advise. Thank you in advance

    http://wordpress.org/extend/plugins/dashboard-commander/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Hartman

    @joshhartman

    Yes, i see that now, i must have missed it during testing because it just flashes up there and then the plugins page loads. Looks like i can just remove that unregister_settings() line, it is orphaned code.

    Plugin Author Josh Hartman

    @joshhartman

    I’ve released v1.0.2, this will resolve the warning on deactivation. Thanks for using Dashboard Commander!

    @ joshhartman

    Excellent. Everything works fine now. Thank you.

    On a different issue though.
    Can your plugin pick up widgets that are placed by other plugins? Like yoast feed?

    Plugin Author Josh Hartman

    @joshhartman

    You’ll have to test it with any specific plugins, but yes it is designed to detect any widgets that are added using the WordPress API methods. If a plugin uses a non-standard method of adding widgets then it probably won’t find them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Dashboard Commander] Warning on de-activation’ is closed to new replies.
Skip to toolbar