|
3 | 3 | * Plugin Name: CMB2 Mapbox
|
4 | 4 | * Plugin URI:
|
5 | 5 | * Description: This plugin adds a new CMB2 fieldtype for adding a single point to a Mapbox map. This plugin requires CMB2 and a Mapbox access token.
|
6 |
| - * Version: 1.5.2 |
| 6 | + * Version: 1.5.3 |
7 | 7 | * Author: Rob Clark
|
8 | 8 | * Author URI: https://robclark.io
|
9 | 9 | * License: GPLv2 or later
|
@@ -59,11 +59,11 @@ function cmb2_mapbox_options_metabox() {
|
59 | 59 |
|
60 | 60 |
|
61 | 61 | function cmb2_mapbox_scripts() {
|
62 |
| - wp_enqueue_style( 'mapbox-gl', 'https://api.mapbox.com/mapbox-gl-js/v2.13.0/mapbox-gl.css', array(), null ); |
63 |
| - wp_enqueue_script( 'mapbox-gl', 'https://api.mapbox.com/mapbox-gl-js/v2.13.0/mapbox-gl.js', array(), null ); |
| 62 | + wp_enqueue_style( 'mapbox-gl', 'https://api.mapbox.com/mapbox-gl-js/v3.2.0/mapbox-gl.css', array(), null ); |
| 63 | + wp_enqueue_script( 'mapbox-gl', 'https://api.mapbox.com/mapbox-gl-js/v3.2.0/mapbox-gl.js', array(), null ); |
64 | 64 | if ( is_admin() ) {
|
65 |
| - wp_enqueue_style( 'mapbox-gl-draw', 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.1/mapbox-gl-draw.css', array(), null ); |
66 |
| - wp_enqueue_script( 'mapbox-gl-draw', 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.1/mapbox-gl-draw.js', array( 'mapbox-gl' ), null ); |
| 65 | + wp_enqueue_style( 'mapbox-gl-draw', 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.3/mapbox-gl-draw.css', array(), null ); |
| 66 | + wp_enqueue_script( 'mapbox-gl-draw', 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.3/mapbox-gl-draw.js', array( 'mapbox-gl' ), null ); |
67 | 67 | }
|
68 | 68 | }
|
69 | 69 |
|
|
0 commit comments