Skip to content

Commit 0a00fba

Browse files
committed
release 1.0.6 - bug fixes
1 parent 333f701 commit 0a00fba

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.0.5
1+
version=1.0.6
22
if [ "$1" = "zip" ]; then
33
rm -rf shariff-wp
44
mkdir -p shariff-wp

src/readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Select which color you want, set the button location, select the orientation fit
4444

4545
== Changelog ==
4646

47+
= 1.0.6 =
48+
* Bug fixes
49+
4750
= 1.0.5 =
4851
* Add Pinterest and XING (without count)
4952
* Fix mail

src/shariff-wp.php

Lines changed: 3 additions & 3 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.5
6+
* Version: 1.0.6
77
* Author: Heise Zeitschriften Verlag / Yannik Ehlert
88
* Author URI: http://www.heise.de
99
* Text Domain: shariff
@@ -80,7 +80,8 @@ function shariffsharing($content) {
8080
}
8181
if (get_option('shariff_image','leer') != 'leer') {
8282
if (strpos($content,'<img') !== false) {
83-
$imgurls = explode("\"",explode(">",strstr($content,"<img"))[0]);
83+
$tmp=explode(">",strstr($content,"<img"));
84+
$imgurls = explode("\"",$tmp[0]);
8485
$int = 0;
8586
foreach($imgurls as $imgurl) {
8687
$int = $int + 1;
@@ -264,7 +265,6 @@ function save_details(){
264265
update_post_meta($post->ID, "shariff_enabled", $_POST["shariff_enabled"]);
265266
}
266267
add_action("admin_init", "select_init");
267-
add_action('save_post', 'shariff_save_checkbox' );
268268
add_action('admin_menu','shariffconfigmenu');
269269
add_action('admin_init','init_settings');
270270
add_action('init','init_locale');

0 commit comments

Comments
 (0)