Ticket #3753 (closed enhancement: fixed)

Opened 5 years ago

Last modified 2 years ago

Kubrick should allow comments for pages if check marked

Reported by: Coolkevman Owned by: anonymous
Priority: normal Milestone: 2.9
Component: Template Version: 2.1
Severity: normal Keywords: theme kubrick page has-patch tested commit
Cc: josephscott

Description

Wordpress allow comments on pages. Everything in the code or the user interface indicate this.

Unfortunately it's impossible to add comments on a static page that allow them. At least it's impossible "out of the box" with default (aka Kubrick) theme.

My trivial patch add a comment form and comment list on every static page diplayed in Kubrick theme. This patch was tested on Wordpress 2.0.x and 2.1.

Attachments

wp-default-theme-show-comments-on-pages.diff Download (298 bytes) - added by Coolkevman 5 years ago.
Patch to display comments on static page with Kubrick theme.
wp-default-theme-show-pages-comments-or-pingbacks.diff Download (460 bytes) - added by Coolkevman 5 years ago.
Fix diff path. Sorry.
3753.diff Download (413 bytes) - added by Denis-de-Bernardy 3 years ago.

Change History

Patch to display comments on static page with Kubrick theme.

  • Keywords has-patch, added
  • Summary changed from Hidden coments on static pages to Kubrick should allow comments for pages if check marked

ENV: WP trunk (2.2-bleeding) r7842
Confirmed bug
Tested patch.

Coolkevman, Thank you! in the future please provide patches from the root of the project, so instead of the page file being for 'page.php' it is for 'wp-content/themes/default/page.php'

  • Type changed from defect to enhancement
  • Milestone changed from 2.1.1 to 2.2

comment:3 follow-up: ↓ 4   foolswisdom5 years ago

  • Keywords page added; page, has-patch, comment removed
  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone 2.2 deleted

Close WONTFIX.

Noticed that for pages you would want to first check if ( comments_open() ) because "Comments are closed." would not be desirable, anyway can't really make a change like this for default theme, because of change in behavior for people upgrading. (This patch could be included in a fix for #3756)

comment:4 in reply to: ↑ 3   Coolkevman5 years ago

Replying to foolswisdom:

Close WONTFIX.

Noticed that for pages you would want to first check if ( comments_open() ) because "Comments are closed." would not be desirable, anyway can't really make a change like this for default theme, because of change in behavior for people upgrading. (This patch could be included in a fix for #3756)

Ok, so if I understand a patch like the one I've just uploaded (wp-default-theme-show-pages-comments-or-pingbacks.diff) is not acceptable ?

Fix diff path. Sorry.

  • Status changed from closed to reopened
  • Resolution wontfix deleted
  • Milestone set to 2.5

Reopening for 2.5 to allow for patch to be debated again.

  • Keywords theme kubrick has-patch added; theme, kubrick, removed
  • Keywords tested commit added
  • Milestone changed from 2.9 to 2.8

uploaded a refreshed patch against today's trunk. please commit this or wontfix it, so as to trim ticket clutter

  • Status changed from reopened to closed
  • Resolution set to wontfix

Kubrick has been like this forever.

I don't see a need to change this now.

  • Cc josephscott added
  • Status changed from closed to reopened
  • Resolution wontfix deleted
  • Milestone changed from 2.8 to 2.9

For the theme repo we require support for Pages with Comments -  http://codex.wordpress.org/Theme_Development_Checklist#Page_with_comments

Therefore default should do so as well.

Re-opening for 2.9.

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [11885]) Comments for default theme Pages. Fixes #3753.

Note: See TracTickets for help on using tickets.