Use correct option name when deleting embed_autourls. props SergeyBiryukov. see #23715.
Merges [23902] to the 3.5 branch. git-svn-id: http://core.svn.wordpress.org/branches/3.5@24438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cb01fda9e4
commit
e7379e4c5d
|
@ -536,7 +536,7 @@ function populate_options() {
|
||||||
'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron',
|
'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron',
|
||||||
'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page',
|
'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page',
|
||||||
'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app',
|
'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app',
|
||||||
'autoembed_urls', 'default_post_edit_rows',
|
'embed_autourls', 'default_post_edit_rows',
|
||||||
);
|
);
|
||||||
foreach ( $unusedoptions as $option )
|
foreach ( $unusedoptions as $option )
|
||||||
delete_option($option);
|
delete_option($option);
|
||||||
|
|
Loading…
Reference in New Issue