WordPress.org

Making WordPress.org


Ignore:
Timestamp:
03/31/2020 11:21:10 PM (14 months ago)
Author:
coffee2code
Message:

Support theme: Add styles for search form and create topic/review button added above topics tables.

Also adjusts searchform template to work with related changes made to the plugin.

Props valentinbora, bcworkz, melchoyce, coffee2code.
See [9663].
Fixes #4659.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/searchform.php

    r9597 r9664  
    1818    <?php
    1919        $tab = null;
    20         if ( 'wporg_compat_before_single_view' === current_action() ) {
     20        if ( in_array( current_action(), [ 'bbp_template_before_pagination_loop', 'wporg_compat_before_single_view' ] ) ) {
    2121            $placeholder = _x( 'Search this forum', 'placeholder', 'wporg-forums' );
    2222            $project     = wporg_support_get_compat_object();
Note: See TracChangeset for help on using the changeset viewer.