mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion. Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland. Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032. git-svn-id: https://develop.svn.wordpress.org/trunk@37714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -246,6 +246,15 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
$total_this_page = $totals[ $status ];
|
||||
|
||||
$js_plugins = array();
|
||||
foreach ( $plugins as $key => $list ) {
|
||||
$js_plugins[ $key ] = array_keys( (array) $list );
|
||||
}
|
||||
|
||||
wp_localize_script( 'updates', '_wpUpdatesItemCounts', array(
|
||||
'plugins' => $js_plugins,
|
||||
) );
|
||||
|
||||
if ( ! $orderby ) {
|
||||
$orderby = 'Name';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user