Making WordPress.org

Opened 3 months ago

Closed 3 months ago

#7456 closed defect (bug) (fixed)

Plugin author archives community/commercial filter broken

Reported by: dd32's profile dd32 Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

On author archives, the community/commercial filters are incorrectly applying as an OR filter.

ie. plugins = ( queried_user IS committer OR queried_user IS contributor OR plugin IS commercial ).

The query should be instead:
plugins = ( queried_user IS committer OR queried_user IS contributor ) AND ( plugin IS commercial ).

For example, https://wordpress.org/plugins/author/wordpressdotorg/?plugin_business_model=commercial should have no results

Change History (1)

#1 @dd32
3 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13193:

Plugin Directory: Fix taxonomy queries on author archives.

Previously the query was being adjusted to an OR query for all taxonomies, when it was only intended to be an OR between committers & contributors.

Fixes #7456.

Note: See TracTickets for help on using tickets.