Skip to content

Commit ae73c94

Browse files
committed
version 1.0.3
1 parent 719dbbf commit ae73c94

File tree

4 files changed

+38
-16
lines changed

4 files changed

+38
-16
lines changed

release.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version=1.0.3
2+
if [ "$1" = "zip" ]; then
3+
rm -rf shariff-wp
4+
mkdir -p shariff-wp
5+
cp -R src/ shariff-wp
6+
mkdir -p shariff-wp/dep
7+
cp shariff/build/shariff.min.* shariff-wp/dep
8+
cp -R backend-php/build/src shariff-wp/backend/src
9+
cp -R backend-php/build/vendor shariff-wp/backend/vendor
10+
# remove backend/vendor/guzzlehttp/guzzle/tests/perf.php so WordPress.org doesn't complain
11+
rm -f shariff-wp/backend/vendor/guzzlehttp/guzzle/tests/perf.php
12+
zip -r shariff-wp-$version.zip shariff-wp
13+
rm -rf shariff-wp
14+
elif [ "$1" = "svn" ]; then
15+
mkdir -p shariff-svn
16+
svn co http://plugins.svn.wordpress.org/shariff-sharing/ shariff-svn
17+
rm -rf shariff-svn/trunk/*
18+
cp -R src/ shariff-svn/trunk
19+
mkdir -p shariff-svn/trunk/dep
20+
cp shariff/build/shariff.min.* shariff-svn/trunk/dep
21+
cp -R backend-php/build/src shariff-svn/trunk/backend/src
22+
cp -R backend-php/build/vendor shariff-svn/trunk/backend/vendor
23+
# remove backend/vendor/guzzlehttp/guzzle/tests/perf.php so WordPress.org doesn't complain
24+
rm -f shariff-svn/trunk/backend/vendor/guzzlehttp/guzzle/tests/perf.php
25+
else
26+
echo "Nothing specified! Exiting..."
27+
exit 1
28+
fi

src/readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: yanniks
33
Tags: sharing, social, networks, network, privacy, facebook, twitter, google, whatsapp, heise
44
Requires at least: 3.0
55
Tested up to: 4.0.1
6-
Stable tag: 1.0.2
6+
Stable tag: 1.0.3
77
License: MIT
88
License URI: http://opensource.org/licenses/MIT
99

@@ -38,10 +38,16 @@ Select which color you want, set the button location, select the orientation fit
3838

3939
= How do I hide Shariff on a page? =
4040

41-
Just include `hideshariff` in the article. The word will be removed automatically and Shariff will not be shown. If you want to write hidesharrif in an article without removing Shariff, just write `/hideshariff`.
41+
**Method A:** Edit the article and check `Deactivate Shariff?`.
42+
43+
**Method B:** Include `hideshariff` in the article. The word will be removed automatically and Shariff will not be shown. If you want to write hidesharrif in an article without removing Shariff, just write `/hideshariff`.
4244

4345
== Changelog ==
4446

47+
= 1.0.3 =
48+
* Include latest upstream changes
49+
* Checkbox to hide Shariff when editing articles or pages
50+
4551
= 1.0.2 =
4652
* Own settings page
4753
* Possibility to hide Shariff on a certain page

src/shariff-wp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Shariff for Wordpress
44
* Plugin URI: http://www.heise.de/newsticker/meldung/c-t-entwickelt-datenschutzfreundliche-Social-Media-Buttons-weiter-2466687.html
55
* Description: Shariff enables website users to share their favorite content without compromising their privacy.
6-
* Version: 1.0.2
6+
* Version: 1.0.3
77
* Author: Heise Zeitschriften Verlag / Yannik Ehlert
88
* Author URI: http://www.heise.de
99
* Text Domain: shariff
@@ -214,4 +214,4 @@ function save_details(){
214214
add_action('init','init_locale');
215215
add_action('wp_enqueue_scripts', 'loadshariff');
216216
add_action('wp_footer','loadjs');
217-
add_filter('the_content','shariffsharing');
217+
add_filter('the_content','shariffsharing');

zip.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)