Skip to content

Commit a936552

Browse files
committed
Merge branch 'develop' of github.com:CMB2/CMB2 into develop
2 parents 4addf91 + 7166a73 commit a936552

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎includes/CMB2_JS.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ public static function register_colorpicker_alpha( $enqueue = false ) {
149149
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
150150
$func = $enqueue ? 'wp_enqueue_script' : 'wp_register_script';
151151
$func( 'wp-color-picker-alpha', CMB2_Utils::url( "js/wp-color-picker-alpha{$min}.js" ), array( 'wp-color-picker' ), '2.1.3' );
152-
wp_localize_script( 'wp-color-picker-alpha', 'wpColorPickerL10n', array(
153-
'clear' => __( 'Clear', 'cmb2' ),
154-
'clearAriaLabel' => __( 'Clear color', 'cmb2' ),
155-
'defaultString' => __( 'Default', 'cmb2' ),
156-
'defaultAriaLabel' => __( 'Select default color', 'cmb2' ),
157-
'pick' => __( 'Select Color', 'cmb2' ),
158-
'defaultLabel' => __( 'Color value', 'cmb2' ),
159-
) );
160152
}
161153

162154
/**

0 commit comments

Comments
 (0)