WordPress.org

Making WordPress.org

Changeset 10905


Ignore:
Timestamp:
04/14/2021 06:50:34 AM (8 months ago)
Author:
dd32
Message:

Login: Enable the "Do you still agree to the Privacy policy" interstitial for super admins for now.

See #5618.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/wporg-sso/wp-plugin.php

    r10903 r10905  
    629629        protected function has_agreed_to_tos( $user_id ) {
    630630            // TEMPORARY: Limit to supes.
    631             if ( ! is_super_admin() ) {
     631            if ( ! is_super_admin( $user_id ) ) {
    632632                return true;
    633633            }
Note: See TracChangeset for help on using the changeset viewer.