diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index 5041911b33..eb33550d88 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -203,11 +203,11 @@ class WP_Plugins_List_Table extends WP_List_Table { foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) { // Extra info if known. array_merge() ensures $plugin_data has precedence if keys collide. if ( isset( $plugin_info->response[ $plugin_file ] ) ) { - $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], array( 'auto-update-supported' => true ), $plugin_data ); + $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], array( 'update-supported' => true ), $plugin_data ); } elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) { - $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], array( 'auto-update-supported' => true ), $plugin_data ); - } elseif ( empty( $plugin_data['auto-update-supported'] ) ) { - $plugin_data['auto-update-supported'] = false; + $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], array( 'update-supported' => true ), $plugin_data ); + } elseif ( empty( $plugin_data['update-supported'] ) ) { + $plugin_data['update-supported'] = false; } /* @@ -1094,7 +1094,7 @@ class WP_Plugins_List_Table extends WP_List_Table { } $action = 'unavailable'; $time_class = ' hidden'; - } elseif ( ! $plugin_data['auto-update-supported'] ) { + } elseif ( ! $plugin_data['update-supported'] ) { $text = ''; $action = 'unavailable'; $time_class = ' hidden'; diff --git a/wp-includes/version.php b/wp-includes/version.php index fe8d59e57b..455bd2b64a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta4-48677'; +$wp_version = '5.5-beta4-48678'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.