[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 9 17:18:11 UTC 2017


#40085: Audio/video uploads are broken in 4.2.13 and 4.3.9
--------------------------+--------------------
 Reporter:  uzegonemad    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.4
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 4.7.4


Old description:

> As the title states, audio/video uploads are broken in the 4.2.13 and
> 4.3.9 security releases.
>
> These releases backport a function for validating metadata,
> `wp_kses_post_deep`, but this function wasn't introduced until 4.4.
>
> Uploading an audio/video file will respond with an undefined function
> error.
>
> Relevant 4.2 commit:
> https://core.trac.wordpress.org/changeset/40148
>
> Relevant 4.3 commit:
> https://core.trac.wordpress.org/changeset/40153
>
> Trac doesn't let me choose 4.2.13, so I've filed this against trunk.

New description:

 As the title states, audio/video uploads are broken in the 4.2.13 and
 4.3.9 security releases.

 These releases backport a function for validating metadata,
 `wp_kses_post_deep`, but this function wasn't introduced until 4.4.

 Uploading an audio/video file will respond with an undefined function
 error.

 Relevant 4.2 commit: [40148]

 Relevant 4.3 commit: [40153]

 Trac doesn't let me choose 4.2.13, so I've filed this against trunk.

--

Comment:

 Hi @uzegonemad, welcome to Trac! Thanks for the report.

 I can confirm the issue. [40148] was backported to all branches from 3.7
 to 4.3, so they all appear to be affected.

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


More information about the wp-trac mailing list