WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2012 05:56:42 PM (8 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r20525 r20852  
    7070                foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) {
    7171                    if ( isset( $current->response[ $plugin_file ] ) ) {
     72                        ob_start();
     73                        var_dump( $current->response[ $plugin_file ] );
     74                        error_log( $plugin_file . ': ' . ob_get_clean() );
     75                    }
     76                    if ( ! empty( $current->response[ $plugin_file ] ) ) {
    7277                        $plugins['all'][ $plugin_file ]['update'] = true;
    7378                        $plugins['upgrade'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
Note: See TracChangeset for help on using the changeset viewer.