Changeset 3242
- Timestamp:
- 05/24/2016 10:38:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/redirects.php
r973 r3242 33 33 */ 34 34 public static function redirect_single_search_match() { 35 if ( is_search() && 1 == $GLOBALS['wp_query']->found_posts ) {35 if ( is_search() && ! wporg_is_handbook() && 1 == $GLOBALS['wp_query']->found_posts ) { 36 36 wp_redirect( get_permalink( get_post() ) ); 37 37 exit();
Note: See TracChangeset
for help on using the changeset viewer.