This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Simplify and improve inline comments

  • Loading branch information...
kwight committed Oct 27, 2012
1 parent 0d77aa1 commit d4c8d33a209602e78cd38d2b21f2db7428c79b83
Showing with 4 additions and 11 deletions.
  1. +2 −9 comments.php
  2. +2 −2 functions.php
@@ -3,9 +3,7 @@
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to _s_comment() which is
* located in the functions.php file.
* and the comment form.
*
* @package Debut
* @since 1.0
@@ -34,12 +32,7 @@
<ol class="commentlist">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
* to use _s_comment() to format the comments.
* If you want to overload this in a child theme then you can
* define _s_comment() and that will be used instead.
* See _s_comment() in functions.php for more.
*/
//Loop through and list the comments
wp_list_comments( array( 'callback' => 'debut_comment' ) );
?>
</ol>
@@ -28,8 +28,6 @@ function debut_setup() {
/**
* Make theme available for translation
* Translations can be filed in the /languages/ directory
* If you're building a theme based on _s, use a find and replace
* to change '_s' to the name of your theme in all the template files
*/
load_theme_textdomain( 'debut', get_template_directory() . '/languages' );
$locale = get_locale();
@@ -509,6 +507,7 @@ function debut_lang_switcher() {
/**
* Output the date with correct formatting per language
* (currently supports FR only, all other languages will display as EN)
*
* @since 1.05
*/
@@ -524,6 +523,7 @@ function debut_date() {
/**
* Output the comment timestamp with correct formatting per language
* (currently supports FR only, all other languages will display as EN)
*
* @since 1.05
*/

0 comments on commit d4c8d33

Please sign in to comment.