[buddypress-trac] [BuddyPress Trac] #8649: Improves PHP 8.1 compatibility

buddypress-trac noreply at wordpress.org
Sat Aug 13 08:21:13 UTC 2022


#8649: Improves PHP 8.1 compatibility
--------------------------------------+---------------------
 Reporter:  imath                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  11.0.0
Component:  Core                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------

Comment (by imath):

 In [changeset:"13312" 13312]:
 {{{
 #!CommitTicketReference repository="" revision="13312"
 Avoid various PHP 8.1 deprecated notices

 Here are the treated deprecated notices:
 -  `ctype_digit()` Argument of type int will be interpreted as string in
 the future.
 - Automatic conversion of false to array.
 - Passing null to `strtotime()` `$datetime` parameter.

 Props renatonascalves, rafiahmedd

 See #8649
 }}}

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


More information about the buddypress-trac mailing list