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

buddypress-trac noreply at wordpress.org
Thu Jun 6 12:43:23 UTC 2024


#9175: Unable to send "0" in messages through REST API
--------------------------+-----------------------------
 Reporter:  niftythree    |      Owner:  espellcaste
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hello,

 We've found that the REST API cannot send 0 (i.e. the digit for zero) as
 the only content for a message. This applies to messages in both new and
 existing threads (see first screenshot). However, it will accept other
 variations. E.g. 00; 01; 10; etc. as the only content of a message, and it
 doesn't appear to be an issue for any other numbers/digits (see second
 screenshot).

 We've tested all of the above with the following set-up:
 WordPress version: 6.5.3
 BuddyPress version: 12.5.0
 BuddyPress Template: Legacy
 Theme: Twenty Twenty-Four
 Plugins active: BuddyPress, JSON Basic Authentication (https://github.com
 /WP-API/Basic-Auth)
 PHP: 7.4

 Thanks.

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


More information about the buddypress-trac mailing list