| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * @package Booking Manager |
| 4 | 4 | * @category JavaScript files and varibales |
| 5 | 5 | * @author wpdevelop |
| 6 | 6 | * |
| 7 | - * @web-site http://oplugins.com/ | |
| 7 | + * @web-site https://oplugins.com/ | |
| 8 | 8 | * @email info@oplugins.com |
| 9 | 9 | * |
| 10 | 10 | * @modified 19.10.2015 |
| 11 | 11 | */ |
| @@ -94,9 +94,9 @@ | ||
| 94 | 94 | , 'wpbm_plugin_filename' => WPBM_PLUGIN_FILENAME |
| 95 | 95 | , 'message_verif_requred' => esc_js(__('This field is required' , 'booking-manager')) |
| 96 | 96 | , 'message_verif_requred_for_check_box' => esc_js(__('This checkbox must be checked' , 'booking-manager')) |
| 97 | 97 | , 'message_verif_requred_for_radio_box' => esc_js(__('At least one option must be selected' , 'booking-manager')) |
| 98 | - , 'message_verif_emeil' => esc_js(__('Incorrect email field' , 'booking-manager')) | |
| 98 | + , 'message_verif_emeil' => esc_js(__('Incorrect email address' , 'booking-manager')) | |
| 99 | 99 | , 'message_verif_same_emeil' => esc_js(__('Your emails do not match' , 'booking-manager')) // Email Addresses Do Not Match |
| 100 | 100 | |
| 101 | 101 | , 'wpbm_active_locale' => wpbm_get_locale() |
| 102 | 102 | , 'wpbm_message_processing' => esc_js( __('Processing' , 'booking-manager') ) |
| @@ -113,31 +113,9 @@ | ||
| 113 | 113 | |
| 114 | 114 | // jQuery |
| 115 | 115 | wp_enqueue_script( 'jquery' ); |
| 116 | 116 | |
| 117 | - $version = wpbm_get_registered_jquery_version(); | |
| 118 | 117 | |
| 119 | - if ( $version !== false ) { | |
| 120 | - | |
| 121 | - if ( version_compare( $version, '1.9.1', '<' ) ) { // load jQuery 1.7.1, if "Theme" load older jQuery //FixIn: 7.0.1.3 | |
| 122 | - wp_deregister_script('jquery'); | |
| 123 | - wp_register_script( 'jquery', 'http://code.jquery.com/jquery-1.9.1.min.js', false, '1.9.1' ); //FixIn: 7.0.1.3 | |
| 124 | - // wp_register_script('jquery', 'http://code.jquery.com/jquery-latest.min.js', false, false); | |
| 125 | - wp_enqueue_script('jquery'); | |
| 126 | - | |
| 127 | - wp_register_script('jquery-migrate', 'http://code.jquery.com/jquery-migrate-1.0.0.js', false, '1.0.0' ); //FixIn: 7.0.1.3 | |
| 128 | - wp_enqueue_script( 'jquery-migrate' ); //FixIn: 7.0.1.3 | |
| 129 | - } | |
| 130 | - | |
| 131 | - //////////////////////////////////////////////////////////////////////// | |
| 132 | - // jQuery Migrate | |
| 133 | - if ( version_compare( $version, '1.9', '>=' ) ) { // if the jQuery newer then 1.9 | |
| 134 | - wp_register_script('jquery-migrate', 'http://code.jquery.com/jquery-migrate-1.0.0.js', false, '1.0.0' ); | |
| 135 | - wp_enqueue_script( 'jquery-migrate' ); | |
| 136 | - } | |
| 137 | - } | |
| 138 | - | |
| 139 | - | |
| 140 | 118 | // Default Admin Libs |
| 141 | 119 | if ( ( $where_to_load == 'admin' ) |
| 142 | 120 | // || ( is_admin() && ( defined( 'DOING_AJAX' ) ) && ( DOING_AJAX ) ) |
| 143 | 121 | ) { |
| @@ -189,9 +167,9 @@ | ||
| 189 | 167 | wp_enqueue_script( 'wpbm-admin-main', wpbm_plugin_url( '/js/admin.js'), array( 'wpbm-global-vars' ), '1.1'); |
| 190 | 168 | wp_enqueue_script( 'wpbm-admin-support', wpbm_plugin_url( '/core/any/js/admin-support.js'), array( 'wpbm-global-vars' ), '1.1'); |
| 191 | 169 | |
| 192 | 170 | // Chosen Library |
| 193 | - wp_enqueue_script( 'wpbm-chosen', wpbm_plugin_url( '/assets/libs/chosen/chosen.jquery.min.js'), array( 'wpbm-global-vars' ), '1.1' ); | |
| 171 | + //wp_enqueue_script( 'wpbm-chosen', wpbm_plugin_url( '/assets/libs/chosen/chosen.jquery.min.js'), array( 'wpbm-global-vars' ), '1.1' ); | |
| 194 | 172 | } |
| 195 | 173 | |
| 196 | 174 | } |
| 197 | 175 | |