Dashboard Commander
[resolved] Warning on de-activation (5 posts)

  1. marikamitsos
    Posted 5 years ago #

    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.

    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


  2. Josh Hartman
    Plugin Author

    Posted 5 years ago #

    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.

  3. Josh Hartman
    Plugin Author

    Posted 5 years ago #

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

  4. marikamitsos
    Posted 5 years ago #

    @ 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?

  5. Josh Hartman
    Plugin Author

    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Dashboard Commander
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic