Making WordPress.org


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

Privacy: tentatively enable the export request page.

File:
1 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 (
Note: See TracChangeset for help on using the changeset viewer.