[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:31:59 UTC 2023


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

Comment (by imath):

 In [changeset:"13508" 13508]:
 {{{
 #!CommitTicketReference repository="" revision="13508"
 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

 See #8921 (trunk)
 Closes https://github.com/buddypress/buddypress/pull/122
 }}}

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


More information about the buddypress-trac mailing list