mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 00:52:55 +01:00
Fix expected value in Tests_Media::test_video_shortcode_body()
.
Since [29457] the `.wp-video` wrapper for a video has a height set. fixes #29110. git-svn-id: https://develop.svn.wordpress.org/trunk@29515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
663164eeca
commit
1ba2f5c853
@ -394,7 +394,7 @@ VIDEO;
|
||||
|
||||
$content = apply_filters( 'the_content', $video );
|
||||
|
||||
$expected = '<div style="width: ' . $w . 'px; max-width: 100%;" class="wp-video">' .
|
||||
$expected = '<div style="width: ' . $w . 'px; height: ' . $h . '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…
x
Reference in New Issue
Block a user