Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 3.6 |
| Comparing to | |
| See all releases | |
Code changes from version 3.5 to 3.6
- README.md +4 -0
- public/class-public.php +1 -1
- public/class-register.php +0 -1
- public/class-vars.php +1 -1
- readme.txt +4 -0
- wc-shortcodes.php +1 -1
README.md
CHANGED
|
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 66 |
|
| 67 |
## Changelog ##
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
### Version 3.5
|
| 70 |
|
| 71 |
* Fixed bug with "no" attribute value not being read correctly.
|
| 66 |
|
| 67 |
## Changelog ##
|
| 68 |
|
| 69 |
+
### Version 3.6
|
| 70 |
+
|
| 71 |
+
* Fixed bug with JS error being produced when Google API Key was not inserted.
|
| 72 |
+
|
| 73 |
### Version 3.5
|
| 74 |
|
| 75 |
* Fixed bug with "no" attribute value not being read correctly.
|
public/class-public.php
CHANGED
|
@@ -94,10 +94,10 @@ class WPC_Shortcodes_Public extends WPC_Shortcodes_Vars {
|
|
| 94 |
wp_register_script( 'wc-shortcodes-accordion', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/accordion.js', array ( 'jquery' ), $ver, true );
|
| 95 |
wp_register_script( 'wc-shortcodes-prettify', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/prettify.js', array ( ), $ver, true );
|
| 96 |
wp_register_script( 'wc-shortcodes-pre', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/pre.js', array ( 'jquery' ), $ver, true );
|
| 97 |
-
wp_register_script( 'wc-shortcodes-googlemap', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/googlemap.js', array('jquery'), $ver, true);
|
| 98 |
|
| 99 |
if ( $api_key = get_option( WC_SHORTCODES_PREFIX . 'google_maps_api_key', true ) ) {
|
| 100 |
wp_register_script( 'wc-shortcodes-googlemap-api', 'https://maps.googleapis.com/maps/api/js?key=' . urlencode( $api_key ), array('jquery'), $ver, true);
|
|
|
|
| 101 |
}
|
| 102 |
wp_register_script( 'wc-shortcodes-skillbar', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/skillbar.js', array ( 'jquery' ), $ver, true );
|
| 103 |
wp_register_script( 'wc-shortcodes-fullwidth', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/fullwidth.js', array ( 'jquery' ), $ver, true );
|
| 94 |
wp_register_script( 'wc-shortcodes-accordion', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/accordion.js', array ( 'jquery' ), $ver, true );
|
| 95 |
wp_register_script( 'wc-shortcodes-prettify', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/prettify.js', array ( ), $ver, true );
|
| 96 |
wp_register_script( 'wc-shortcodes-pre', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/pre.js', array ( 'jquery' ), $ver, true );
|
|
|
|
| 97 |
|
| 98 |
if ( $api_key = get_option( WC_SHORTCODES_PREFIX . 'google_maps_api_key', true ) ) {
|
| 99 |
wp_register_script( 'wc-shortcodes-googlemap-api', 'https://maps.googleapis.com/maps/api/js?key=' . urlencode( $api_key ), array('jquery'), $ver, true);
|
| 100 |
+
wp_register_script( 'wc-shortcodes-googlemap', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/googlemap.js', array('jquery', 'wc-shortcodes-googlemap-api'), $ver, true);
|
| 101 |
}
|
| 102 |
wp_register_script( 'wc-shortcodes-skillbar', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/skillbar.js', array ( 'jquery' ), $ver, true );
|
| 103 |
wp_register_script( 'wc-shortcodes-fullwidth', WC_SHORTCODES_PLUGIN_URL . 'public/assets/js/fullwidth.js', array ( 'jquery' ), $ver, true );
|
public/class-register.php
CHANGED
|
@@ -880,7 +880,6 @@ class WPC_Shortcodes_Register extends WPC_Shortcodes_Vars {
|
|
| 880 |
|
| 881 |
// load scripts
|
| 882 |
wp_enqueue_script('wc-shortcodes-googlemap');
|
| 883 |
-
wp_enqueue_script('wc-shortcodes-googlemap-api');
|
| 884 |
|
| 885 |
$class = array();
|
| 886 |
$class[] = 'googlemap';
|
| 880 |
|
| 881 |
// load scripts
|
| 882 |
wp_enqueue_script('wc-shortcodes-googlemap');
|
|
|
|
| 883 |
|
| 884 |
$class = array();
|
| 885 |
$class[] = 'googlemap';
|
public/class-vars.php
CHANGED
|
@@ -8,7 +8,7 @@ class WPC_Shortcodes_Vars {
|
|
| 8 |
*
|
| 9 |
* @var string
|
| 10 |
*/
|
| 11 |
-
const VERSION = '3.
|
| 12 |
const DB_VERSION = '1.0';
|
| 13 |
|
| 14 |
/**
|
| 8 |
*
|
| 9 |
* @var string
|
| 10 |
*/
|
| 11 |
+
const VERSION = '3.6';
|
| 12 |
const DB_VERSION = '1.0';
|
| 13 |
|
| 14 |
/**
|
readme.txt
CHANGED
|
@@ -88,6 +88,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
= Version 3.5 =
|
| 92 |
|
| 93 |
* Fixed bug with "no" attribute value not being read correctly.
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
| 91 |
+
= Version 3.6 =
|
| 92 |
+
|
| 93 |
+
* Fixed bug with JS error being produced when Google API Key was not inserted.
|
| 94 |
+
|
| 95 |
= Version 3.5 =
|
| 96 |
|
| 97 |
* Fixed bug with "no" attribute value not being read correctly.
|
wc-shortcodes.php
CHANGED
|
@@ -5,7 +5,7 @@ Plugin URI: http://webplantmedia.com/starter-themes/wordpresscanvas/features/sho
|
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
-
Version: 3.
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
+
Version: 3.6
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
