[buddypress-trac] [BuddyPress Trac] #9125: ctype_digit(): Argument of type int will be interpreted as string in the future

buddypress-trac noreply at wordpress.org
Tue Apr 9 02:53:03 UTC 2024


#9125: ctype_digit(): Argument of type int will be interpreted as string in the
future
-------------------------+--------------------------
 Reporter:  shawfactor   |       Owner:  espellcaste
     Type:  enhancement  |      Status:  assigned
 Priority:  low          |   Milestone:  14.0.0
Component:  Core         |     Version:  12.3.0
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------------
Changes (by prbot):

 * keywords:   => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/265 PR #265] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/renatonascalves renatonascalves].''
 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9125

 I noticed that some of those values are already integers. But to avoid
 messing anything up, I opted for a more conservative approach, fixing only
 the following "issue":

 > ctype_digit(): Argument of type int will be interpreted as string in the
 future

 Related: https://www.php.net/manual/en/function.ctype-
 digit.php#refsect1-function.ctype-digit-parameters

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


More information about the buddypress-trac mailing list