mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
In #6535, we added an `'error_type'` parameter in `messages_new_message()` that supports returning a WP Error object if error type is set to `'wp_error'`. However, we did not return a WP error further down in the `messages_new_message()` function, which can result in a potential fatal error to occur. This commit rectifies this and includes a unit test. Anti-props r-a-y. Fixes #6894 (2.4-branch). git-svn-id: https://buddypress.svn.wordpress.org/branches/2.4@10586 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| activity | ||
| admin | ||
| blogs | ||
| core | ||
| friends | ||
| groups | ||
| members | ||
| messages | ||
| notifications | ||
| routing | ||
| settings | ||
| xprofile | ||