[wp-trac] [WordPress Trac] #33490: Comments for WordPress 4.3 to be default "off" for pages but 1 remains
WordPress Trac
noreply at wordpress.org
Fri Aug 21 17:28:40 UTC 2015
#33490: Comments for WordPress 4.3 to be default "off" for pages but 1 remains
----------------------------------------+-------------------------
Reporter: asilver | Owner: swissspidy
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.3.1
Component: Upgrade/Install | Version: 4.3
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+-------------------------
Changes (by swissspidy):
* owner: => swissspidy
* status: new => accepted
* focuses: ui =>
* component: General => Upgrade/Install
* milestone: Awaiting Review => 4.3.1
Comment:
Thanks for your report, asilver, and welcome to Trac!
I can confirm this. `comment_status` isn't set when creating the page in
`wp_install_defaults()` because it uses `$wpdb->insert()` directly.
`get_default_comment_status()` should be used here.
I think this bug is worth fixing as part of 4.3.1 for the reason mentioned
above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33490#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list