WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#32463 closed defect (bug) (wontfix)

Admin plugin install page does not correctly sort plugins

Reported by: Thomas SCOLAN Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Plugins Keywords:
Focuses: administration Cc:

Description

The list of plugins in the featured page is not correctly sorted. The Orderby property does not exists in the items to be compared.

line 139 in plugin-install.php :
$this->orderby = 'group';

Change by :
$this->orderby = 'rating';

Change History (5)

#1 @samuelsidler
6 years ago

Hello Thomas! Thank you for your report.

Note that the actual file path for that line (and this ticket) is:

wp-admin/includes/class-wp-plugin-install-list-table.php

I actually think it would be better to randomly sort the list of featured plugins since there aren't very many of them.

#2 follow-up: @helen
6 years ago

For reference, it was set to group because during development the API returned featured plugins sorted into groups. Not sure if there are plans to go back to that.

#3 in reply to: ↑ 2 @samuelsidler
6 years ago

Replying to helen:

For reference, it was set to group because during development the API returned featured plugins sorted into groups. Not sure if there are plans to go back to that.

Yep. But we don't really have enough featured plugins for groups to matter... And we don't expose the groups anywhere. :)

This ticket was mentioned in Slack in #core by jorbin. View the logs.


6 years ago

#5 @jorbin
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Sam is correct, there aren't enough featured plugins for groups to matter and we don't expose the groups anywhere.

Note: See TracTickets for help on using tickets.