Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.25 |
| Comparing to | |
| See all releases | |
Code changes from version 1.24 to 1.25
- README.md +5 -0
- includes/functions.php +3 -0
- includes/templates/entry-meta.php +1 -1
- readme.txt +5 -0
- wc-shortcodes.php +2 -2
README.md
CHANGED
|
@@ -65,6 +65,11 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 65 |
|
| 66 |
## Changelog ##
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
### Version 1.24
|
| 69 |
|
| 70 |
* Changed permission from read to manage_options
|
| 65 |
|
| 66 |
## Changelog ##
|
| 67 |
|
| 68 |
+
### Version 1.25
|
| 69 |
+
|
| 70 |
+
* force link in social media icons have http://
|
| 71 |
+
* Fixed date format string on isotope posts shortcode.
|
| 72 |
+
|
| 73 |
### Version 1.24
|
| 74 |
|
| 75 |
* Changed permission from read to manage_options
|
includes/functions.php
CHANGED
|
@@ -15,6 +15,9 @@ function wc_shortcodes_smart_social_link( $social_link, $name ) {
|
|
| 15 |
$social_link = 'mailto:'.$social_link;
|
| 16 |
}
|
| 17 |
break;
|
|
|
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
return $social_link;
|
| 15 |
$social_link = 'mailto:'.$social_link;
|
| 16 |
}
|
| 17 |
break;
|
| 18 |
+
default :
|
| 19 |
+
$social_link = esc_url( $social_link );
|
| 20 |
+
break;
|
| 21 |
}
|
| 22 |
|
| 23 |
return $social_link;
|
includes/templates/entry-meta.php
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
esc_url( get_permalink() ),
|
| 28 |
esc_attr( sprintf( __( 'Permalink to %s', 'wordpresscanvas' ), the_title_attribute( 'echo=0' ) ) ),
|
| 29 |
esc_attr( get_the_date( 'c' ) ),
|
| 30 |
-
esc_html( sprintf( '%2$s', get_post_format_string( get_post_format() ), get_the_date('M
|
| 31 |
);
|
| 32 |
}
|
| 33 |
?>
|
| 27 |
esc_url( get_permalink() ),
|
| 28 |
esc_attr( sprintf( __( 'Permalink to %s', 'wordpresscanvas' ), the_title_attribute( 'echo=0' ) ) ),
|
| 29 |
esc_attr( get_the_date( 'c' ) ),
|
| 30 |
+
esc_html( sprintf( '%2$s', get_post_format_string( get_post_format() ), get_the_date('M j, Y') ) )
|
| 31 |
);
|
| 32 |
}
|
| 33 |
?>
|
readme.txt
CHANGED
|
@@ -86,6 +86,11 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 86 |
|
| 87 |
== Changelog ==
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
### Version 1.24
|
| 90 |
|
| 91 |
* Changed permission from read to manage_options
|
| 86 |
|
| 87 |
== Changelog ==
|
| 88 |
|
| 89 |
+
### Version 1.25
|
| 90 |
+
|
| 91 |
+
* force link in social media icons have http://
|
| 92 |
+
* Fixed date format string on isotope posts shortcode.
|
| 93 |
+
|
| 94 |
### Version 1.24
|
| 95 |
|
| 96 |
* Changed permission from read to manage_options
|
wc-shortcodes.php
CHANGED
|
@@ -5,11 +5,11 @@ Plugin URI: http://wordpresscanvas.com/features/shortcodes/
|
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
-
Version: 1.
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 12 |
-
define( 'WC_SHORTCODES_VERSION', '1.
|
| 13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
| 14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
| 15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
+
Version: 1.25
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 12 |
+
define( 'WC_SHORTCODES_VERSION', '1.25' );
|
| 13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
| 14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
| 15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
