Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Autoptimize compatibility with Multisite #254

Merged
merged 14 commits into from Sep 17, 2019
Merged

Add Autoptimize compatibility with Multisite #254

merged 14 commits into from Sep 17, 2019

Commits on May 16, 2019

  1. Copy the full SHA
    983d0bd View commit details
    Browse the repository at this point in the history
  2. Use a wrapper for getting and setting options.

    In my opinion this is better than adding an if/else clause for all the 
    get and update options.
    Juanfran Granados committed May 16, 2019
    Copy the full SHA
    4e0c0a4 View commit details
    Browse the repository at this point in the history
  3. Add a filter to option to check if it's autoptimize.

    Because the plugin uses register_setting for the form fields, I haven't 
    found a another hook to check if it's a multisite instance and save the 
    option in the network.
    Juanfran Granados committed May 16, 2019
    Copy the full SHA
    5f0c73b View commit details
    Browse the repository at this point in the history
  4. Cover standalone and multisite admin menus.

    Juanfran Granados committed May 16, 2019
    Copy the full SHA
    65a4bd7 View commit details
    Browse the repository at this point in the history
  5. Use a wrapper to get option (lost in previous commit).

    Juanfran Granados committed May 16, 2019
    Copy the full SHA
    8747878 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. Check if is_plugin_active_for_network exists.

    Juanfran Granados committed May 17, 2019
    Copy the full SHA
    6faa9a8 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Add option to enable site configuration in multisite settings.

    Juanfran Granados committed Jun 12, 2019
    Copy the full SHA
    db4c70a View commit details
    Browse the repository at this point in the history
  2. Remove is_multisite condition when checking if plugin is network active.

    It's already checked inside is_plugin_active_for_network function.
    Juanfran Granados committed Jun 12, 2019
    Copy the full SHA
    08cac46 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. Show AO configuration page in sites if the global opt is on.

    Juanfran Granados committed Sep 16, 2019
    Copy the full SHA
    afb9429 View commit details
    Browse the repository at this point in the history
  2. Only show enable site configuration in network site option.

    Juanfran Granados committed Sep 16, 2019
    Copy the full SHA
    4056660 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8147a3d View commit details
    Browse the repository at this point in the history
  4. Load options from network if per site config is not on.

    Juanfran Granados committed Sep 16, 2019
    Copy the full SHA
    deb2066 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

  1. Copy the full SHA
    8951e5d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    503e622 View commit details
    Browse the repository at this point in the history