Claudio,
tentei reinstalar os plugins e nada. Continua do mesmo jeito, realmente n?o sei o que pode estar causando isso, mas consegui achar uma solu??o:
No arquivo class-wc-ecfb-plugins-support.php, você faz a inser??o dos scripts da seguinte forma:
wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend.min.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
wp_localize_script(
'woocommerce-extra-checkout-fields-for-brazil-front',
'wcbcf_public_params',
array(
'state' => __( 'State', 'woocommerce-extra-checkout-fields-for-brazil' ),
'required' => __( 'required', 'woocommerce-extra-checkout-fields-for-brazil' ),
'mailcheck' => isset( $settings['mailcheck'] ) ? 'yes' : 'no',
'maskedinput' => isset( $settings['maskedinput'] ) ? 'yes' : 'no',
'addresscomplete' => isset( $settings['addresscomplete'] ) ? 'yes' : 'no',
'person_type' => $settings['person_type'],
'only_brazil' => isset( $settings['only_brazil'] ) ? 'yes' : 'no'
)
);
basta alterar a ordem da inser??o:
wp_localize_script(
'woocommerce-extra-checkout-fields-for-brazil-front',
'wcbcf_public_params',
array(
'state' => __( 'State', 'woocommerce-extra-checkout-fields-for-brazil' ),
'required' => __( 'required', 'woocommerce-extra-checkout-fields-for-brazil' ),
'mailcheck' => isset( $settings['mailcheck'] ) ? 'yes' : 'no',
'maskedinput' => isset( $settings['maskedinput'] ) ? 'yes' : 'no',
'addresscomplete' => isset( $settings['addresscomplete'] ) ? 'yes' : 'no',
'person_type' => $settings['person_type'],
'only_brazil' => isset( $settings['only_brazil'] ) ? 'yes' : 'no'
)
);
wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend.min.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
E agora o CEP volta para o lado do país novamente.