Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23953 closed defect (bug) (fixed)

Check for audio existence in wp_read_video_metadata()

Reported by: ocean90's profile ocean90 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Report: http://wordpress.org/support/topic/36-uploading-webm-ogv-broken

When you upload a movie file without audio output wp_read_video_metadata produces a PHP warning:

Undefined index: audio in /wp-admin/includes/media.php on line 2507

Attachments (1)

23953.patch (561 bytes) - added by ocean90 12 years ago.

Download all attachments as: .zip

Change History (2)

@ocean90
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 23923:

Avoid an undefined index notice in wp_read_video_metadata(). props ocean90. fixes #23953.

Note: See TracTickets for help on using tickets.