Making WordPress.org


Ignore:
Timestamp:
02/28/2019 06:31:26 AM (6 years ago)
Author:
dd32
Message:

WordPress.TV: Support paginated front-page requests for blog.wordpress.tv in the canonical tag.

See #4208.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    r8366 r8367  
    6262            }
    6363
    64             if ( $canonical && get_query_var( 'paged' ) > 1 ) {
    65                 $canonical .= 'page/' . (int) get_query_var( 'paged' ) . '/';
    66             }
     64        }
     65
     66        if ( $canonical && get_query_var( 'paged' ) > 1 ) {
     67            $canonical .= 'page/' . (int) get_query_var( 'paged' ) . '/';
    6768        }
    6869
Note: See TracChangeset for help on using the changeset viewer.