WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/17/2012 08:49:39 PM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: Display 'Save and Activate' when switching themes. Add and properties to the WP_Customize class. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-customize.php

    r20419 r20495  
    1111    protected $template;
    1212    protected $stylesheet;
     13    protected $original_template;
     14    protected $original_stylesheet;
     15
    1316    protected $previewing = false;
    1417
     
    8184
    8285        show_admin_bar( false );
     86
     87        $this->original_template   = get_template();
     88        $this->original_stylesheet = get_stylesheet();
    8389
    8490        add_filter( 'template', array( $this, 'get_template' ) );
Note: See TracChangeset for help on using the changeset viewer.