Ocean Social Sharing - Version 1.0.5

Version Description

  • Issue with Facebook sharing url fixed.
Download this release

Release Info

Developer oceanwp
Plugin Icon 128x128 Ocean Social Sharing
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

ocean-social-sharing.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Ocean Social Sharing
4
  * Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
5
  * Description: A simple plugin to add social share buttons to your posts.
6
- * Version: 1.0.4
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.0.0
@@ -86,7 +86,7 @@ final class Ocean_Social_Sharing {
86
  $this->token = 'ocean-social-sharing';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
- $this->version = '1.0.4';
90
 
91
  register_activation_hook( __FILE__, array( $this, 'install' ) );
92
 
3
  * Plugin Name: Ocean Social Sharing
4
  * Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
5
  * Description: A simple plugin to add social share buttons to your posts.
6
+ * Version: 1.0.5
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.0.0
86
  $this->token = 'ocean-social-sharing';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
+ $this->version = '1.0.5';
90
 
91
  register_activation_hook( __FILE__, array( $this, 'install' ) );
92
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
3
  Tags: social, social sharing, social share, share, oceanwp
4
  Requires at least: 3.5
5
  Tested up to: 4.7.3
6
- Stable tag: 1.0.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -32,6 +32,9 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
32
 
33
  == Changelog ==
34
 
 
 
 
35
  = 1.0.4 =
36
  - Issue if you add more tag to your content fixed.
37
 
3
  Tags: social, social sharing, social share, share, oceanwp
4
  Requires at least: 3.5
5
  Tested up to: 4.7.3
6
+ Stable tag: 1.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
32
 
33
  == Changelog ==
34
 
35
+ = 1.0.5 =
36
+ - Issue with Facebook sharing url fixed.
37
+
38
  = 1.0.4 =
39
  - Issue if you add more tag to your content fixed.
40
 
template/social-share.php CHANGED
@@ -69,7 +69,7 @@ $title = get_the_title(); ?>
69
  if ( 'facebook' == $site ) { ?>
70
 
71
  <li class="facebook">
72
- <a href="http://www.facebook.com/share.php?u=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Facebook', 'ocean-social-sharing' ); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">
73
  <span class="fa fa-facebook"></span>
74
  </a>
75
  </li>
69
  if ( 'facebook' == $site ) { ?>
70
 
71
  <li class="facebook">
72
+ <a href="https://www.facebook.com/sharer.php?u=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Facebook', 'ocean-social-sharing' ); ?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">
73
  <span class="fa fa-facebook"></span>
74
  </a>
75
  </li>