Making WordPress.org

Changeset 8985


Ignore:
Timestamp:
06/21/2019 07:26:03 AM (6 years ago)
Author:
tellyworth
Message:

Privacy: tentatively enable the export request page.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/privacy-functions.php

    r7350 r8985  
    3434    $email_user      = get_user_by( 'email', $email );
    3535
    36     // Currently only enabled for special accounts.
    37     if ( 'export' === $type && ( ! is_user_logged_in() || ! function_exists( 'wporg_user_has_restricted_password' ) || ! wporg_user_has_restricted_password() ) ) {
    38         $error_message = 'This form is currently unavailable.';
    39     } elseif ( ! reCAPTCHA\check_status() ) {
     36    if ( ! reCAPTCHA\check_status() ) {
    4037        $error_message = esc_html__( 'Your form session has expired. Please try again.', 'wporg' );
    4138    } elseif (
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-privacy-data-export-request.php

    r7351 r8985  
    7171            <div class="entry-content row">
    7272                <section class="col-8">
    73                     <p><em>This page is under active development and is not currently enabled. All text is not final and will change.</em></p>
    74 
    7573                    <p><?php esc_html_e( 'WordPress.org respects your privacy and intends to remain transparent about any personal data we store about individuals. Under the General Data Protection Regulation (GDPR), EU citizens and residents are entitled to receive a copy of any personal data we might hold about you.', 'wporg' ); ?></p>
    7674
     
    8785                        <p><?php esc_html_e( 'Please check your email for a confirmation link, and follow the instructions to authenticate your request.', 'wporg' ); ?></p>
    8886                    </div>
    89                     <?php endif; ?>
    90 
    91                     <div class="notice notice-error notice-alt">
    92                         <p>This is currently disabled unless you have a 'special' WordPress.org account.</p>
    93                     </div>
    94                     <?php if ( is_user_logged_in() && function_exists( 'wporg_user_has_restricted_password' ) && wporg_user_has_restricted_password() ) : ?>
    95                         <div class="notice notice-info notice-alt"><p>PS: You have a special account.</p></div>
    9687                    <?php endif; ?>
    9788
Note: See TracChangeset for help on using the changeset viewer.