WordPress.org

Ready to get started?Download WordPress

Forums

Restrict Multisite Widgets
[resolved] Works but doesn't list all widgets (6 posts)

  1. thomasdk81
    Member
    Posted 3 years ago #

    Hi,

    Great and useful plugin.
    Its lists all the default widgets and 2 of my plugins widgets.

    Events Manager and Nextgen Gallerys widgets are in the list.
    All the other custom widgets aren't in the list.

    http://wordpress.org/extend/plugins/restrict-multisite-widgets/

  2. Adam Harley
    Member
    Posted 3 years ago #

    Hi,

    Could you provide me with one of the plugins generating a widget that doesn't display and I'll look into it?

    I also just realised because of the way WordPress handles plugins, the plugin won't be able to see or control widgets created by plugins not active on the main site.

  3. thomasdk81
    Member
    Posted 3 years ago #

    Sorry for the late response.

    The plugins I am misssing is network activated and active on the main site.

    The plugins are:
    http://wordpress.org/extend/plugins/statpress-reloaded/
    http://wordpress.org/extend/plugins/multisite-recent-posts-widget/
    http://wordpress.org/extend/plugins/g-lock-double-opt-in-manager/

    And some of my own widgets

  4. Adam Harley
    Member
    Posted 3 years ago #

    I've traced the issue back to a method of registering single instance widgets and coded up a workaround. If you could test it out and let me know if there are still any issues, it would be much appreciated.

    http://downloads.wordpress.org/plugin/restrict-multisite-widgets.zip

  5. thomasdk81
    Member
    Posted 3 years ago #

    Thank you :)

    It works with all widgets now. (all my widgets)

    The single instance widgets doesn't have a description, but that isn't really an issue.

  6. Adam Harley
    Member
    Posted 3 years ago #

    Don't think single instance widgets actually provide a description, or at least didn't appear to. Thanks for testing, I'm going to push it live now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic