@@ -200,10 +200,13 @@ |
||
| 200 | 200 | </div> |
| 201 | 201 | <?php if ( Kirki_Util::get_wp_version() >= 4.9 ) : ?> |
| 202 | 202 | <input class="background-hidden-value" type="hidden" {{{ data.link }}}> |
| 203 | - <?php else : ?> |
|
| 203 | + <?php else { |
|
| 204 | + : ?> |
|
| 204 | 205 | <# valueJSON = JSON.stringify( data.value ).replace( /'/g, ''' ); #> |
| 205 | 206 | <input class="background-hidden-value" type="hidden" value='{{{ valueJSON }}}' {{{ data.link }}}> |
| 206 | - <?php endif; ?> |
|
| 207 | + <?php endif; |
|
| 208 | +} |
|
| 209 | +?> |
|
| 207 | 210 | <?php |
| 208 | 211 | } |
| 209 | 212 | } |
@@ -55,8 +55,11 @@ |
||
| 55 | 55 | <a class="install-now button-primary button" data-slug="kirki" href="<?php echo esc_url_raw( $plugin_install_url ); ?>" aria-label="<?php esc_attr_e( 'Install Kirki Toolkit now', 'textdomain' ); ?>" data-name="Kirki Toolkit"> |
| 56 | 56 | <?php esc_html_e( 'Install Now', 'textdomain' ); ?> |
| 57 | 57 | </a> |
| 58 | - <?php else : ?> |
|
| 59 | - <p style="text-align:left;margin-top:0;"><?php esc_attr_e( 'You have installed Kirki. Activate it to take advantage of this theme\'s features in the customizer.', 'textdomain' ); ?></p> |
|
| 58 | + <?php else { |
|
| 59 | + : ?> |
|
| 60 | + <p style="text-align:left;margin-top:0;"><?php esc_attr_e( 'You have installed Kirki. Activate it to take advantage of this theme\'s features in the customizer.', 'textdomain' ); |
|
| 61 | +} |
|
| 62 | +?></p> |
|
| 60 | 63 | <a class="install-now button-secondary button change-theme" data-slug="kirki" href="<?php echo esc_url_raw( self_admin_url( 'plugins.php' ) ); ?>" aria-label="<?php esc_attr_e( 'Activate Kirki Toolkit now', 'textdomain' ); ?>" data-name="Kirki Toolkit"> |
| 61 | 64 | <?php esc_html_e( 'Activate Now', 'textdomain' ); ?> |
| 62 | 65 | </a> |