Kirki 3.0.38

This commit is contained in:
Alexander Agnarson 2019-03-11 16:19:14 +01:00
parent 2c33dc1f57
commit 2ed8bc86b4
10 changed files with 72 additions and 19 deletions

View file

@ -243,7 +243,7 @@ class Kirki_Output {
$value = $this->process_value( $value, $output );
if ( is_admin() && ! is_customize_preview() ) {
if ( ( is_admin() && ! is_customize_preview() ) || ( isset( $_GET['editor'] ) && '1' === $_GET['editor'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
// Check if this is an admin style.
if ( ! isset( $output['context'] ) || ! in_array( 'editor', $output['context'], true ) ) {