[wp-trac] [WordPress Trac] #25140: [audio] shortcode not rendering audio types with upper case extensions using src

WordPress Trac noreply at wordpress.org
Sun Aug 25 15:34:34 UTC 2013


#25140: [audio] shortcode not rendering audio types with upper case extensions
using src
--------------------------+-----------------------------
 Reporter:  nofearinc     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Shortcodes    |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 As per [http://wordpress.stackexchange.com/questions/111250/are-mp3-files-
 with-capital-letter-extensions-allowed-in-audio-shortcode this report] if
 we try to embed audio file with an uppercase extensions (such as .MP3)
 it's not displaying the audio player, but the link itself.

 Attaching a patch to invoke `strtolower` for extension types to avoid this
 scenario.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25140>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list