Rotating Tweets (Twitter widget and shortcode) - Version 1.3.17

Version Description

Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem display in Chrome.

=

Download this release

Release Info

Developer mpntod
Plugin Icon wp plugin Rotating Tweets (Twitter widget and shortcode)
Version 1.3.17
Comparing to
See all releases

Code changes from version 1.3.16 to 1.3.17

js/rotating_tweet.js CHANGED
@@ -43,7 +43,10 @@ jQuery(document).ready(function() {
43
  });
44
  /* If the height of the rotating tweet box is zero - kill the box and start again */
45
  var rt_height = jQuery(rotate_id).height();
46
- if(rt_height == 0) {
 
 
 
47
  var rt_children_id = rotate_id + ' .rotatingtweet';
48
  var rt_height = 0;
49
  /* Go through the tweets - get their height - and set the minimum height */
@@ -53,6 +56,7 @@ jQuery(document).ready(function() {
53
  rt_height = rt_tweet_height;
54
  }
55
  });
 
56
  var rt_height_px = rt_height + 'px';
57
  if(rotate_wp_debug) {
58
  console.log('Resetting height to rt_height_px '+rt_height_px);
43
  });
44
  /* If the height of the rotating tweet box is zero - kill the box and start again */
45
  var rt_height = jQuery(rotate_id).height();
46
+ if(rotate_wp_debug) {
47
+ console.log('Initial height: '+rt_height );
48
+ };
49
+ if( rt_height < 1 ) {
50
  var rt_children_id = rotate_id + ' .rotatingtweet';
51
  var rt_height = 0;
52
  /* Go through the tweets - get their height - and set the minimum height */
56
  rt_height = rt_tweet_height;
57
  }
58
  });
59
+ rt_height = rt_height + 20;
60
  var rt_height_px = rt_height + 'px';
