[wp-trac] [WordPress Trac] #40085: Audio/video uploads are broken in 4.2.13 and 4.3.9

WordPress Trac noreply at wordpress.org
Thu Mar 16 02:48:05 UTC 2017


#40085: Audio/video uploads are broken in 4.2.13 and 4.3.9
-----------------------------------+------------------------
 Reporter:  uzegonemad             |       Owner:  joemcgill
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.7.4
Component:  Media                  |     Version:  3.7.19
 Severity:  blocker                |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------

Comment (by dlh):

 I tested [attachment:40085.diff] with some audio files on the 4.3, 4.2,
 and 3.9 branches.

 Although I can't speak intelligently about the use of `wp_kses_post()`
 itself in this context, I can at least report that the uploads succeeded,
 and the files and metadata seemed OK.

 I would also note there was a PHP 7-specific fatal error in 3.9: `Fatal
 error: 'break' not in the 'loop' or 'switch' context in /wp-
 includes/ID3/getid3.lib.php on line 285`. It looks like that `break` was
 removed in [29734].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40085#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list