[wp-trac] [WordPress Trac] #24075: wp_video_shortcode()/wp_audio_shortcode() are printing unexpected links on posts screen

WordPress Trac noreply at wordpress.org
Sat Apr 13 14:01:56 UTC 2013


#24075: wp_video_shortcode()/wp_audio_shortcode() are printing unexpected links on
posts screen
-------------------------+--------------------------
 Reporter:  ocean90      |       Type:  defect (bug)
   Status:  new          |   Priority:  normal
Milestone:  3.6          |  Component:  Media
  Version:  trunk        |   Severity:  normal
 Keywords:  needs-patch  |
-------------------------+--------------------------
 * Upload a .mov file and insert it into a post
 * Save the post and visit wp-admin/edit.php

 Result: http://cl.ly/OGaH

 If the filetype isn't in
 `wp_get_audio_extensions()`/`wp_get_video_extensions()` the links will be
 printed. See [source:/trunk/wp-includes/media.php:23983#L864] and
 [source:/trunk/wp-includes/media.php:23983#L971].

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


More information about the wp-trac mailing list