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

WordPress Trac noreply at wordpress.org
Mon Aug 26 16:27:21 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:  3.7
Component:  Shortcodes        |     Version:  3.6
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by bhengh):

 Replying to [comment:6 nofearinc]:
 > Did you test it yourself? It works for me if I specify a parameter other
 than `src` for the correct format with a MP3 all-caps extension.

 Yes, I just tested it.  I'm using WordPress 3.6 with the patch to /wp-
 includes/media.php, line 874.  When I put the following shortcode on my
 page:

 [audio src="!http://example.com/test_capital.MP3"]

 It works now, with the patch.  But when I put this shortcode on:

 [audio mp3="!http://example.com/test_capital.MP3"]

 It fails.  Then I patched line 882, and the second shortcode started
 working.

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


More information about the wp-trac mailing list