[buddypress-trac] [BuddyPress Trac] #8921: extract_audio can cause depreciation notice in PHP 8.1

buddypress-trac noreply at wordpress.org
Sat Jul 1 11:39:22 UTC 2023


#8921: extract_audio can cause depreciation notice in PHP 8.1
-----------------------------------------+---------------------
 Reporter:  thomaslhotta                 |       Owner:  imath
     Type:  defect (bug)                 |      Status:  closed
 Priority:  normal                       |   Milestone:  11.3.0
Component:  Core                         |     Version:  11.2.0
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  reporter-feedback has-patch  |
-----------------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13509" 13509]:
 {{{
 #!CommitTicketReference repository="" revision="13509"
 Prevent a PHP 8.1 deprecation notice in `BP_Media_Extractor` class

 In `BP_Media_Extractor::extract_audio()` make sure `$path` is a string.

 Props thomaslhotta

 Fixes #8921 (branch 11.0)
 }}}

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


More information about the buddypress-trac mailing list