BP_Members_Admin::signups_display_errors()
Display any activation errors.
Description Description
Source Source
File: bp-members/classes/class-bp-members-admin.php
public function signups_display_errors() { // Look for sign-up errors. $errors = get_transient( '_bp_admin_signups_errors' ); // Bail if no activation errors. if ( empty( $errors ) ) { return; } // Loop through errors and display them. foreach ( $errors as $error ) : ?> <li><?php echo esc_html( $error[0] );?>: <?php echo esc_html( $error[1] );?></li> <?php endforeach; // Delete the redirect transient. delete_transient( '_bp_admin_signups_errors' ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |