forked from mirror/_s
Correcting some irregular capitalisation and coding standards issues
This commit is contained in:
parent
b6ad3b341a
commit
776eaf6e94
2
404.php
2
404.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying 404 pages (Not Found).
|
* The template for displaying 404 pages (not found).
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying Archive pages.
|
* The template for displaying archive pages.
|
||||||
*
|
*
|
||||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||||
*
|
*
|
||||||
|
@ -39,10 +39,10 @@ get_header(); ?>
|
||||||
_e( 'Asides', '_s' );
|
_e( 'Asides', '_s' );
|
||||||
|
|
||||||
elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
|
||||||
_e( 'Galleries', '_s');
|
_e( 'Galleries', '_s' );
|
||||||
|
|
||||||
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
|
||||||
_e( 'Images', '_s');
|
_e( 'Images', '_s' );
|
||||||
|
|
||||||
elseif ( is_tax( 'post_format', 'post-format-video' ) ) :
|
elseif ( is_tax( 'post_format', 'post-format-video' ) ) :
|
||||||
_e( 'Videos', '_s' );
|
_e( 'Videos', '_s' );
|
||||||
|
|
14
comments.php
14
comments.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying Comments.
|
* The template for displaying comments.
|
||||||
*
|
*
|
||||||
* The area of the page that contains both current comments
|
* The area of the page that contains both current comments
|
||||||
* and the comment form.
|
* and the comment form.
|
||||||
|
@ -25,8 +25,10 @@ if ( post_password_required() ) {
|
||||||
<?php if ( have_comments() ) : ?>
|
<?php if ( have_comments() ) : ?>
|
||||||
<h2 class="comments-title">
|
<h2 class="comments-title">
|
||||||
<?php
|
<?php
|
||||||
printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', '_s' ),
|
printf(
|
||||||
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
|
_nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', '_s' ),
|
||||||
|
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>'
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@ -40,10 +42,12 @@ if ( post_password_required() ) {
|
||||||
|
|
||||||
<ol class="comment-list">
|
<ol class="comment-list">
|
||||||
<?php
|
<?php
|
||||||
wp_list_comments( array(
|
wp_list_comments(
|
||||||
|
array(
|
||||||
'style' => 'ol',
|
'style' => 'ol',
|
||||||
'short_ping' => true,
|
'short_ping' => true,
|
||||||
) );
|
)
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
</ol><!-- .comment-list -->
|
</ol><!-- .comment-list -->
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The template for displaying Search Results pages.
|
* The template for displaying search results pages.
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The Sidebar containing the main widget areas.
|
* The sidebar containing the main widget areas.
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The Template for displaying all single posts.
|
* The template for displaying all single posts.
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue