Skip to content
Prev Previous commit
Next Next commit
Remove $order variable
  • Loading branch information
sabernhardt authored Oct 28, 2025
commit a81dbffe04447f424974cd814dd196f8cb044ddc
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentyten/loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<?php // Display navigation to next/previous pages when applicable. ?>
<?php
if ( $wp_query->max_num_pages > 1 ) :
$is_desc = ( get_query_var( 'order', 'DESC' ) === $order );
$is_desc = ( 'DESC' === get_query_var( 'order', 'DESC' ) );

$new_posts_text = __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' );
$old_posts_text = __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' );
Expand Down
Loading