[buddypress-trac] [BuddyPress Trac] #8288: PHP 7.4 Notice: Trying to access array offset...

buddypress-trac noreply at wordpress.org
Thu May 7 19:23:05 UTC 2020


#8288: PHP 7.4 Notice:  Trying to access array offset...
------------------------------+---------------------
 Reporter:  mercime           |       Owner:  r-a-y
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.0.0
Component:  Core              |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by r-a-y):

 * owner:  (none) => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12647" 12647]:
 {{{
 #!CommitTicketReference repository="" revision="12647"
 Do not use `sanitize_file_name()` when passing integer values.

 Fixes an array offset notice due to the addition of `seems_utf8()` in
 `sanitize_file_name()` for WordPress 5.4.1:
 https://core.trac.wordpress.org/changeset/47643

 Props mercime, r-a-y.

 Fixes #8288.
 }}}

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


More information about the buddypress-trac mailing list