Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 3.5 |
| Comparing to | |
| See all releases | |
Code changes from version 3.4 to 3.5
- README.md +4 -0
- public/class-sanitize.php +2 -2
- 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.4
|
| 70 |
|
| 71 |
* Fixed bug with posts menu option not triggering visual manager
|
| 66 |
|
| 67 |
## Changelog ##
|
| 68 |
|
| 69 |
+
### Version 3.5
|
| 70 |
+
|
| 71 |
+
* Fixed bug with "no" attribute value not being read correctly.
|
| 72 |
+
|
| 73 |
### Version 3.4
|
| 74 |
|
| 75 |
* Fixed bug with posts menu option not triggering visual manager
|
public/class-sanitize.php
CHANGED
|
@@ -145,7 +145,7 @@ class WPC_Shortcodes_Sanitize {
|
|
| 145 |
$bools = array( 'ignore_sticky_posts', 'show_meta_category', 'nopaging', 'show_title', 'show_meta_all', 'show_meta_author', 'show_meta_date', 'show_meta_comments', 'show_thumbnail', 'show_content', 'show_paging', 'filtering' );
|
| 146 |
foreach ( $bools as $key ) {
|
| 147 |
if ( isset( $atts[ $key ] ) ) {
|
| 148 |
-
if ( "no" == $key ) {
|
| 149 |
$atts[ $key ] = 0;
|
| 150 |
}
|
| 151 |
else {
|
|
@@ -228,7 +228,7 @@ class WPC_Shortcodes_Sanitize {
|
|
| 228 |
$bools = array( 'ignore_sticky_posts', 'show_meta_category', 'show_title', 'show_content', 'slider_auto', 'nopaging' );
|
| 229 |
foreach ( $bools as $key ) {
|
| 230 |
if ( isset( $atts[ $key ] ) ) {
|
| 231 |
-
if ( "no" == $key ) {
|
| 232 |
$atts[ $key ] = 0;
|
| 233 |
}
|
| 234 |
else {
|
| 145 |
$bools = array( 'ignore_sticky_posts', 'show_meta_category', 'nopaging', 'show_title', 'show_meta_all', 'show_meta_author', 'show_meta_date', 'show_meta_comments', 'show_thumbnail', 'show_content', 'show_paging', 'filtering' );
|
| 146 |
foreach ( $bools as $key ) {
|
| 147 |
if ( isset( $atts[ $key ] ) ) {
|
| 148 |
+
if ( "no" == $atts[ $key ] ) {
|
| 149 |
$atts[ $key ] = 0;
|
| 150 |
}
|
| 151 |
else {
|
| 228 |
$bools = array( 'ignore_sticky_posts', 'show_meta_category', 'show_title', 'show_content', 'slider_auto', 'nopaging' );
|
| 229 |
foreach ( $bools as $key ) {
|
| 230 |
if ( isset( $atts[ $key ] ) ) {
|
| 231 |
+
if ( "no" == $atts[ $key ] ) {
|
| 232 |
$atts[ $key ] = 0;
|
| 233 |
}
|
| 234 |
else {
|
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.5';
|
| 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.4 =
|
| 92 |
|
| 93 |
* Fixed bug with posts menu option not triggering visual manager
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
| 91 |
+
= Version 3.5 =
|
| 92 |
+
|
| 93 |
+
* Fixed bug with "no" attribute value not being read correctly.
|
| 94 |
+
|
| 95 |
= Version 3.4 =
|
| 96 |
|
| 97 |
* Fixed bug with posts menu option not triggering visual manager
|
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.5
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