61
  if(rotate_wp_debug) {
62
  console.log('Resetting height to rt_height_px '+rt_height_px);
languages/rotatingtweets-de_DE.mo CHANGED
Binary file
languages/rotatingtweets-de_DE.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.505\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
- "PO-Revision-Date: 2013-03-02 20:28-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: de_DE\n"
@@ -427,7 +427,7 @@ msgstr ""
427
 
428
  #: rotatingtweets.php:934 rotatingtweets.php:950
429
  msgid "Retweeted by %s"
430
- msgstr ""
431
 
432
  #: rotatingtweets.php:952
433
  msgid "Expand"
@@ -443,7 +443,7 @@ msgstr ""
443
 
444
  #: rotatingtweets.php:986
445
  msgid "Follow @%s"
446
- msgstr "Folgen @%s"
447
 
448
  #. Plugin Name of the plugin/theme
449
  msgid "Rotating Tweets (Twitter widget & shortcode)"
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.505\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
+ "PO-Revision-Date: 2013-03-15 12:24-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: de_DE\n"
427
 
428
  #: rotatingtweets.php:934 rotatingtweets.php:950
429
  msgid "Retweeted by %s"
430
+ msgstr "Retweetet von %s"
431
 
432
  #: rotatingtweets.php:952
433
  msgid "Expand"
443
 
444
  #: rotatingtweets.php:986
445
  msgid "Follow @%s"
446
+ msgstr "@%s folgen"
447
 
448
  #. Plugin Name of the plugin/theme
449
  msgid "Rotating Tweets (Twitter widget & shortcode)"
languages/rotatingtweets-es_ES.mo CHANGED
Binary file
languages/rotatingtweets-es_ES.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
- "PO-Revision-Date: 2013-03-02 20:29-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: es_ES\n"
@@ -428,7 +428,7 @@ msgstr ""
428
 
429
  #: rotatingtweets.php:934 rotatingtweets.php:950
430
  msgid "Retweeted by %s"
431
- msgstr ""
432
 
433
  #: rotatingtweets.php:952
434
  msgid "Expand"
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
+ "PO-Revision-Date: 2013-03-15 08:40-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: es_ES\n"
428
 
429
  #: rotatingtweets.php:934 rotatingtweets.php:950
430
  msgid "Retweeted by %s"
431
+ msgstr "Retwitteado por %s"
432
 
433
  #: rotatingtweets.php:952
434
  msgid "Expand"
languages/rotatingtweets-fr_FR.mo ADDED
Binary file
languages/rotatingtweets-fr_FR.po ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 Rotating Tweets (Twitter widget & shortcode)
2
+ # This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
+ "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
+ "PO-Revision-Date: 2013-03-15 08:43-0000\n"
9
+ "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
+ "Language-Team: \n"
11
+ "Language: es_ES\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Generator: Poedit 1.5.5\n"
18
+
19
+ #: rotatingtweets.php:41
20
+ msgid "A widget to show tweets for a particular user in rotation."
21
+ msgstr ""
22
+
23
+ #: rotatingtweets.php:130
24
+ msgid "Title:"
25
+ msgstr ""
26
+
27
+ #: rotatingtweets.php:131
28
+ msgid "Twitter name:"
29
+ msgstr ""
30
+
31
+ #: rotatingtweets.php:132
32
+ msgid "Include retweets?"
33
+ msgstr ""
34
+
35
+ #: rotatingtweets.php:133
36
+ msgid "Exclude replies?"
37
+ msgstr ""
38
+
39
+ #: rotatingtweets.php:134
40
+ msgid "Open all links in new window or tab?"
41
+ msgstr ""
42
+
43
+ #: rotatingtweets.php:135
44
+ msgid "How many tweets?"
45
+ msgstr ""
46
+
47
+ #: rotatingtweets.php:143
48
+ msgid "Speed"
49
+ msgstr ""
50
+
51
+ #: rotatingtweets.php:146
52
+ msgid "Faster (3 seconds)"
53
+ msgstr ""
54
+
55
+ #: rotatingtweets.php:147
56
+ msgid "Normal (4 seconds)"
57
+ msgstr ""
58
+
59
+ #: rotatingtweets.php:148
60
+ msgid "Slower (5 seconds)"
61
+ msgstr ""
62
+
63
+ #: rotatingtweets.php:149
64
+ msgid "Slowest (6 seconds)"
65
+ msgstr ""
66
+
67
+ #: rotatingtweets.php:150
68
+ msgid "Ultra slow (20 seconds)"
69
+ msgstr ""
70
+
71
+ #: rotatingtweets.php:162
72
+ msgid "Scroll Up"
73
+ msgstr ""
74
+
75
+ #: rotatingtweets.php:163
76
+ msgid "Scroll Down"
77
+ msgstr ""
78
+
79
+ #: rotatingtweets.php:164
80
+ msgid "Scroll Left"
81
+ msgstr ""
82
+
83
+ #: rotatingtweets.php:165
84
+ msgid "Scroll Right"
85
+ msgstr ""
86
+
87
+ #: rotatingtweets.php:166
88
+ msgid "Fade"
89
+ msgstr ""
90
+
91
+ #: rotatingtweets.php:170
92
+ msgid "Type of rotation"
93
+ msgstr ""
94
+
95
+ #: rotatingtweets.php:179
96
+ msgid "Display format"
97
+ msgstr ""
98
+
99
+ #: rotatingtweets.php:182
100
+ msgid "Original rotating tweets layout"
101
+ msgstr ""
102
+
103
+ #: rotatingtweets.php:183
104
+ msgid ""
105
+ "<a target='_blank' href='https://dev.twitter.com/terms/display-"
106
+ "guidelines'>Official Twitter guidelines</a> (regular)"
107
+ msgstr ""
108
+
109
+ #: rotatingtweets.php:184
110
+ msgid ""
111
+ "<a target='_blank' href='https://dev.twitter.com/terms/display-"
112
+ "guidelines'>Official Twitter guidelines</a> (wide)"
113
+ msgstr ""
114
+
115
+ #: rotatingtweets.php:194
116
+ msgid "Show tweet details?"
117
+ msgstr ""
118
+
119
+ #: rotatingtweets.php:197
120
+ msgid "Time/date of tweet"
121
+ msgstr ""
122
+
123
+ #: rotatingtweets.php:198
124
+ msgid "Name of person tweeting"
125
+ msgstr ""
126
+
127
+ #: rotatingtweets.php:199
128
+ msgid "Source of tweet"
129
+ msgstr ""
130
+
131
+ #: rotatingtweets.php:200
132
+ msgid "'reply &middot; retweet &middot; favorite' links"
133
+ msgstr ""
134
+
135
+ #: rotatingtweets.php:210
136
+ msgid "Show follow button?"
137
+ msgstr ""
138
+
139
+ #: rotatingtweets.php:213
140
+ msgctxt "Show follow button?"
141
+ msgid "None"
142
+ msgstr ""
143
+
144
+ #: rotatingtweets.php:214
145
+ msgid "Show name and number of followers"
146
+ msgstr ""
147
+
148
+ #: rotatingtweets.php:215
149
+ msgid "Show name only"
150
+ msgstr ""
151
+
152
+ #: rotatingtweets.php:216
153
+ msgid "Show followers only"
154
+ msgstr ""
155
+
156
+ #: rotatingtweets.php:217
157
+ msgid "Show button only"
158
+ msgstr ""
159
+
160
+ #: rotatingtweets.php:242
161
+ msgid "less than a second ago"
162
+ msgstr ""
163
+
164
+ #: rotatingtweets.php:243
165
+ msgid "%d seconds ago"
166
+ msgstr ""
167
+
168
+ #: rotatingtweets.php:244
169
+ msgid "about a minute ago"
170
+ msgid_plural "about %d minutes ago"
171
+ msgstr[0] ""
172
+ msgstr[1] ""
173
+
174
+ #: rotatingtweets.php:245 rotatingtweets.php:247
175
+ msgid "about an hour ago"
176
+ msgid_plural "about %d hours ago"
177
+ msgstr[0] ""
178
+ msgstr[1] ""
179
+
180
+ #: rotatingtweets.php:246
181
+ msgid "yesterday"
182
+ msgstr ""
183
+
184
+ #: rotatingtweets.php:248
185
+ msgid "about a day ago"
186
+ msgid_plural "about %d days ago"
187
+ msgstr[0] ""
188
+ msgstr[1] ""
189
+
190
+ #: rotatingtweets.php:249
191
+ msgid "last week"
192
+ msgstr ""
193
+
194
+ #: rotatingtweets.php:250
195
+ msgid "about a week ago"
196
+ msgid_plural "about %d weeks ago"
197
+ msgstr[0] ""
198
+ msgstr[1] ""
199
+
200
+ #: rotatingtweets.php:251
201
+ msgid "last month"
202
+ msgstr ""
203
+
204
+ #: rotatingtweets.php:252
205
+ msgid "about a month ago"
206
+ msgid_plural "about %d months ago"
207
+ msgstr[0] ""
208
+ msgstr[1] ""
209
+
210
+ #: rotatingtweets.php:253
211
+ msgid "last year"
212
+ msgstr ""
213
+
214
+ #: rotatingtweets.php:254
215
+ msgid "about a year ago"
216
+ msgid_plural "about %d years ago"
217
+ msgstr[0] ""
218
+ msgstr[1] ""
219
+
220
+ #: rotatingtweets.php:261
221
+ msgctxt "abbreviated timestamp in seconds"
222
+ msgid "%ds"
223
+ msgstr ""
224
+
225
+ #: rotatingtweets.php:262
226
+ msgctxt "abbreviated timestamp in minutes"
227
+ msgid "%dm"
228
+ msgstr ""
229
+
230
+ #: rotatingtweets.php:263
231
+ msgctxt "abbreviated timestamp in hours"
232
+ msgid "%dh"
233
+ msgstr ""
234
+
235
+ #: rotatingtweets.php:264
236
+ msgctxt ""
237
+ "short date format as per http://uk.php.net/manual/en/function.date.php"
238
+ msgid "j M"
239
+ msgstr ""
240
+
241
+ #: rotatingtweets.php:265
242
+ msgctxt ""
243
+ "slightly longer date format as per http://uk.php.net/manual/en/function.date."
244
+ "php"
245
+ msgid "j M Y"
246
+ msgstr ""
247
+
248
+ #: rotatingtweets.php:271
249
+ msgid "reply"
250
+ msgstr "Répondre"
251
+
252
+ #: rotatingtweets.php:272
253
+ msgid "retweet"
254
+ msgstr "Retweeter"
255
+
256
+ #: rotatingtweets.php:273
257
+ msgid "favorite"
258
+ msgstr "Favori"
259
+
260
+ #: rotatingtweets.php:411
261
+ msgid ""
262
+ "Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The "
263
+ "Twitter API <a href=\"%1$s\">changed in March 2013</a> and new settings are "
264
+ "needed for Rotating Tweets to continue working."
265
+ msgstr ""
266
+
267
+ #: rotatingtweets.php:413
268
+ msgid ""
269
+ "Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The "
270
+ "Twitter API will <a href=\"%1$s\">be changing in March 2013</a> and new "
271
+ "settings are needed for Rotating Tweets to continue working after the API "
272
+ "changes."
273
+ msgstr ""
274
+
275
+ #: rotatingtweets.php:419
276
+ msgid ""
277
+ "Please update <a href=\"%1$s\">your settings for Rotating Tweets</a>. "
278
+ "Currently Rotating Tweets cannot authenticate you with Twitter using the "
279
+ "details you have given."
280
+ msgstr ""
281
+
282
+ #: rotatingtweets.php:427 rotatingtweets.php:433
283
+ msgid "Rotating Tweets: Twitter API settings"
284
+ msgstr ""
285
+
286
+ #: rotatingtweets.php:435
287
+ msgid "You do not have sufficient permissions to access this page."
288
+ msgstr ""
289
+
290
+ #: rotatingtweets.php:437
291
+ msgid ""
292
+ "<p>Twitter <a href=\"%s\">recently announced</a> that they will be changing "
293
+ "the way that they allow people to use the information in their tweets.</"
294
+ "p><p>Please take the following steps to make sure that Rotating Tweets "
295
+ "continues working:</p>"
296
+ msgstr ""
297
+
298
+ #: rotatingtweets.php:438
299
+ msgid ""
300
+ "<h3>Step 1:</h3><p>Go to the <a href=\"%s\">My applications page</a> on the "
301
+ "Twitter website to set up your website as a new Twitter 'application'. You "
302
+ "may need to log-in using your Twitter user name and password.</p>"
303
+ msgstr ""
304
+
305
+ #: rotatingtweets.php:439
306
+ msgid ""
307
+ "<h3>Step 2:</h3><p>If you don't already have a suitable 'application' that "
308
+ "you can use for your website, set one up on the <a href=\"%s\">Create an "
309
+ "Application page</a>.</p> <p>It's normally best to use the name, description "
310
+ "and website URL of the website where you plan to use Rotating Tweets.</"
311
+ "p><p>You don't need a Callback URL.</p>"
312
+ msgstr ""
313
+
314
+ #: rotatingtweets.php:440
315
+ msgid ""
316
+ "<h3>Step 3:</h3><p>After clicking <strong>Create your Twitter application</"
317
+ "strong>, on the following page, click on <strong>Create my access token</"
318
+ "strong>.</p>"
319
+ msgstr ""
320
+
321
+ #: rotatingtweets.php:441
322
+ msgid ""
323
+ "<h3>Step 4:</h3><p>Copy the <strong>Consumer key</strong>, <strong>Consumer "
324
+ "secret</strong>, <strong>Access token</strong> and <strong>Access token "
325
+ "secret</strong> from your Twitter application page into the settings below.</"
326
+ "p>"
327
+ msgstr ""
328
+
329
+ #: rotatingtweets.php:442
330
+ msgid ""
331
+ "<h3>Step 5:</h3><p>Click on <strong>Save Changes</strong>. If there are any "
332
+ "problems, you will get an error message from Twitter which should help "
333
+ "diagnose the problem.</p>"
334
+ msgstr ""
335
+
336
+ #: rotatingtweets.php:443
337
+ msgid ""
338
+ "<p><em>Even though you are only entering one set of Twitter API data, "
339
+ "Rotating Tweets will continue to support multiple widgets and shortcodes "
340
+ "pulling from a variety of different Twitter accounts.</em></p>"
341
+ msgstr ""
342
+
343
+ #: rotatingtweets.php:447
344
+ msgid "Save Changes"
345
+ msgstr ""
346
+
347
+ #: rotatingtweets.php:454
348
+ msgid "Twitter API Settings"
349
+ msgstr ""
350
+
351
+ #: rotatingtweets.php:455
352
+ msgid "Twitter API Consumer Key"
353
+ msgstr ""
354
+
355
+ #: rotatingtweets.php:456
356
+ msgid "Twitter API Consumer Secret"
357
+ msgstr ""
358
+
359
+ #: rotatingtweets.php:457
360
+ msgid "Twitter API Access Token"
361
+ msgstr ""
362
+
363
+ #: rotatingtweets.php:458
364
+ msgid "Twitter API Access Token Secret"
365
+ msgstr ""
366
+
367
+ #: rotatingtweets.php:489
368
+ msgid "Error: Twitter API Consumer Key not correctly formatted."
369
+ msgstr ""
370
+
371
+ #: rotatingtweets.php:496
372
+ msgid "Error: Twitter API Consumer Secret not correctly formatted."
373
+ msgstr ""
374
+
375
+ #: rotatingtweets.php:503
376
+ msgid "Error: Twitter API Access Token not correctly formatted."
377
+ msgstr ""
378
+
379
+ #: rotatingtweets.php:510
380
+ msgid "Error: Twitter API Access Token Secret not correctly formatted."
381
+ msgstr ""
382
+
383
+ #: rotatingtweets.php:517
384
+ msgid ""
385
+ "Error message received from Twitter: %1$s. <a href=\"%2$s\">Please check "
386
+ "your API key, secret, token and secret token on the Twitter website</a>."
387
+ msgstr ""
388
+
389
+ #: rotatingtweets.php:772
390
+ msgid "Problem retrieving data from Twitter"
391
+ msgstr ""
392
+
393
+ #: rotatingtweets.php:776
394
+ msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
395
+ msgstr ""
396
+
397
+ #: rotatingtweets.php:778
398
+ msgid "Next attempt to get data will be in %d minute"
399
+ msgid_plural "Next attempt to get data will be in %d minutes"
400
+ msgstr[0] ""
401
+ msgstr[1] ""
402
+
403
+ #: rotatingtweets.php:779
404
+ msgid "Next attempt to get data will be in less than a minute"
405
+ msgstr ""
406
+
407
+ #: rotatingtweets.php:785
408
+ msgid "Wordpress error message"
409
+ msgstr ""
410
+
411
+ #: rotatingtweets.php:788
412
+ msgid ""
413
+ "Please check the Rotating Tweets settings or the <a href='%s'>Twitter API "
414
+ "status</a>."
415
+ msgstr ""
416
+
417
+ #: rotatingtweets.php:910
418
+ msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
419
+ msgstr ""
420
+
421
+ #: rotatingtweets.php:914
422
+ msgid "via %s"
423
+ msgstr ""
424
+
425
+ #: rotatingtweets.php:925
426
+ msgid "Twitter"
427
+ msgstr ""
428
+
429
+ #: rotatingtweets.php:934 rotatingtweets.php:950
430
+ msgid "Retweeted by %s"
431
+ msgstr "Retweeté par %s"
432
+
433
+ #: rotatingtweets.php:952
434
+ msgid "Expand"
435
+ msgstr "Ouvrir"
436
+
437
+ #: rotatingtweets.php:964
438
+ msgid "Problem retrieving data from Twitter."
439
+ msgstr ""
440
+
441
+ #: rotatingtweets.php:966
442
+ msgid "Please check the comments on this page's HTML to understand more."
443
+ msgstr ""
444
+
445
+ #: rotatingtweets.php:986
446
+ msgid "Follow @%s"
447
+ msgstr "Suivre @%s"
448
+
449
+ #. Plugin Name of the plugin/theme
450
+ msgid "Rotating Tweets (Twitter widget & shortcode)"
451
+ msgstr ""
452
+
453
+ #. Description of the plugin/theme
454
+ msgid ""
455
+ "Replaces a shortcode such as [rotatingtweets "
456
+ "screen_name='your_twitter_name'], or a widget, with a rotating tweets display"
457
+ msgstr ""
458
+
459
+ #. Author of the plugin/theme
460
+ msgid "Martin Tod"
461
+ msgstr ""
462
+
463
+ #. Author URI of the plugin/theme
464
+ msgid "http://www.martintod.org.uk"
465
+ msgstr ""
languages/rotatingtweets-it_IT.mo CHANGED
Binary file
languages/rotatingtweets-it_IT.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
- "PO-Revision-Date: 2013-03-02 20:29-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: Italian\n"
@@ -428,7 +428,7 @@ msgstr ""
428
 
429
  #: rotatingtweets.php:934 rotatingtweets.php:950
430
  msgid "Retweeted by %s"
431
- msgstr ""
432
 
433
  #: rotatingtweets.php:952
434
  msgid "Expand"
5
  "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
  "POT-Creation-Date: 2013-03-02 20:25:59+00:00\n"
8
+ "PO-Revision-Date: 2013-03-15 08:35-0000\n"
9
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
10
  "Language-Team: \n"
11
  "Language: Italian\n"
428
 
429
  #: rotatingtweets.php:934 rotatingtweets.php:950
430
  msgid "Retweeted by %s"
431
+ msgstr "Ritwittato da %s"
432
 
433
  #: rotatingtweets.php:952
434
  msgid "Expand"
languages/rotatingtweets-nl_NL.mo CHANGED
Binary file
languages/rotatingtweets-nl_NL.po CHANGED
@@ -8,11 +8,13 @@ msgstr ""
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-03-02 20:39-0000\n"
12
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
13
  "Language-Team: \n"
14
  "X-Generator: Poedit 1.5.5\n"
15
  "Language: nl_NL\n"
 
 
16
 
17
  #: rotatingtweets.php:41
18
  msgid "A widget to show tweets for a particular user in rotation."
@@ -442,7 +444,7 @@ msgstr ""
442
 
443
  #: rotatingtweets.php:986
444
  msgid "Follow @%s"
445
- msgstr ""
446
 
447
  #. Plugin Name of the plugin/theme
448
  msgid "Rotating Tweets (Twitter widget & shortcode)"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2013-03-15 12:25-0000\n"
12
  "Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
13
  "Language-Team: \n"
14
  "X-Generator: Poedit 1.5.5\n"
15
  "Language: nl_NL\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
 
19
  #: rotatingtweets.php:41
20
  msgid "A widget to show tweets for a particular user in rotation."
444
 
445
  #: rotatingtweets.php:986
446
  msgid "Follow @%s"
447
+ msgstr "@%s folgen"
448
 
449
  #. Plugin Name of the plugin/theme
450
  msgid "Rotating Tweets (Twitter widget & shortcode)"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
5
  Requires at least: 2.6
6
  Tested up to: 3.5
7
- Stable tag: 1.3.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -118,10 +118,13 @@ If there is only one copy of `jquery` and of `jquery.cycle` on your page, the be
118
  1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
119
 
120
  == Upgrade notice ==
121
- = 1.3.16 =
122
- Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem with hashtags.
123
 
124
  == Changelog ==
 
 
 
125
  = 1.3.16 =
126
  Making sure hashtags have a space or the start of a line before them. Tidying up errors found when running plug-in with `wp_debug` set to `true`
127
 
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
5
  Requires at least: 2.6
6
  Tested up to: 3.5
7
+ Stable tag: 1.3.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
118
  1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
119
 
120
  == Upgrade notice ==
121
+ = 1.3.17 =
122
+ Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem display in Chrome.
123
 
124
  == Changelog ==
125
+ = 1.3.17 =
126
+ Adds the opportunity to show lists. Tackles a very odd box height problem that has just appeared in Chrome (but not Firefox or IE).
127
+
128
  = 1.3.16 =
129
  Making sure hashtags have a space or the start of a line before them. Tidying up errors found when running plug-in with `wp_debug` set to `true`
130
 
rotatingtweets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
- Version: 1.3.16
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
@@ -376,6 +376,7 @@ function rotatingtweets_display_shortcode( $atts, $content=null, $code="", $prin
376
  'links_in_new_window' => FALSE,
377
  'url_length' => 29,
378
  'search' => FALSE,
 
379
  'get_favorites' => FALSE,
380
  'ratelimit' => FALSE
381
  ), $atts ) ;
