diff --git src/wp-includes/js/wp-embed.js src/wp-includes/js/wp-embed.js
index db1fe5b..6e8c906 100644
|
|
|
|
| 31 | 31 | |
| 32 | 32 | /* Resize the iframe on request. */ |
| 33 | 33 | if ( 'height' === data.message ) { |
| 34 | | height = data.value; |
| | 34 | height = parseInt( data.value, 10 ); |
| 35 | 35 | if ( height > 1000 ) { |
| 36 | 36 | height = 1000; |
| 37 | 37 | } else if ( height < 200 ) { |
| 38 | 38 | height = 200; |
| | 39 | } else if ( isNaN( height ) ) { |
| | 40 | return; |
| 39 | 41 | } |
| 40 | 42 | |
| 41 | | source.height = (height) + 'px'; |
| | 43 | source.height = height; |
| 42 | 44 | } |
| 43 | 45 | |
| 44 | 46 | /* Link to a specific URL on request. */ |