[buddypress-trac] [BuddyPress Trac] #4990: Error message after log out

buddypress-trac noreply at wordpress.org
Sun Jun 12 19:40:57 UTC 2016

#4990: Error message after log out
 Reporter:  henrywright        |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Component - Core   |     Version:  1.7
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |

Comment (by r-a-y):

 > Why, exactly, does BuddyPress need to add the wp_shake_js function to
 the login_head hook? This is already done in wp-login.php where it

 Good question.  It's because the `'shake_error_codes'` filter runs too
 early in `wp-login.php`.  It runs before our custom error is even added:

 I haven't taken a look at your plugin, but BuddyPress is using the hooks
 made available on the WP login page.

 How do you handle `wp_shake_js()` for regular login errors like
 `empty_password` or `empty_email`?

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4990#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list