updated plugin GP Premium
version 2.1.1
This commit is contained in:
@ -15,7 +15,7 @@ require_once trailingslashit( dirname( __FILE__ ) ) . 'woocommerce-colors.php';
|
||||
require_once trailingslashit( dirname( __FILE__ ) ) . 'slideout-nav-colors.php';
|
||||
|
||||
if ( ! function_exists( 'generate_colors_customize_register' ) ) {
|
||||
add_action( 'customize_register', 'generate_colors_customize_register' );
|
||||
add_action( 'customize_register', 'generate_colors_customize_register', 5 );
|
||||
/**
|
||||
* Add our Customizer options.
|
||||
*
|
||||
@ -23,7 +23,6 @@ if ( ! function_exists( 'generate_colors_customize_register' ) ) {
|
||||
* @param object $wp_customize The Customizer object.
|
||||
*/
|
||||
function generate_colors_customize_register( $wp_customize ) {
|
||||
|
||||
// Bail if we don't have our color defaults.
|
||||
if ( ! function_exists( 'generate_get_color_defaults' ) ) {
|
||||
return;
|
||||
|
@ -25,7 +25,6 @@ if ( ! function_exists( 'generate_colors_secondary_nav_customizer' ) ) {
|
||||
* @param object $wp_customize The Customizer object.
|
||||
*/
|
||||
function generate_colors_secondary_nav_customizer( $wp_customize ) {
|
||||
|
||||
// Bail if Secondary Nav isn't activated.
|
||||
if ( ! $wp_customize->get_section( 'secondary_nav_section' ) ) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user