Shortcodes by Angie Makes - Version 3.8

Version Description

Download this release

Release Info

Developer cbaldelomar
Plugin Icon wp plugin Shortcodes by Angie Makes
Version 3.8
Comparing to
See all releases

Code changes from version 3.7 to 3.8

README.md CHANGED
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
66
 
67
  ## Changelog ##
68
 
 
 
 
 
69
  ### Version 3.7
70
 
71
  * Inserted message to encouarge google map users to enter API key.
66
 
67
  ## Changelog ##
68
 
69
+ ### Version 3.8
70
+
71
+ * If theme support options are set, assume theme_reset is true, unless user-defined.
72
+
73
  ### Version 3.7
74
 
75
  * Inserted message to encouarge google map users to enter API key.
public/class-public.php CHANGED
@@ -46,6 +46,10 @@ class WPC_Shortcodes_Public extends WPC_Shortcodes_Vars {
46
  $supports = get_theme_support( 'wpc-shortcodes' );
47
 
48
  if ( isset( $supports[0] ) && is_array( $supports[0] ) ) {
 
 
 
 
49
  foreach ( $supports[0] as $key => $value ) {
50
  parent::$theme_support[ $key ] = $value;
51
  }
46
  $supports = get_theme_support( 'wpc-shortcodes' );
47
 
48
  if ( isset( $supports[0] ) && is_array( $supports[0] ) ) {
49
+ // If theme support options are set, assume theme_reset is true, unless user-defined.
50
+ if ( ! isset( $supports[0]['theme_reset'] ) ) {
51
+ parent::$theme_support['theme_reset'] = true;
52
+ }
53
  foreach ( $supports[0] as $key => $value ) {
54
  parent::$theme_support[ $key ] = $value;
55
  }
public/class-vars.php CHANGED
@@ -8,7 +8,7 @@ class WPC_Shortcodes_Vars {
8
  *
9
  * @var string
10
  */
11
- const VERSION = '3.7';
12
  const DB_VERSION = '1.0';
13
 
14
  /**
8
  *
9
  * @var string
10
  */
11
+ const VERSION = '3.8';
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.7 =
92
 
93
  * Inserted message to encouarge google map users to enter API key.
88
 
89
  == Changelog ==
90
 
91
+ = Version 3.8 =
92
+
93
+ * If theme support options are set, assume theme_reset is true, unless user-defined.
94
+
95
  = Version 3.7 =
96
 
97
  * Inserted message to encouarge google map users to enter API key.
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.7
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.8
9
  License: GPLv2 or later
10
  */
11