Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 10up/restricted-site-access
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.1.0
Choose a base ref
...
head repository: 10up/restricted-site-access
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.2.0
Choose a head ref
  • 16 commits
  • 4 files changed
  • 5 contributors

Commits on Apr 12, 2018

  1. Adds a second parameter to the apply_filters call in the admin to avo…

    …id a fatal error. Fixes #31
    Ryan Welcher committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    fd50248 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2018

  1. Configuration menu
    Copy the full SHA
    adb13a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2018

  1. Configuration menu
    Copy the full SHA
    5cc6514 View commit details
    Browse the repository at this point in the history
  2. Check if on a multisite

    ptasker committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    81300a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2addcae View commit details
    Browse the repository at this point in the history
  4. Merge pull request #32 from 10up/fix/filter-param-count

    Adding second parameter to avoid fatal
    ryanwelcher authored Apr 17, 2018
    Configuration menu
    Copy the full SHA
    687f5d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2018

  1. Configuration menu
    Copy the full SHA
    9a6067f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6676418 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2018

  1. Merge pull request #34 from ptasker/develop

    Add check to see if user can access current blog
    Darin Kotter authored Apr 23, 2018
    Configuration menu
    Copy the full SHA
    8a9fed9 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. If on multisite and a user is logged in, check if they are either a s…

    …uper admin or a member of that site before we restrict access. This allows super admins access to all sites on the network, even if some are restricted and some aren't.
    Darin Kotter committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    dd00cc2 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. Do an explicit check for read permissions instead of just logged in…

    …/member state.
    
    This is an issue with multisite and `no role on site`, which does not remove the user from the site.
    
    Also adds the `restricted_site_access_user_can_access` filter as a short-circuit for restoration of old behavior or further customization of user permission checking.
    helen committed May 17, 2018
    Configuration menu
    Copy the full SHA
    5b54c22 View commit details
    Browse the repository at this point in the history
  2. Docblock refinements

    helen committed May 17, 2018
    Configuration menu
    Copy the full SHA
    c301a68 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #35 from 10up/fix/no-role-on-site

    Handle "no role for site" users in multisite. Fixes #33
    helen authored May 17, 2018
    Configuration menu
    Copy the full SHA
    8743d88 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. Configuration menu
    Copy the full SHA
    f9956d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2ee3a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f5430dd View commit details
    Browse the repository at this point in the history
Loading