mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 11:50:25 +08:00
Kirki 3.0.38
This commit is contained in:
parent
2c33dc1f57
commit
2ed8bc86b4
10 changed files with 72 additions and 19 deletions
|
@ -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 ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue