We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$order
1 parent 660b000 commit a81dbffCopy full SHA for a81dbff
src/wp-content/themes/twentyten/loop.php
@@ -22,7 +22,7 @@
22
<?php // Display navigation to next/previous pages when applicable. ?>
23
<?php
24
if ( $wp_query->max_num_pages > 1 ) :
25
- $is_desc = ( get_query_var( 'order', 'DESC' ) === $order );
+ $is_desc = ( 'DESC' === get_query_var( 'order', 'DESC' ) );
26
27
$new_posts_text = __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' );
28
$old_posts_text = __( '<span class="meta-nav">←</span> Older posts', 'twentyten' );
0 commit comments