Making WordPress.org


Ignore:
Timestamp:
03/31/2020 11:17:28 PM (5 years ago)
Author:
coffee2code
Message:

Support Forums: Output search form and button for creating topic/review next to each other above topics table.

Props valentinbora, bcworkz, melchoyce, coffee2code.
See #4659.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php

    r9621 r9663  
    313313            add_action( 'wporg_compat_before_single_view', array( $this, 'do_view_header' ) );
    314314            add_action( 'wporg_compat_before_single_view', array( $this, 'do_subscription_link' ), 11 );
    315             add_action( 'wporg_compat_before_single_view', array( $this, 'do_search_form' ), 11 );
    316315
    317316            // Add output filters and actions.
     
    793792
    794793    /**
    795      * Display a project-specific search form in compat views.
    796      */
    797     function do_search_form() {
    798         get_search_form();
    799     }
    800 
    801     /**
    802794     * Term subscriptions use `get_term_link` for the redirect. This needs to be
    803795     * filtered to redirect to the appropriate theme/plugin support view.
Note: See TracChangeset for help on using the changeset viewer.