diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php
index 5884e6e185..b683b11401 100644
--- a/wp-admin/admin-ajax.php
+++ b/wp-admin/admin-ajax.php
@@ -124,6 +124,10 @@ case 'imgedit-preview' :
die();
break;
+case 'oembed-cache' :
+ $return = ( $wp_embed->cache_oembed( $_GET['post'] ) ) ? '1' : '0';
+ die( $return );
+ break;
default :
do_action( 'wp_ajax_' . $_GET['action'] );
die('0');
diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php
index eae2cbbf0c..897fa9d968 100644
--- a/wp-admin/includes/schema.php
+++ b/wp-admin/includes/schema.php
@@ -313,7 +313,13 @@ function populate_options() {
'widget_rss' => array(),
// 2.8
- 'timezone_string' => ''
+ 'timezone_string' => '',
+
+ // 2.9
+ 'embed_useoembed' => 1,
+ 'embed_autourls' => 1,
+ 'embed_size_w' => '',
+ 'embed_size_h' => 600,
);
// Set autoload to no for these options
diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php
index e5abf4e56e..4f17e3e8fe 100644
--- a/wp-admin/options-media.php
+++ b/wp-admin/options-media.php
@@ -44,7 +44,7 @@ include('admin-header.php');
|
- |