@@ -390,7 +391,7 @@ function rotatingtweets_display_shortcode( $atts, $content=null, $code="", $prin
390
  if(empty($screen_name)) $screen_name = 'twitter';
391
  # Makes sure the scripts are listed
392
  rotatingtweets_enqueue_scripts();
393
- $tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies,$get_favorites,$search);
394
  $returnstring = rotating_tweets_display($tweets,$args,$print);
395
  return $returnstring;
396
  }
@@ -572,9 +573,12 @@ function rotatingtweets_call_twitter_API($command,$options = NULL,$api = NULL )
572
  }
573
 
574
  # Get the latest data from Twitter (or from a cache if it's been less than 2 minutes since the last load)
575
- function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_replies,$tw_get_favorites = FALSE,$tw_search = FALSE ) {
576
  # Clear up variables
577
  $tw_screen_name = urlencode(trim(remove_accents(str_replace('@','',$tw_screen_name))));
 
 
 
578
  if($tw_search) {
579
  $tw_search = urlencode(trim($tw_search));
580
  }
@@ -585,8 +589,10 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
585
  # Get the option strong
586
  if($tw_search) {
587
  $stringname = 'search-'.$tw_include_rts.$tw_exclude_replies.$tw_search;
588
- }elseif($tw_get_favorites) {
589
  $stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies.'favorites';
 
 
590
  } else {
591
  $stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
592
  }
@@ -624,6 +630,11 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
624
  $twitterdata = rotatingtweets_call_twitter_API('search/tweets',$apioptions);
625
  } elseif($tw_get_favorites) {
626
  $twitterdata = rotatingtweets_call_twitter_API('favorites/list',$apioptions);
 
 
 
 
 
627
  } else {
628
  $twitterdata = rotatingtweets_call_twitter_API('statuses/user_timeline',$apioptions);
629
  }
