Version Description
Download this release
Release Info
Developer | cbaldelomar |
Plugin | Shortcodes by Angie Makes |
Version | 1.81 |
Comparing to | |
See all releases |
Code changes from version 1.80 to 1.81
- README.md +4 -0
- includes/shortcode-functions.php +2 -2
- readme.txt +4 -0
- wc-shortcodes.php +2 -2
README.md
CHANGED
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
66 |
|
67 |
## Changelog ##
|
68 |
|
|
|
|
|
|
|
|
|
69 |
### Version 1.80
|
70 |
|
71 |
* changed urlencode to rawurlencode
|
66 |
|
67 |
## Changelog ##
|
68 |
|
69 |
+
### Version 1.81
|
70 |
+
|
71 |
+
* Load all sharing service scripts over SSL
|
72 |
+
|
73 |
### Version 1.80
|
74 |
|
75 |
* changed urlencode to rawurlencode
|
includes/shortcode-functions.php
CHANGED
@@ -1513,7 +1513,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1513 |
switch ( $key ) {
|
1514 |
case 'pinterest' :
|
1515 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1516 |
-
$html .='<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','
|
1517 |
switch ( $format ) {
|
1518 |
case 'image' :
|
1519 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
@@ -1530,7 +1530,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1530 |
break;
|
1531 |
case 'facebook' :
|
1532 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1533 |
-
$html .='<a target="_blank" href="
|
1534 |
switch ( $format ) {
|
1535 |
case 'image' :
|
1536 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1513 |
switch ( $key ) {
|
1514 |
case 'pinterest' :
|
1515 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1516 |
+
$html .='<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());">';
|
1517 |
switch ( $format ) {
|
1518 |
case 'image' :
|
1519 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1530 |
break;
|
1531 |
case 'facebook' :
|
1532 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1533 |
+
$html .='<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u='.get_permalink().'&t='.rawurlencode( html_entity_decode( get_the_title(), ENT_QUOTES, $charset ) ).'">';
|
1534 |
switch ( $format ) {
|
1535 |
case 'image' :
|
1536 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
readme.txt
CHANGED
@@ -88,6 +88,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
|
|
91 |
= Version 1.80 =
|
92 |
|
93 |
* changed urlencode to rawurlencode
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= Version 1.81 =
|
92 |
+
|
93 |
+
* Load all sharing service scripts over SSL
|
94 |
+
|
95 |
= Version 1.80 =
|
96 |
|
97 |
* changed urlencode to rawurlencode
|
wc-shortcodes.php
CHANGED
@@ -5,11 +5,11 @@ 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: 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.81
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
12 |
+
define( 'WC_SHORTCODES_VERSION', '1.81' );
|
13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|