Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#45087 closed defect (bug) (duplicate)

Change icons order on the list of plugins to update

Reported by: webdados's profile webdados Owned by:
Milestone: Priority: normal
Severity: minor Version: 4.9.8
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

On the WP_Plugin_Install_List_Table class, when defining the $plugin_icon_url variable, the preferred order for plugin icons is "svg, 2x, 1x, default", which I think is the correct and desired order.

But when listing plugins for update on wp-admin/update-core.php the preferred order is "svg, 1x, 2x, default", which is, in IMHO, a bug.
So inside the list_plugin_updates functions, instead of:

$preferred_icons = array( 'svg', '1x', '2x', 'default' );

we should have:

$preferred_icons = array( 'svg', '2x', '1x', 'default' );

Change History (3)

#1 @SergeyBiryukov
6 years ago

  • Component changed from General to Upgrade/Install
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @webdados, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #43727.

#2 @webdados
6 years ago

Oh sorry, and thanks for the information.

#3 @SergeyBiryukov
6 years ago

No worries :)

Note: See TracTickets for help on using tickets.