Shortcodes by Angie Makes - Version 1.79

Version Description

Download this release

Release Info

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

Code changes from version 1.78 to 1.79

README.md CHANGED
@@ -66,8 +66,9 @@ Use the shortcode manager in the TinyMCE text editor
66
 
67
  ## Changelog ##
68
 
69
- ### Version 1.78
70
 
 
71
  * Updated share links
72
 
73
  ### Version 1.77
66
 
67
  ## Changelog ##
68
 
69
+ ### Version 1.79
70
 
71
+ * changed urlencode to rawurlencode
72
  * Updated share links
73
 
74
  ### Version 1.77
includes/shortcode-functions.php CHANGED
@@ -1528,7 +1528,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
1528
  break;
1529
  case 'facebook' :
1530
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1531
- $html .='<a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u='.get_permalink().'&amp;t='.urlencode(get_the_title()).'">';
1532
  switch ( $format ) {
1533
  case 'image' :
1534
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
@@ -1545,7 +1545,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
1545
  break;
1546
  case 'twitter' :
1547
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1548
- $html .='<a target="_blank" onclick="return !window.open(this.href, \'Twitter\', \'width=500,height=430\')" href="https://twitter.com/share?text='.urlencode(get_the_title()).'&amp;url='.get_permalink().'" class="share-button-twitter" data-lang="en">';
1549
  switch ( $format ) {
1550
  case 'image' :
1551
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
@@ -1562,7 +1562,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
1562
  break;
1563
  case 'email' :
1564
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1565
- $html .='<a title="Share by Email" href="mailto:?subject='.urlencode(get_the_title()).'&amp;body='.get_permalink().'">';
1566
  switch ( $format ) {
1567
  case 'image' :
1568
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
1528
  break;
1529
  case 'facebook' :
1530
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1531
+ $html .='<a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u='.get_permalink().'&amp;t='.rawurlencode(get_the_title()).'">';
1532
  switch ( $format ) {
1533
  case 'image' :
1534
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
1545
  break;
1546
  case 'twitter' :
1547
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1548
+ $html .='<a target="_blank" href="https://twitter.com/share?text='.rawurlencode(get_the_title()).'&amp;url='.get_permalink().'" class="share-button-twitter" data-lang="en">';
1549
  switch ( $format ) {
1550
  case 'image' :
1551
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
1562
  break;
1563
  case 'email' :
1564
  $html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
1565
+ $html .='<a title="Share by Email" href="mailto:?subject='.rawurlencode(get_the_title()).'&amp;body='.get_permalink().'">';
1566
  switch ( $format ) {
1567
  case 'image' :
1568
  $html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
readme.txt CHANGED
@@ -88,8 +88,9 @@ Use the shortcode manager in the TinyMCE text editor
88
 
89
  == Changelog ==
90
 
91
- = Version 1.78 =
92
 
 
93
  * Updated share links
94
 
95
  = Version 1.77 =
88
 
89
  == Changelog ==
90
 
91
+ = Version 1.79 =
92
 
93
+ * changed urlencode to rawurlencode
94
  * Updated share links
95
 
96
  = Version 1.77 =
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.78
9
  License: GPLv2 or later
10
  */
11
 
12
- define( 'WC_SHORTCODES_VERSION', '1.78' );
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.79
9
  License: GPLv2 or later
10
  */
11
 
12
+ define( 'WC_SHORTCODES_VERSION', '1.79' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );