mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Customize API shuffling.
* Rename WP_Customize to WP_Customize_Manager. * Move customize-controls.php to wp-admin/customize.php. * Make customize.php the formal entry point, rather than admin.php?customize=on. * Rename is_current_theme_active() to is_theme_active(). * Add getters for the theme, settings, controls, and sections properties. * Allow customize.php (no ?theme=) to load the active theme. Not used yet. see #20736. git-svn-id: https://develop.svn.wordpress.org/trunk@20852 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -69,6 +69,11 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
$current = get_site_transient( 'update_plugins' );
|
||||
foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) {
|
||||
if ( isset( $current->response[ $plugin_file ] ) ) {
|
||||
ob_start();
|
||||
var_dump( $current->response[ $plugin_file ] );
|
||||
error_log( $plugin_file . ': ' . ob_get_clean() );
|
||||
}
|
||||
if ( ! empty( $current->response[ $plugin_file ] ) ) {
|
||||
$plugins['all'][ $plugin_file ]['update'] = true;
|
||||
$plugins['upgrade'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user