@@ -636,7 +647,7 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
636
  set_transient('rotatingtweets_wp_error',$twitterdata->get_error_messages(), 120);
637
  endif;
638
  elseif(WP_DEBUG):
639
- echo "<!-- Rotating Tweets - used cache -->";
640
  endif;
641
  # Checks for errors in the reply
642
  if(!empty($twitterjson['errors'])):
@@ -805,6 +816,9 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
805
  endif;
806
  if(empty($json)):
807
  $result .= "\n\t<div class = 'rotatingtweet'><p class='rtw_main'>". __('Problem retrieving data from Twitter','rotatingtweets'). "</p></div>";
 
 
 
808
  $rate = rotatingtweets_get_rate_data();
809
  # Check if the problem is rate limiting
810
  if($rate['hourly_limit']>0 && $rate['remaining_hits'] == 0):
@@ -817,10 +831,10 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
817
  $error_messages = get_transient('rotatingtweets_wp_error');
818
  if($error_messages):
819
  foreach($error_messages as $error_message):
820
- $result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". __('Wordpress error message','rotatingtweets').": ".$error_message.".</p></div>";
821
  endforeach;
822
  endif;
823
- $result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". sprintf(__('Please check the Rotating Tweets settings or the <a href=\'%s\'>Twitter API status</a>.','rotatingtweets'),'https://dev.twitter.com/status')."</p></div>";
824
  endif;
