[buddypress-trac] [BuddyPress Trac] #6535: Entering an invalid username when composing a message shows generic error
    buddypress-trac 
    noreply at wordpress.org
       
    Mon Oct 19 19:47:02 UTC 2015
    
    
  
#6535: Entering an invalid username when composing a message shows generic error
-----------------------------------+---------------------
 Reporter:  r-a-y                  |       Owner:  r-a-y
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:  2.4
Component:  Component - Messaging  |     Version:  1.0
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch commit       |
-----------------------------------+---------------------
Changes (by r-a-y):
 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed
Comment:
 In [changeset:"10286"]:
 {{{
 #!CommitTicketReference repository="" revision="10286"
 Messages: Return context-appropriate error messages for
 `messages_new_message()`.
 This commit introduces the `error_type` parameter in the
 `messages_new_message()` function, which allows for us to return
 descriptive error messages to the user when `'error_type'` is set to
 `'wp_error'`.
 This most notably addresses an issue when entering an invalid username
 when composing a new private message.
 Commit also includes a unit test.
 Fixes #6535.
 }}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6535#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list