[wp-trac] [WordPress Trac] #45087: Change icons order on the list of plugins to update
WordPress Trac
noreply at wordpress.org
Fri Oct 12 09:31:44 UTC 2018
#45087: Change icons order on the list of plugins to update
--------------------------+-----------------------------
Reporter: webdados | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.8
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
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' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45087>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list