Back to Upgrade Instructions
This page applies only if you are upgrading from version 2.0 or 2.1 and have customized your template files or other scripts.
Template changes:
comments-display-tpl.php
comments-edit-tpl.php
comments-edit-form-tpl.php
comments-form-tpl.php
comments-preview.php
comments-reply-tpl.php
comments-preview.php
comments-preview-tpl.php (added)
The following features have been added to the templates:
- A spam link in the comment footer that allows you to delete a comment as spam (informing Akismet of its mis-diagnosis) instead of using the delete link (which does not inform Akismet).
- A location field that allows the visitor to enter their location. Can be shown or not by changing a configuration setting.
- A subject field. Can be shown or not by changing a configuration setting.
- The author website field in comments and on the comment entry form can be shown or not by changing a configuration setting. If it is shown, another setting controls what type of link is displayed.
- The subscribe to comments radio buttons on the comment entry form can be shown or not by changing a configuration setting.
- The comment reply link in the comment footer can be shown to visitors or not by changing a configuration setting. The link will be shown if your admin cookie is set so you can still enter replies.
- Radio buttons on the reply form (if your admin cookie is set) that allow you to send a copy of your reply to the comment author by email. This works from both the reply link on the comment page and admin panels.
- Links that allow visitors to switch between languages if there are multiple language files in the language directory.
The "action" value in the form tags has changed.
In some forms in some templates, type='hidden' form input tags have been moved into the driver script and replaced with a variable (e.g. $sort_order_hidden_fields) to reduce the perceived complexity of the template. The hidden tags should never be changed by users so they were just taking up space in the templates and making the templates look more complex.