Version Description
- Fixed: Issue with apostrophe for the Twitter button.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Social Sharing |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- README.md +1 -1
- ocean-social-sharing.php +2 -2
- readme.txt +5 -2
- template/social-share.php +1 -1
README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
**Contributors:** Nick
|
4 |
**Requires at least:** WordPress 4.4
|
5 |
**Tested up to:** WordPress 4.9.1
|
6 |
-
**Stable tag:** 1.0.
|
7 |
**License:** GPLv2 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
3 |
**Contributors:** Nick
|
4 |
**Requires at least:** WordPress 4.4
|
5 |
**Tested up to:** WordPress 4.9.1
|
6 |
+
**Stable tag:** 1.0.9
|
7 |
**License:** GPLv2 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
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.
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.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.
|
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.9
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.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.9';
|
90 |
|
91 |
register_activation_hook( __FILE__, array( $this, 'install' ) );
|
92 |
|
readme.txt
CHANGED
@@ -3,14 +3,14 @@ Contributors: oceanwp
|
|
3 |
Tags: social, social sharing, social share, share, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
A simple plugin to add social share buttons to your posts.
|
13 |
-
This plugin requires the [OceanWP](https://oceanwp.org) theme to be installed.
|
14 |
|
15 |
= Key Features =
|
16 |
|
@@ -47,6 +47,9 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 1.0.8 =
|
51 |
- Added: New field in the customizer to choose your social icons position: before, after or before and after.
|
52 |
- Added: Spanish language, thank you to Angel Julian Mena.
|
3 |
Tags: social, social sharing, social share, share, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.1
|
6 |
+
Stable tag: 1.0.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
A simple plugin to add social share buttons to your posts.
|
13 |
+
This plugin requires the [OceanWP](https://oceanwp.org/) theme to be installed.
|
14 |
|
15 |
= Key Features =
|
16 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.0.9 =
|
51 |
+
- Fixed: Issue with apostrophe for the Twitter button.
|
52 |
+
|
53 |
= 1.0.8 =
|
54 |
- Added: New field in the customizer to choose your social icons position: before, after or before and after.
|
55 |
- Added: Spanish language, thank you to Angel Julian Mena.
|
template/social-share.php
CHANGED
@@ -95,7 +95,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
95 |
$handle = get_theme_mod( 'oss_social_share_twitter_handle' ); ?>
|
96 |
|
97 |
<li class="twitter">
|
98 |
-
<a href="https://twitter.com/share?text=<?php echo
|
99 |
<span class="oss-icon-wrap">
|
100 |
<svg class="oss-icon" aria-labelledby="oss-twitter-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
101 |
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
|
95 |
$handle = get_theme_mod( 'oss_social_share_twitter_handle' ); ?>
|
96 |
|
97 |
<li class="twitter">
|
98 |
+
<a href="https://twitter.com/share?text=<?php echo esc_attr( $title ); ?>&url=<?php echo rawurlencode( esc_url( $url ) ); ?><?php if ( $handle ) echo '&via='. esc_attr( $handle ); ?>" title="<?php esc_html_e( 'Share on Twitter', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
99 |
<span class="oss-icon-wrap">
|
100 |
<svg class="oss-icon" aria-labelledby="oss-twitter-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
101 |
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
|