Changeset 5162
- Timestamp:
- 03/22/2017 07:23:29 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r5154 r5162 278 278 279 279 // Add plugin- and theme-specific filters and actions. 280 add_action( 'wporg_compat_view_sidebar', array( $this, 'do_view_sidebar' ) );280 add_action( 'wporg_compat_view_sidebar', array( $this, 'do_view_sidebar' ) ); 281 281 add_action( 'wporg_compat_before_single_view', array( $this, 'do_view_header' ) ); 282 282 add_action( 'wporg_compat_before_single_view', array( $this, 'do_subscription_link' ), 11 ); 283 add_action( 'wporg_compat_before_single_view', array( $this, 'do_search_form' ), 11 ); 283 284 284 285 // Add output filters and actions. … … 706 707 707 708 /** 709 * Display a project-specific search form in compat views. 710 */ 711 function do_search_form() { 712 get_search_form(); 713 } 714 715 /** 708 716 * Term subscriptions use `get_term_link` for the redirect. This needs to be 709 717 * filtered to redirect to the appropriate theme/plugin support view. -
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-performance-optimizations.php
r5075 r5162 85 85 } elseif ( $is_wp_search ) { 86 86 $search_terms = get_search_query( false ); 87 } 88 89 if ( isset( $_GET['intext'] ) ) { 90 $search_terms .= ' intext:"' . esc_attr( $_GET['intext'] ) . '"'; 87 91 } 88 92
Note: See TracChangeset
for help on using the changeset viewer.