Ticket #3607: 3607.patch
| File 3607.patch, 1.6 KB (added by , 8 years ago) |
|---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
62 62 * @return array Array with public query vars. 63 63 */ 64 64 public static function add_query_vars( $public_query_vars ) { 65 $public_query_vars[ 'is_handbook'] = false;66 $public_query_vars[ 'current_handbook'] = false;67 $public_query_vars[ 'current_handbook_home_url'] = false;68 $public_query_vars[ 'current_handbook_name'] = '';65 $public_query_vars[] = 'wporg_is_handbook'; 66 $public_query_vars[] = 'current_handbook'; 67 $public_query_vars[] = 'current_handbook_home_url'; 68 $public_query_vars[] = 'current_handbook_name'; 69 69 70 70 return $public_query_vars; 71 71 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/search.php
38 38 * @return array 39 39 */ 40 40 public static function default_qv_empty_post_type_search( $public_query_vars ) { 41 $public_query_vars[ 'empty_post_type_search'] = false;41 $public_query_vars[] = 'empty_post_type_search'; 42 42 return $public_query_vars; 43 43 } 44 44