825
  else:
826
  $tweet_counter = 0;
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
+ Version: 1.3.17
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
376
  'links_in_new_window' => FALSE,
377
  'url_length' => 29,
378
  'search' => FALSE,
379
+ 'list' => FALSE,
380
  'get_favorites' => FALSE,
381
  'ratelimit' => FALSE
382
  ), $atts ) ;
391
  if(empty($screen_name)) $screen_name = 'twitter';
392
  # Makes sure the scripts are listed
393
  rotatingtweets_enqueue_scripts();
394
+ $tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies,$get_favorites,$search,$list);
395
  $returnstring = rotating_tweets_display($tweets,$args,$print);
396
  return $returnstring;
397
  }
573
  }
574
 
575
  # Get the latest data from Twitter (or from a cache if it's been less than 2 minutes since the last load)
576
+ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_replies,$tw_get_favorites = FALSE,$tw_search = FALSE,$tw_list = FALSE ) {
577
  # Clear up variables
578
  $tw_screen_name = urlencode(trim(remove_accents(str_replace('@','',$tw_screen_name))));
579
+ if($tw_list):
580
+ $tw_list = urlencode(strtolower(sanitize_file_name( $tw_list )));
581
+ endif;
582
  if($tw_search) {
583
  $tw_search = urlencode(trim($tw_search));
584
  }
589
  # Get the option strong
590
  if($tw_search) {
591
  $stringname = 'search-'.$tw_include_rts.$tw_exclude_replies.$tw_search;
592
+ } elseif ($tw_get_favorites) {
593
  $stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies.'favorites';
594
+ } elseif ($tw_list) {
595
+ $stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies.'list-'.$tw_list;
596
  } else {
597
  $stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
598
  }
630
  $twitterdata = rotatingtweets_call_twitter_API('search/tweets',$apioptions);
631
  } elseif($tw_get_favorites) {
632
  $twitterdata = rotatingtweets_call_twitter_API('favorites/list',$apioptions);
633
+ } elseif($tw_list) {
634
+ unset($apioptions['screen_name']);
635
+ $apioptions['slug']=$tw_list;
636
+ $apioptions['owner_screen_name']=$tw_screen_name;
637
+ $twitterdata = rotatingtweets_call_twitter_API('lists/statuses',$apioptions);
638
  } else {
639
  $twitterdata = rotatingtweets_call_twitter_API('statuses/user_timeline',$apioptions);
640
  }
