Making WordPress.org

Changeset 3380


Ignore:
Timestamp:
06/15/2016 10:10:58 PM (8 years ago)
Author:
drewapicture
Message:

developer.wordpress.org: Replace an errant usage of wporg_is_handbook() with the alternative query variable check introduced in [3281].

See #1671.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php

    r3313 r3380  
    3232            <?php while ( have_posts() ) : the_post(); ?>
    3333
    34                 <?php get_template_part( 'content', wporg_is_handbook() ? 'handbook-archive' : 'reference-archive' ); ?>
     34                <?php get_template_part( 'content', get_query_var( 'is_handbook' ) ? 'handbook-archive' : 'reference-archive' ); ?>
    3535
    3636            <?php endwhile; ?>
Note: See TracChangeset for help on using the changeset viewer.