Social Share WordPress Plugin – AccessPress Social Share - Version 4.0.7

Version Description

  • Removal of unnecessary codes for the twitter share counts using third party API.
  • Addition of language file for fr_CA
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Share WordPress Plugin – AccessPress Social Share
Version 4.0.7
Comparing to
See all releases

Code changes from version 4.0.6 to 4.0.7

accesspress-social-share.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
- Version: 4.0.6
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
@@ -30,7 +30,7 @@ if ( !defined( 'APSS_LANG_DIR' ) ) {
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
- define( 'APSS_VERSION', '4.0.6' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -423,7 +423,6 @@ if ( !class_exists( 'APSS_Class' ) ) {
423
  }else{
424
  $api_selection = '1';
425
  }
426
- // $json_string = $this->get_json_values( 'http://urls.api.twitter.com/1/urls/count.json?url=' . $url );
427
 
428
  if($api_selection == '2'){
429
  $json_string = $this->get_json_values( 'http://public.newsharecounts.com/count.json?url=' . $url );
@@ -432,6 +431,7 @@ if ( !class_exists( 'APSS_Class' ) ) {
432
  $json_string = $this->get_json_values( 'http://opensharecount.com/count.json?url=' . $url );
433
 
434
  }else{
 
435
  $json_string = $this->get_json_values( 'http://urls.api.twitter.com/1/urls/count.json?url=' . $url );
436
  }
437
 
@@ -445,14 +445,6 @@ if ( !class_exists( 'APSS_Class' ) ) {
445
  } else {
446
  $tweet_count = $twitter_transient_count;
447
  }
448
-
449
- // $json_string = $this->get_json_values( 'http://opensharecount.com/count.json?url=' . $url );
450
- // // $json_string = $this->get_json_values( 'http://public.newsharecounts.com/count.json?url=' . $url );
451
- // $json = json_decode( $json_string, true );
452
- // echo $json['count'];
453
- // print_r($json);
454
- // die();
455
-
456
  return $tweet_count;
457
  }
458
 
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
+ Version: 4.0.7
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
+ define( 'APSS_VERSION', '4.0.7' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
423
  }else{
424
  $api_selection = '1';
425
  }
 
426
 
427
  if($api_selection == '2'){
428
  $json_string = $this->get_json_values( 'http://public.newsharecounts.com/count.json?url=' . $url );
431
  $json_string = $this->get_json_values( 'http://opensharecount.com/count.json?url=' . $url );
432
 
433
  }else{
434
+ // depriciated url share count. returns null
435
  $json_string = $this->get_json_values( 'http://urls.api.twitter.com/1/urls/count.json?url=' . $url );
436
  }
437
 
445
  } else {
446
  $tweet_count = $twitter_transient_count;
447
  }
 
 
 
 
 
 
 
 
448
  return $tweet_count;
449
  }
450
 