647
  set_transient('rotatingtweets_wp_error',$twitterdata->get_error_messages(), 120);
648
  endif;
649
  elseif(WP_DEBUG):
650
+ echo "<!-- Rotating Tweets - used cache - ".($cache_delay - $timegap)." seconds remaining -->";
651
  endif;
652
  # Checks for errors in the reply
653
  if(!empty($twitterjson['errors'])):
816
  endif;
817
  if(empty($json)):
818
  $result .= "\n\t<div class = 'rotatingtweet'><p class='rtw_main'>". __('Problem retrieving data from Twitter','rotatingtweets'). "</p></div>";
819
+ if(!empty($error)):
820
+ $result .= "\n<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>".sprintf(__('Error code: %1$s - %2$s','rotatingtweets'), esc_attr($error[0]['code']), esc_attr($error[0]['message'])). "</p></div>";
821
+ endif;
822
  $rate = rotatingtweets_get_rate_data();
823
  # Check if the problem is rate limiting
824
  if($rate['hourly_limit']>0 && $rate['remaining_hits'] == 0):
831
  $error_messages = get_transient('rotatingtweets_wp_error');
832
  if($error_messages):
833
  foreach($error_messages as $error_message):
834
+ $result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". __('Wordpress error message','rotatingtweets').": ".$error_message['message'].".</p></div>";
835
  endforeach;
836
  endif;
837
+ $result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". sprintf(__('Please check the Twitter name in the widget or shortcode, <a href=\'%2$s\'>Rotating Tweets settings</a> or the <a href=\'%1$s\'>Twitter API status</a>.','rotatingtweets'),'https://dev.twitter.com/status',admin_url().'options-general.php?page=rotatingtweets')."</p></div>";
838
  endif;
839
  else:
840
  $tweet_counter = 0;