Fix unit test for video shortcode after [30082].
Fixes #30078. git-svn-id: https://develop.svn.wordpress.org/trunk@30132 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ae3ac0c05
commit
ef23aee2a6
@ -394,7 +394,7 @@ VIDEO;
|
||||
|
||||
$content = apply_filters( 'the_content', $video );
|
||||
|
||||
$expected = '<div style="width: ' . $w . 'px; height: ' . $h . 'px; " class="wp-video">' .
|
||||
$expected = '<div style="width: ' . $w . 'px; " class="wp-video">' .
|
||||
"<!--[if lt IE 9]><script>document.createElement('video');</script><![endif]-->\n" .
|
||||
'<video class="wp-video-shortcode" id="video-' . $post_id . '-1" width="' . $w . '" height="' . $h . '" preload="metadata" controls="controls">' .
|
||||
'<source type="video/mp4" src="http://domain.tld/wp-content/uploads/2013/12/xyz.mp4?_=1" />' .
|
||||
|
Loading…
Reference in New Issue
Block a user