Skip to content

MultiSite - Scoping Dismissal to Blog or Site #37

Description

@woodwardmatt

Hey guys, just checking out your plugin for persistent, dismissable admin notices. I spotted that your using "get_site_option" and "update_site_option" which will indeed cover both standalone and multisite implementation of WordPress. However, if on a Multisite install you want to scope the dismissal to each blog, not the site as a whole using those functions will prevent that use case.

Was thinking maybe an additional argument / option for scope e.g. "site" / "blog" which could be used to conditionally call the required option functions. (Noting that this would also require extending the jquery routine to pop the scope also.)

Any appetite for that change?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions