Changeset 5162 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
- Timestamp:
- 03/22/2017 07:23:29 PM (8 years ago)
- File:
-
- 1 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.
Note: See TracChangeset
for help on using the changeset viewer.