Skip to:
Content

BuddyPress.org

Ticket #6956: 6956.patch

File 6956.patch, 549 bytes (added by imath, 9 years ago)
  • src/bp-core/bp-core-customizer-email.php

    diff --git src/bp-core/bp-core-customizer-email.php src/bp-core/bp-core-customizer-email.php
    index 982a376..8f64c4f 100644
    function bp_email_init_customizer( WP_Customize_Manager $wp_customize ) { 
    4747        /**
    4848         * BP_Customizer_Control_Range class.
    4949         */
    50         if ( ! buddypress()->do_autoload ) {
     50        if ( ! class_exists( 'BP_Customizer_Control_Range' ) ) {
    5151                require_once dirname( __FILE__ ) . '/classes/class-bp-customizer-control-range.php';
    5252        }
    5353