Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#1733 closed defect (fixed)

The search filters are broken.

Reported by: keesiemeijer Owned by: coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: has-patch


All filters are used for every search, even if you try to filter by a single filter.

See the results for https://developer.wordpress.org/?s=get+terms&post_type[]=wp-parser-hook

It should only display posts from the post type wp-parser-hook (hooks). Instead, all filters are checked and it displays posts from all post types.

Attachments (1)

1733.patch (1.1 KB) - added by keesiemeijer 5 years ago.
If no post types are set use parsed post types

Download all attachments as: .zip

Change History (2)

5 years ago

If no post types are set use parsed post types

#1 @coffee2code
5 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 3276:

developer.wordpress.org: Fix to honor code reference post type search filters.

Props keesiemeijer.
Fixes #1733.

Note: See TracTickets for help on using tickets.