WordPress.org

Making WordPress.org

Changeset 3282


Ignore:
Timestamp:
05/31/2016 08:20:20 PM (3 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Enable slide-down search form for handbooks.

Fixes #1739.

File:
1 edited

Legend:

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

    r3048 r3282  
    12001200        $taxonomies = array( 'wp-parser-since', 'wp-parser-package', 'wp-parser-source-file' );
    12011201
    1202         return ( is_singular( $post_types ) || is_post_type_archive( $post_types ) || is_tax( $taxonomies ) );
     1202        return ! is_search() && ( is_singular( $post_types ) || is_post_type_archive( $post_types ) || is_tax( $taxonomies ) || get_query_var( 'is_handbook' ) );
    12031203    }
    12041204
Note: See TracChangeset for help on using the changeset viewer.