[wp-hackers] Force Theme Customizer to Reload iFrame

Bryan Petty bryan at ibaku.net
Mon Oct 15 17:25:50 UTC 2012


On Mon, Oct 15, 2012 at 10:00 AM, David Kryzaniak <dkryzaniak at gmail.com> wrote:
>  Is there somewhere in the codex that has the un-minified js for the theme
> customizer?

Add the following lines to your wp-config.php in order to use the
original non-minified JS:

define('SCRIPT_DEBUG', true);
define('CONCATENATE_SCRIPTS', false);
define('COMPRESS_SCRIPTS', false);
define('COMPRESS_CSS', false);
define('ENFORCE_GZIP', false);

Mostly just the first one is important, but the others can be handy
for debug too.

More info here: http://codex.wordpress.org/Debugging_in_WordPress

Regards,
Bryan Petty


More information about the wp-hackers mailing list