Making WordPress.org

Changeset 9324


Ignore:
Timestamp:
12/11/2019 02:39:45 AM (7 years ago)
Author:
dd32
Message:

Login: Direct blocked users to email the forum password reset email address for any issues.

Fixes #4885.

File:
1 edited

Legend:

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

    r9226 r9324  
    8888
    8989                                if ( ! empty( $support_user->allcaps['bbp_blocked'] ) ) {
    90                                         return new WP_Error( 'blocked_account', __( '<strong>ERROR</strong>: Your account has been disabled.', 'wporg' ) );
     90                                        return new WP_Error(
     91                                                'blocked_account',
     92                                                __( '<strong>ERROR</strong>: Your account has been disabled.', 'wporg' )  . '<br>' .
     93                                                sprintf(
     94                                                        __( 'Please contact %s for more details.', 'wporg' ),
     95                                                        '<a href="mailto:forum-password-resets@wordpress.org">forum-password-resets@wordpress.org</a>'
     96                                                )
     97                                        );
    9198                                }
    9299                        }
Note: See TracChangeset for help on using the changeset viewer.