Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option.

Remove the UI for setting the default width and height for embeds. Width was confusing as it
was blank by default (inheriting the content width from the theme, or 500px). The height is
now calculated as 1.5x the content width, or 1000px, whichever is smaller.

The [embed] shortcode can still receive manual height and width attributes. This just removes
the global settings.

props wonderboymusic. see #21719.



git-svn-id: https://develop.svn.wordpress.org/trunk@21998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-09-25 07:10:09 +00:00
parent 14592e8dd1
commit 84ca011876
7 changed files with 29 additions and 68 deletions

View File

@@ -11,7 +11,7 @@ $wp_version = '3.5-alpha-21989';
*
* @global int $wp_db_version
*/
$wp_db_version = 21823;
$wp_db_version = 21998;
/**
* Holds the TinyMCE version