[wp-trac] [WordPress Trac] #29267: wp_video_shortcode should support vimeo

WordPress Trac noreply at wordpress.org
Tue Aug 19 19:36:58 UTC 2014


#29267: wp_video_shortcode should support vimeo
-------------------------+------------------------------
 Reporter:  maimairel    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.9.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by maimairel):

 Actually one line of regex matching should do the job :)

 /wp-includes/media.php, line 1718

 if ( ! preg_match( $yt_pattern, $src ) || ! preg_match( $vimeo_pattern,
 $src ) ) {

 Well if not I can wait until 4.1.

 Thank you!

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


More information about the wp-trac mailing list