languages/accesspress-social-share-fr_CA.po ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: accesspress-social-share\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-10-05 14:46+0545\n"
6
+ "PO-Revision-Date: Wed Feb 10 2016 12:02:45 GMT-0500 (EST)\n"
7
+ "Last-Translator: François <francois.colpron@vitessedecroisiere.ca>\n"
8
+ "Language-Team: AccessPress Themes <devteam2070@gmail.com>\n"
9
+ "Language: French (Canada)\n"
10
+ "Plural-Forms: nplurals=2; plural=n > 1\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Generator: Loco - https://localise.biz/\n"
16
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
17
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
18
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
19
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
20
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
21
+ "X-Poedit-Basepath: .\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+ "X-Poedit-SearchPath-1: ..\n"
24
+ "X-Loco-Target-Locale: fr_CA"
25
+
26
+ #: ../accesspress-social-share.php:222
27
+ msgid "Settings restored Successfully."
28
+ msgstr ""
29
+
30
+ #: ../accesspress-social-share.php:245
31
+ msgid "Cache cleared Successfully"
32
+ msgstr ""
33
+
34
+ #: ../accesspress-social-share.php:303
35
+ msgid "Hide share icons in content"
36
+ msgstr ""
37
+
38
+ #: ../inc/backend/about-apss.php:2
39
+ msgid "About Us"
40
+ msgstr ""
41
+
42
+ #: ../inc/backend/main-page.php:8
43
+ msgid "Follow us for new updates"
44
+ msgstr ""
45
+
46
+ #: ../inc/backend/main-page.php:25
47
+ msgid "AccessPress Social Share"
48
+ msgstr ""
49
+
50
+ #: ../inc/backend/main-page.php:44
51
+ msgid "Social Networks"
52
+ msgstr ""
53
+
54
+ #: ../inc/backend/main-page.php:45
55
+ msgid "Share Options"
56
+ msgstr ""
57
+
58
+ #: ../inc/backend/main-page.php:46
59
+ msgid "Display Settings"
60
+ msgstr ""
61
+
62
+ #: ../inc/backend/main-page.php:47
63
+ msgid "Miscellaneous"
64
+ msgstr ""
65
+
66
+ #: ../inc/backend/main-page.php:48
67
+ msgid "How To Use"
68
+ msgstr ""
69
+
70
+ #: ../inc/backend/main-page.php:49
71
+ msgid "About"
72
+ msgstr ""
73
+
74
+ #: ../inc/backend/main-page.php:53
75
+ msgid "Social Media chooser:"
76
+ msgstr ""
77
+
78
+ #: ../inc/backend/main-page.php:54
79
+ msgid ""
80
+ "Please choose the social media you want to display. Also you can order these "
81
+ "social media's by drag and drop:"
82
+ msgstr ""
83
+
84
+ #: ../inc/backend/main-page.php:83
85
+ msgid "Share options:"
86
+ msgstr ""
87
+
88
+ #: ../inc/backend/main-page.php:84
89
+ msgid "Please choose the options where you want to display social share icons:"
90
+ msgstr ""
91
+
92
+ #: ../inc/backend/main-page.php:87
93
+ msgid "Posts"
94
+ msgstr ""
95
+
96
+ #: ../inc/backend/main-page.php:90
97
+ msgid "Pages"
98
+ msgstr ""
99
+
100
+ #: ../inc/backend/main-page.php:94
101
+ msgid "Front Page"
102
+ msgstr ""
103
+
104
+ #: ../inc/backend/main-page.php:97
105
+ msgid "Archives"
106
+ msgstr ""
107
+
108
+ #: ../inc/backend/main-page.php:101
109
+ msgid "Attachment pages"
110
+ msgstr ""
111
+
112
+ #: ../inc/backend/main-page.php:105
113
+ msgid "Categories"
114
+ msgstr ""
115
+
116
+ #: ../inc/backend/main-page.php:108
117
+ msgid "Other (search results, etc)"
118
+ msgstr ""
119
+
120
+ #: ../inc/backend/main-page.php:114
121
+ msgid "Display position:"
122
+ msgstr ""
123
+
124
+ #: ../inc/backend/main-page.php:115
125
+ msgid "Please choose the option where you want to display the social share:"
126
+ msgstr ""
127
+
128
+ #: ../inc/backend/main-page.php:118
129
+ msgid "Below content"
130
+ msgstr ""
131
+
132
+ #: ../inc/backend/main-page.php:121
133
+ msgid "Above content"
134
+ msgstr ""
135
+
136
+ #: ../inc/backend/main-page.php:124
137
+ msgid "Both(Below content and Above content)"
138
+ msgstr ""
139
+
140
+ #: ../inc/backend/main-page.php:127
141
+ msgid "Social icons sets: "
142
+ msgstr ""
143
+
144
+ #: ../inc/backend/main-page.php:128
145
+ msgid "Please choose any one out of available icon themes:"
146
+ msgstr ""
147
+
148
+ #: ../inc/backend/main-page.php:138
149
+ msgid "Miscellaneous settings: "
150
+ msgstr ""
151
+
152
+ #: ../inc/backend/main-page.php:139
153
+ msgid "Please setup these additional settings:"
154
+ msgstr ""
155
+
156
+ #: ../inc/backend/main-page.php:142
157
+ msgid "Disable the plugins frontend assets?"
158
+ msgstr ""
159
+
160
+ #: ../inc/backend/main-page.php:145 ../inc/backend/main-page.php:172
161
+ #: ../inc/backend/main-page.php:182
162
+ msgid "No"
163
+ msgstr ""
164
+
165
+ #: ../inc/backend/main-page.php:148 ../inc/backend/main-page.php:175
166
+ #: ../inc/backend/main-page.php:185
167
+ msgid "Yes"
168
+ msgstr ""
169
+
170
+ #: ../inc/backend/main-page.php:151
171
+ msgid ""
172
+ "Please set this value if you don't want to use plguins frontend assets(js "
173
+ "and css files)."
174
+ msgstr ""
175
+
176
+ #: ../inc/backend/main-page.php:156
177
+ msgid "Share text:"
178
+ msgstr ""
179
+
180
+ #: ../inc/backend/main-page.php:160
181
+ msgid ""
182
+ "Please enter the share text to make it appear above social share icons. "
183
+ "Leave blank if you don't want to use share text."
184
+ msgstr ""
185
+
186
+ #: ../inc/backend/main-page.php:165
187
+ msgid "Twitter username:"
188
+ msgstr ""
189
+
190
+ #: ../inc/backend/main-page.php:169
191
+ msgid "Social share counter enable?"
192
+ msgstr ""
193
+
194
+ #: ../inc/backend/main-page.php:179
195
+ msgid "Social share total counter enable?"
196
+ msgstr ""
197
+
198
+ #: ../inc/backend/main-page.php:189
199
+ msgid "Social share link options:"
200
+ msgstr ""
201
+
202
+ #: ../inc/backend/main-page.php:192
203
+ msgid "Open in same window"
204
+ msgstr ""
205
+
206
+ #: ../inc/backend/main-page.php:195
207
+ msgid "Open in new window/Tab"
208
+ msgstr ""
209
+
210
+ #: ../inc/backend/main-page.php:199
211
+ msgid "Cache Settings: "
212
+ msgstr ""
213
+
214
+ #: ../inc/backend/main-page.php:200
215
+ msgid "Cache Period:"
216
+ msgstr ""
217
+
218
+ #: ../inc/backend/main-page.php:206
219
+ msgid ""
220
+ "Please enter the time in hours in which the social share counter should be "
221
+ "updated from social networks. Default is 24 hours."
222
+ msgstr ""
223
+
224
+ #: ../inc/backend/main-page.php:211
225
+ msgid "Email Settings:"
226
+ msgstr ""
227
+
228
+ #: ../inc/backend/main-page.php:213
229
+ msgid "Email subject:"
230
+ msgstr ""
231
+
232
+ #: ../inc/backend/main-page.php:217
233
+ msgid "Email body:"
234
+ msgstr ""
235
+
236
+ #: ../inc/backend/main-page.php:231
237
+ msgid "Save settings"
238
+ msgstr ""
239
+
240
+ #: ../inc/backend/main-page.php:240
241
+ msgid "Are you sure you want to restore default settings?"
242
+ msgstr ""
243
+
244
+ #: ../inc/backend/main-page.php:241
245
+ msgid "Are you sure you want to clear cache share counter?"
246
+ msgstr ""
247
+
248
+ #: ../inc/backend/save-settings.php:38
249
+ msgid "Settings Saved Successfully."
250
+ msgstr ""
251
+
252
+ #: ../inc/frontend/content-filter.php:36 ../inc/frontend/content-filter.php:39
253
+ #: ../inc/frontend/shortcode.php:63 ../inc/frontend/shortcode.php:66
254
+ msgid "Share on Facebook"
255
+ msgstr "Partagez sur Facebook"
256
+
257
+ #: ../inc/frontend/content-filter.php:40 ../inc/frontend/content-filter.php:84
258
+ #: ../inc/frontend/content-filter.php:104
259
+ #: ../inc/frontend/content-filter.php:125
260
+ #: ../inc/frontend/content-filter.php:144 ../inc/frontend/shortcode.php:67
261
+ #: ../inc/frontend/shortcode.php:111 ../inc/frontend/shortcode.php:130
262
+ #: ../inc/frontend/shortcode.php:149 ../inc/frontend/shortcode.php:170
263
+ msgid "Share"
264
+ msgstr ""
265
+
266
+ #: ../inc/frontend/content-filter.php:61 ../inc/frontend/content-filter.php:64
267
+ #: ../inc/frontend/shortcode.php:88 ../inc/frontend/shortcode.php:91
268
+ msgid "Share on Twitter"
269
+ msgstr "Partagez sur Twitter"
270
+
271
+ #: ../inc/frontend/content-filter.php:64 ../inc/frontend/shortcode.php:91
272
+ msgid "Tweet"
273
+ msgstr ""
274
+
275
+ #: ../inc/frontend/content-filter.php:80 ../inc/frontend/content-filter.php:83
276
+ #: ../inc/frontend/shortcode.php:107 ../inc/frontend/shortcode.php:110
277
+ msgid "Share on Google Plus"
278
+ msgstr "Partagez sur Google+"
279
+
280
+ #: ../inc/frontend/content-filter.php:100
281
+ #: ../inc/frontend/content-filter.php:103 ../inc/frontend/shortcode.php:126
282
+ #: ../inc/frontend/shortcode.php:129
283
+ msgid "Share on Pinterest"
284
+ msgstr "Partagez sur Pinterest"
285
+
286
+ #: ../inc/frontend/content-filter.php:122
287
+ #: ../inc/frontend/content-filter.php:124 ../inc/frontend/shortcode.php:146
288
+ #: ../inc/frontend/shortcode.php:148
289
+ msgid "Share on LinkedIn"
290
+ msgstr "Partagez sur LinkedIn"
291
+
292
+ #: ../inc/frontend/content-filter.php:140
293
+ #: ../inc/frontend/content-filter.php:143 ../inc/frontend/shortcode.php:166
294
+ #: ../inc/frontend/shortcode.php:169
295
+ msgid "Share on Digg"
296
+ msgstr "Partagez sur Digg"
297
+
298
+ #: ../inc/frontend/content-filter.php:161 ../inc/frontend/shortcode.php:187
299
+ msgid "Share it on Email"
300
+ msgstr "Envoyez par courriel à un ami"
301
+
302
+ #: ../inc/frontend/content-filter.php:164 ../inc/frontend/shortcode.php:190
303
+ msgid "Send email"
304
+ msgstr ""
305
+
306
+ #: ../inc/frontend/content-filter.php:165 ../inc/frontend/shortcode.php:191
307
+ msgid "Mail"
308
+ msgstr ""
309
+
310
+ #: ../inc/frontend/content-filter.php:176
311
+ #: ../inc/frontend/content-filter.php:179
312
+ #: ../inc/frontend/content-filter.php:180 ../inc/frontend/shortcode.php:202
313
+ #: ../inc/frontend/shortcode.php:204 ../inc/frontend/shortcode.php:205
314
+ msgid "Print"
315
+ msgstr "Imprimez"
316
+
317
+ #: ../inc/frontend/content-filter.php:193 ../inc/frontend/shortcode.php:219
318
+ msgid " Total"
319
+ msgstr ""
320
+
321
+ #: ../inc/frontend/content-filter.php:194 ../inc/frontend/shortcode.php:220
322
+ msgid " Shares"
323
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social share counter, social share, social media share, social network sha
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
- Stable tag: 4.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,10 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
 
 
 
 
134
  = 4.0.6 =
135
  * Addition of note section for the new twitter share count options.
136
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.4
7
+ Stable tag: 4.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
134
+ = 4.0.7 =
135
+ * Removal of unnecessary codes for the twitter share counts using third party API.
136
+ * Addition of language file for fr_CA
137
+
138
  = 4.0.6 =
139
  * Addition of note section for the new twitter share count options.
140