Skip to content

Commit

Permalink
Additional fix for #1302
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Apr 27, 2017
1 parent 4c3b319 commit 3f4893a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/class-kirki-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ public function update_user_meta( $value, $wp_customize_setting ) {
* @since 3.0.0
* @return int
*/
public function acf_select2_version() {
return 4;
public function acf_select2_version( $ver ) {
if ( is_customize_preview() ) {
return 4;
}
return $ver;
}
}

0 comments on commit 3f4893a

Please sign in to comment.