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.

git-svn-id: https://develop.svn.wordpress.org/trunk@34562 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2015-09-25 20:49:47 +00:00
parent 0b7e8399b0
commit 0604eff2e2

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);