[buddypress-trac] [BuddyPress Trac] #9175: Unable to send "0" in messages through REST API

buddypress-trac noreply at wordpress.org
Sat Jul 27 19:16:25 UTC 2024


#9175: Unable to send "0" in messages through REST API
--------------------------------------+--------------------------
 Reporter:  niftythree                |       Owner:  espellcaste
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  15.0.0
Component:  REST API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+--------------------------

Comment (by espellcaste):

 In [changeset:"13986" 13986]:
 {{{
 #!CommitTicketReference repository="" revision="13986"
 Allow creating messages with non-empty content.

 Use of the PHP `empty` function to check if the message content is empty
 is not ideal when creating a message. Update the logic to consider any
 `string` as non-empty.

 Props emaralive, niftythree.

 See #9175
 Closes https://github.com/buddypress/buddypress/pull/330
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9175#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list