Changeset 841
- Timestamp:
- 09/08/2014 08:50:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-disallow-password-reset.php
r756 r841 7 7 add_filter( 'allow_password_reset', '__return_false' ); 8 8 add_filter( 'show_password_fields', '__return_false' ); 9 10 /** 11 * Redirect users to WordPress.org to reset their passwords. 12 * 13 * Otherwise, there's nothing to indicate where they can reset it. 14 */ 15 function wcorg_reset_passwords_at_wporg() { 16 wp_redirect( 'https://wordpress.org/support/bb-login.php' ); 17 die(); 18 } 19 add_action( 'login_form_lostpassword', 'wcorg_reset_passwords_at_wporg' );
Note: See TracChangeset
for help on using the changeset viewer.