Skip to content

Commit af0abe4

Browse files
committed
v1.0.5 changes
1 parent fde4bb2 commit af0abe4

File tree

4 files changed

+14
-46
lines changed

4 files changed

+14
-46
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Simple Sharing Changelog
22

3+
## 1.0.5 - 2019-08-13
4+
5+
### Fixed
6+
- Resolved broken twitter link.
7+
8+
### Updated
9+
- Removed Google Plus
10+
11+
### Added
12+
- Support for new links including Mix (prev StumbleUpon), Tumblr and Reddit.
13+
314
## 1.0.4 - 2019-03-14
415

516
### Updated

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "wrav/simplesharing",
33
"description": "Simple Sharing generates social media share links within CP entry pages, allowing you to quickly & easily share entries.",
44
"type": "craft-plugin",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"keywords": [
77
"craft",
88
"cms",

releases.json

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

src/variables/SimpleSharingVariable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function link($url, $service)
4747
return 'https://www.facebook.com/sharer/sharer.php?u='.$encodedUrl;
4848
break;
4949
case 'twitter':
50-
return 'https://twitter.com/intent/tweet?text='.$encodedUrl;
50+
return 'https://twitter.com/intent/tweet?text='.$encodedUrl;
5151
break;
5252
case 'linkedin':
5353
return 'https://www.linkedin.com/shareArticle?mini=true&title=&summary=&source=&url='.$encodedUrl;
@@ -59,7 +59,7 @@ public function link($url, $service)
5959
return 'https://mix.com/add?url='.$encodedUrl;
6060
break;
6161
case 'tumblr':
62-
return 'https://www.tumblr.com/share/link?'.$encodedUrl;
62+
return 'https://www.tumblr.com/share/link?url='.$encodedUrl;
6363
break;
6464
case 'reddit':
6565
return 'http://www.reddit.com/submit?url='.$encodedUrl;

0 commit comments

Comments
 (0)