Add trailing commas to the last elements of arrays

This commit is contained in:
Takashi Irie 2013-04-20 16:45:36 +01:00
parent 7be757759c
commit c780bc0559
6 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ get_header(); ?>
'order' => 'DESC', 'order' => 'DESC',
'show_count' => 1, 'show_count' => 1,
'title_li' => '', 'title_li' => '',
'number' => 10 'number' => 10,
) ); ) );
?> ?>
</ul> </ul>

View File

@ -16,7 +16,7 @@
<?php <?php
wp_link_pages( array( wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
'after' => '</div>' 'after' => '</div>',
) ); ) );
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -18,7 +18,7 @@
<?php <?php
wp_link_pages( array( wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
'after' => '</div>' 'after' => '</div>',
) ); ) );
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -25,7 +25,7 @@
<?php <?php
wp_link_pages( array( wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
'after' => '</div>' 'after' => '</div>',
) ); ) );
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -93,7 +93,7 @@ get_header();
<?php <?php
wp_link_pages( array( wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', '_s' ), 'before' => '<div class="page-links">' . __( 'Pages:', '_s' ),
'after' => '</div>' 'after' => '</div>',
) ); ) );
?> ?>

View File

@ -99,7 +99,7 @@ function _s_comment( $comment, $args, $depth ) {
<?php <?php
comment_reply_link( array_merge( $args,array( comment_reply_link( array_merge( $args,array(
'depth' => $depth, 'depth' => $depth,
'max_depth' => $args['max_depth'] 'max_depth' => $args['max_depth'],
) ) ); ) ) );
?> ?>
</div><!-- .reply --> </div><!-- .reply -->