After [35461], remove 'page_comments' from database.

* Don't set as part of initial schema.
* Delete as part of the `$unusedoptions` routine.

Props ocean90.
See #8071.
Built from https://develop.svn.wordpress.org/trunk@34562


git-svn-id: http://core.svn.wordpress.org/trunk@34526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-09-25 20:50:25 +00:00
parent 18d6b3c8dc
commit 4e051fa421
2 changed files with 2 additions and 3 deletions

View File

@ -482,7 +482,6 @@ function populate_options() {
'close_comments_days_old' => 14,
'thread_comments' => 1,
'thread_comments_depth' => 5,
'page_comments' => 1,
'comments_per_page' => 50,
'default_comments_page' => 'newest',
'comment_order' => 'asc',
@ -567,7 +566,7 @@ function populate_options() {
'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',
'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app',
'embed_autourls', 'default_post_edit_rows',
'embed_autourls', 'default_post_edit_rows', 'page_comments',
);
foreach ( $unusedoptions as $option )
delete_option($option);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34561';
$wp_version = '4.4-alpha-34562';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.