Making WordPress.org

Changeset 13521


Ignore:
Timestamp:
04/15/2024 06:37:13 AM (8 months ago)
Author:
dd32
Message:

Plugin Directory: Admin: Don't default to reviewer=0 during searches from wp-admin, as this results in assigned plugins not appearing in results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php

    r13307 r13521  
    591591                wp_dropdown_users( [
    592592                    'name'              => 'reviewer',
    593                     'selected'          => intval( $_REQUEST['reviewer'] ?? 0 ),
     593                    'selected'          => intval( $_REQUEST['reviewer'] ?? '' ),
    594594                    'show_option_none'  => __( 'All Reviewers', 'wporg-plugins' ),
    595                     'option_none_value' => 0,
     595                    'option_none_value' => '',
    596596                    'role__in'          => [ 'plugin_admin', 'plugin_reviewer' ],
    597597                ] );
Note: See TracChangeset for help on using the changeset viewer.