[wp-trac] [WordPress Trac] #31168: Comments should be turned off on pages by default

WordPress Trac noreply at wordpress.org
Thu Jul 2 16:45:46 UTC 2015


#31168: Comments should be turned off on pages by default
-----------------------------------+---------------------------
 Reporter:  melchoyce              |       Owner:  valendesigns
     Type:  enhancement            |      Status:  reopened
 Priority:  normal                 |   Milestone:  4.3
Component:  Comments               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------------

Comment (by rachelbaker):

 Looks like they are also used in
 [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/post.php#L46
 redirect_post()]  and [https://core.trac.wordpress.org/browser/trunk/src
 /wp-admin/includes/post.php#L583  get_default_post_to_edit()]

 Replying to [comment:49 valendesigns]:
 > The only place left in Core that uses `default_comment_status` and
 `default_ping_status` is in `class-wp-xmlrpc-server.php` and I'm not sure
 the best way to test the changes made to that file so I'm hesitant to make
 changes I can't verify. I've uploaded a patch that fixes the filter
 though.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31168#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list