WP to Twitter - Version 2.8.0

Version Description

  • Removed category filtering in favor of WP Tweets PRO update allowing filtering on all taxonomies.
  • Removed obsolete functions handling older WP versions.
  • UI updates.
  • Updated fallbacks for multibyte string functions.
  • Added wpt_tag_default filter to choose the default hashtag symbol.
  • Miscellaneous PHP notice eliminations.
  • File reorganization.
  • Bug fix: Twitter feed widget errors if not authenticated.
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 WP to Twitter
Version 2.8.0
Comparing to
See all releases

Code changes from version 2.7.7 to 2.8.0

post-styles.css → css/post-styles.css RENAMED
@@ -7,25 +7,26 @@
7
  #wp2t .warning{color:#700;}
8
  #wp2t .exceeded{color:#e00;}
9
  #wp2t code span { border-bottom: 1px dashed!important; cursor: pointer; }
10
- #wp2t strong:first-child { border: 1px dashed; display: block; width: 25%; float: right; padding: 10px; background: #ffd; font-size: 1.2em; line-height: 1.4; text-align:center; border-radius: 6px; }
11
  #wp2t .jtw { margin-right: 33%; width: 66.666666%; }
12
  #wp2t .disabled { font-weight: 700; background: #ffc; padding: 5px; font-size: 1.2em; }
13
  #side-sortables #wp2t .jtw {margin: 0;width: 100%; }
14
  #side-sortables #wp2t .jtw textarea { height: 120px; }
15
- #side-sortables #wp2t strong:first-child { width: 92%; float: none; margin: 0 auto 5px; padding: 0 0 5px; }
16
  #wp2t .wpt_auth_users { margin: 0; padding: 0; }
17
  #wp2t .wpt_auth_users select { width: 100%; max-height: 21em; }
18
  #side-sortables #wp2t .wpt_auth_users select { width: 98%; max-height: 120px; }
19
  .wpt-options { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; }
 
20
  #side-sortables .wpt-options { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; }
21
  .wptab { border-radius: 0 0 4px 4px; border: 1px solid #ddd; background: #fdfdfd; padding: 10px; margin: 0 2px; -moz-column-break-inside: avoid; -webkit-column-break-inside: avoid; column-break-inside: avoid; }
22
  .wptab { min-height: 22em; }
 
23
  #wp2t .tabs { display: none; }
24
  #wp2t .disabled { color: #888; border: 1px solid #ddd; background: #eee; border-bottom: none; padding: 2px; border-radius: 4px 4px 0 0; }
25
  #side-sortables #wp2t .tabs { display: block; }
26
  #side-sortables .wptab { min-height: 16em; padding: 5px; margin: 2px 0; }
27
- .free .wptab p { font-size: 1.3em; line-height: 1.5; }
28
  #notes p { font-size: 1.3em; line-height: 1.5; }
 
29
 
30
  .wpt-support { clear: both; }
31
  .wpt-options .tabs { margin: 0; padding: 0 2px; position: relative; top: 3px; }
7
  #wp2t .warning{color:#700;}
8
  #wp2t .exceeded{color:#e00;}
9
  #wp2t code span { border-bottom: 1px dashed!important; cursor: pointer; }
 
10
  #wp2t .jtw { margin-right: 33%; width: 66.666666%; }
11
  #wp2t .disabled { font-weight: 700; background: #ffc; padding: 5px; font-size: 1.2em; }
12
  #side-sortables #wp2t .jtw {margin: 0;width: 100%; }
13
  #side-sortables #wp2t .jtw textarea { height: 120px; }
 
14
  #wp2t .wpt_auth_users { margin: 0; padding: 0; }
15
  #wp2t .wpt_auth_users select { width: 100%; max-height: 21em; }
16
  #side-sortables #wp2t .wpt_auth_users select { width: 98%; max-height: 120px; }
17
  .wpt-options { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; }
18
+ .free .wpt-options { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; }
19
  #side-sortables .wpt-options { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; }
20
  .wptab { border-radius: 0 0 4px 4px; border: 1px solid #ddd; background: #fdfdfd; padding: 10px; margin: 0 2px; -moz-column-break-inside: avoid; -webkit-column-break-inside: avoid; column-break-inside: avoid; }
21
  .wptab { min-height: 22em; }
22
+ .free .wptab { min-height: 11em; }
23
  #wp2t .tabs { display: none; }
24
  #wp2t .disabled { color: #888; border: 1px solid #ddd; background: #eee; border-bottom: none; padding: 2px; border-radius: 4px 4px 0 0; }
25
  #side-sortables #wp2t .tabs { display: block; }
26
  #side-sortables .wptab { min-height: 16em; padding: 5px; margin: 2px 0; }
27
+ #side-sortables .free .wptab { min-height: 9em; }
28
  #notes p { font-size: 1.3em; line-height: 1.5; }
29
+ #side-sortables .free #notes p { font-size: 1em; }
30
 
31
  .wpt-support { clear: both; }
32
  .wpt-options .tabs { margin: 0; padding: 0 2px; position: relative; top: 3px; }
twitter-feed.css → css/twitter-feed.css RENAMED
@@ -5,9 +5,9 @@
5
  .wpt-intents-border { border-top: 1px solid; opacity: .3; margin: 5px 0; }
6
  .wpt-intents { padding: 0 0 5px; text-align: center; }
7
  .wpt-intents a span { width: 16px; height: 16px; display: inline-block; margin-right: 3px; position: relative; top: 2px; }
8
- .wpt-intents .wpt-reply span { background: url(spritev2.png) 0px; }
9
- .wpt-intents .wpt-retweet span { background: url(spritev2.png) -80px; }
10
- .wpt-intents .wpt-favorite span { background: url(spritev2.png) -32px; }
11
  .wpt-intents .wpt-reply:hover span, .wpt-intents .wpt-reply:focus span { background-position: -16px; }
12
  .wpt-intents .wpt-retweet:hover span, .wpt-intents .wpt-retweet:focus span { background-position: -96px; }
13
  .wpt-intents .wpt-favorite:hover span, .wpt-intents .wpt-favorite:focus span { background-position: -48px; }
5
  .wpt-intents-border { border-top: 1px solid; opacity: .3; margin: 5px 0; }
6
  .wpt-intents { padding: 0 0 5px; text-align: center; }
7
  .wpt-intents a span { width: 16px; height: 16px; display: inline-block; margin-right: 3px; position: relative; top: 2px; }
8
+ .wpt-intents .wpt-reply span { background: url(images/spritev2.png) 0px; }
9
+ .wpt-intents .wpt-retweet span { background: url(images/spritev2.png) -80px; }
10
+ .wpt-intents .wpt-favorite span { background: url(images/spritev2.png) -32px; }
11
  .wpt-intents .wpt-reply:hover span, .wpt-intents .wpt-reply:focus span { background-position: -16px; }
12
  .wpt-intents .wpt-retweet:hover span, .wpt-intents .wpt-retweet:focus span { background-position: -96px; }
13
  .wpt-intents .wpt-favorite:hover span, .wpt-intents .wpt-favorite:focus span { background-position: -48px; }
images/Error.png ADDED
Binary file
images/Ok.png ADDED
Binary file
image.png → images/image.png RENAMED
File without changes
logo.png → images/logo.png RENAMED
File without changes
spritev2.png → images/spritev2.png RENAMED
File without changes
twitter-bird-light-bgs.png → images/twitter-bird-light-bgs.png RENAMED
File without changes
js/tabs.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($){
2
+ var tabs = $('.wpt-settings .wptab').length;
3
+ $('.wpt-settings .tabs a[href="#'+firstItem+'"]').addClass('active');
4
+ if ( tabs > 1 ) {
5
+ $('.wpt-settings .wptab').not('#'+firstItem).hide();
6
+ $('.wpt-settings .tabs a').on('click',function(e) {
7
+ e.preventDefault();
8
+ $('.wpt-settings .tabs a').removeClass('active');
9
+ $(this).addClass('active');
10
+ var target = $(this).attr('href');
11
+ $('.wpt-settings .wptab').not(target).hide();
12
+ $(target).show();
13
+ });
14
+ }
15
+ /*
16
+ $('.handlediv').on( 'click', function(e) {
17
+ var postbox = $(this).next('.hndle').children().html();
18
+ if ( $(this).parent().hasClass('closed') ) {
19
+ $('input[name=postbox-closed]').val(postbox);
20
+ } else {
21
+ $('input[name=postbox-open]').val(postbox);
22
+ }
23
+ $('.set-postboxes').submit();
24
+ });
25
+ */
26
+ });
lang/wp-to-twitter.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2013 WP to Twitter
2
  # This file is distributed under the same license as the WP to Twitter package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP to Twitter 2.7.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
7
- "POT-Creation-Date: 2013-09-26 22:21:38+00:00\n"
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-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -57,7 +57,7 @@ msgid ""
57
  "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
58
  msgstr ""
59
 
60
- #: wp-to-twitter-manager.php:87
61
  msgid "WP to Twitter Errors Cleared"
62
  msgstr ""
63
 
@@ -89,195 +89,207 @@ msgstr ""
89
  msgid "OAuth Authentication response not understood."
90
  msgstr ""
91
 
92
- #: wp-to-twitter-manager.php:376
93
  msgid "WP to Twitter Advanced Options Updated"
94
  msgstr ""
95
 
96
- #: wp-to-twitter-manager.php:394
97
  msgid "WP to Twitter Options Updated"
98
  msgstr ""
99
 
100
- #: wp-to-twitter-manager.php:403
101
- msgid "Category limits updated."
102
- msgstr ""
103
-
104
- #: wp-to-twitter-manager.php:407
105
- msgid "Category limits unset."
106
- msgstr ""
107
-
108
- #: wp-to-twitter-manager.php:427
109
  msgid ""
110
  "<p>One or more of your last posts has failed to send a status update to "
111
  "Twitter. The Tweet has been saved, and you can re-Tweet it at your leisure.</"
112
  "p>"
113
  msgstr ""
114
 
115
- #: wp-to-twitter-manager.php:433
116
  msgid ""
117
  "Sorry! I couldn't get in touch with the Twitter servers to post your "
118
  "<strong>new link</strong>! You'll have to post it manually, I'm afraid. "
119
  msgstr ""
120
 
121
- #: wp-to-twitter-manager.php:436
122
  msgid ""
123
  "<p>The query to the URL shortener API failed, and your URL was not shrunk. "
124
  "The full post URL was attached to your Tweet. Check with your URL shortening "
125
  "provider to see if there are any known issues.</p>"
126
  msgstr ""
127
 
128
- #: wp-to-twitter-manager.php:442
129
  msgid "Clear 'WP to Twitter' Error Messages"
130
  msgstr ""
131
 
132
- #: wp-to-twitter-manager.php:448
133
  msgid "WP to Twitter Options"
134
  msgstr ""
135
 
136
- #: wp-to-twitter-manager.php:471
137
- msgid "Basic Settings"
138
  msgstr ""
139
 
140
- #: wp-to-twitter-manager.php:477 wp-to-twitter-manager.php:521
141
- msgid "Save WP->Twitter Options"
142
  msgstr ""
143
 
144
- #: wp-to-twitter-manager.php:495
145
- msgid "Settings for type \"%1$s\""
146
  msgstr ""
147
 
148
- #: wp-to-twitter-manager.php:498
149
- msgid "Update when %1$s %2$s is published"
 
 
150
  msgstr ""
151
 
152
- #: wp-to-twitter-manager.php:498
153
- msgid "Text for new %1$s updates"
 
 
154
  msgstr ""
155
 
156
- #: wp-to-twitter-manager.php:502
157
- msgid "Update when %1$s %2$s is edited"
 
 
158
  msgstr ""
159
 
160
- #: wp-to-twitter-manager.php:502
161
- msgid "Text for %1$s editing updates"
 
 
162
  msgstr ""
163
 
164
- #: wp-to-twitter-manager.php:510
165
- msgid "Settings for Links"
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgstr ""
167
 
168
- #: wp-to-twitter-manager.php:513
169
  msgid "Update Twitter when you post a Blogroll link"
170
  msgstr ""
171
 
172
- #: wp-to-twitter-manager.php:514
173
  msgid "Text for new link updates:"
174
  msgstr ""
175
 
176
- #: wp-to-twitter-manager.php:514
177
  msgid ""
178
  "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and "
179
  "<code>#description#</code>."
180
  msgstr ""
181
 
182
- #: wp-to-twitter-manager.php:532
183
  msgid "Advanced Settings"
184
  msgstr ""
185
 
186
- #: wp-to-twitter-manager.php:537 wp-to-twitter-manager.php:701
187
- msgid "Save Advanced WP->Twitter Options"
188
  msgstr ""
189
 
190
- #: wp-to-twitter-manager.php:540
191
  msgid "Tags"
192
  msgstr ""
193
 
194
- #: wp-to-twitter-manager.php:542
195
  msgid "Strip nonalphanumeric characters from tags"
196
  msgstr ""
197
 
198
- #: wp-to-twitter-manager.php:545
199
  msgid "Use tag slug as hashtag value"
200
  msgstr ""
201
 
202
- #: wp-to-twitter-manager.php:548
203
  msgid "Spaces in tags replaced with:"
204
  msgstr ""
205
 
206
- #: wp-to-twitter-manager.php:551
207
  msgid "Maximum number of tags to include:"
208
  msgstr ""
209
 
210
- #: wp-to-twitter-manager.php:552
211
  msgid "Maximum length in characters for included tags:"
212
  msgstr ""
213
 
214
- #: wp-to-twitter-manager.php:556
215
  msgid "Template Tag Settings"
216
  msgstr ""
217
 
218
- #: wp-to-twitter-manager.php:558
219
  msgid "Length of post excerpt (in characters):"
220
  msgstr ""
221
 
222
- #: wp-to-twitter-manager.php:558
223
  msgid ""
224
  "Extracted from the post. If you use the 'Excerpt' field, it will be used "
225
  "instead."
226
  msgstr ""
227
 
228
- #: wp-to-twitter-manager.php:561
229
  msgid "WP to Twitter Date Formatting:"
230
  msgstr ""
231
 
232
- #: wp-to-twitter-manager.php:561
233
  msgid ""
234
  "Default is from your general settings. <a href='http://codex.wordpress.org/"
235
  "Formatting_Date_and_Time'>Date Formatting Documentation</a>."
236
  msgstr ""
237
 
238
- #: wp-to-twitter-manager.php:565
239
  msgid "Custom text before all Tweets:"
240
  msgstr ""
241
 
242
- #: wp-to-twitter-manager.php:568
243
  msgid "Custom text after all Tweets:"
244
  msgstr ""
245
 
246
- #: wp-to-twitter-manager.php:571
247
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
248
  msgstr ""
249
 
250
- #: wp-to-twitter-manager.php:601
251
  msgid "Template tag priority order"
252
  msgstr ""
253
 
254
- #: wp-to-twitter-manager.php:602
255
  msgid ""
256
  "The order in which items will be abbreviated or removed from your Tweet if "
257
  "the Tweet is too long to send to Twitter."
258
  msgstr ""
259
 
260
- #: wp-to-twitter-manager.php:608
261
  msgid "Special Cases when WordPress should send a Tweet"
262
  msgstr ""
263
 
264
- #: wp-to-twitter-manager.php:611
265
  msgid "Do not post Tweets by default"
266
  msgstr ""
267
 
268
- #: wp-to-twitter-manager.php:613
269
  msgid "Do not post Tweets by default (editing only)"
270
  msgstr ""
271
 
272
- #: wp-to-twitter-manager.php:615
273
  msgid "Allow status updates from Quick Edit"
274
  msgstr ""
275
 
276
- #: wp-to-twitter-manager.php:619
277
  msgid "Google Analytics Settings"
278
  msgstr ""
279
 
280
- #: wp-to-twitter-manager.php:620
281
  msgid ""
282
  "You can track the response from Twitter using Google Analytics by defining a "
283
  "campaign identifier here. You can either define a static identifier or a "
@@ -287,51 +299,51 @@ msgid ""
287
  "additional variable."
288
  msgstr ""
289
 
290
- #: wp-to-twitter-manager.php:623
291
  msgid "Use a Static Identifier with WP-to-Twitter"
292
  msgstr ""
293
 
294
- #: wp-to-twitter-manager.php:624
295
  msgid "Static Campaign identifier for Google Analytics:"
296
  msgstr ""
297
 
298
- #: wp-to-twitter-manager.php:628
299
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
300
  msgstr ""
301
 
302
- #: wp-to-twitter-manager.php:629
303
  msgid "What dynamic identifier would you like to use?"
304
  msgstr ""
305
 
306
- #: wp-to-twitter-manager.php:631
307
  msgid "Category"
308
  msgstr ""
309
 
310
- #: wp-to-twitter-manager.php:632
311
  msgid "Post ID"
312
  msgstr ""
313
 
314
- #: wp-to-twitter-manager.php:633
315
  msgid "Post Title"
316
  msgstr ""
317
 
318
- #: wp-to-twitter-manager.php:634
319
  msgid "Author"
320
  msgstr ""
321
 
322
- #: wp-to-twitter-manager.php:638
323
  msgid "No Analytics"
324
  msgstr ""
325
 
326
- #: wp-to-twitter-manager.php:642
327
  msgid "Author Settings"
328
  msgstr ""
329
 
330
- #: wp-to-twitter-manager.php:645
331
  msgid "Authors have individual Twitter accounts"
332
  msgstr ""
333
 
334
- #: wp-to-twitter-manager.php:647
335
  msgid ""
336
  "Authors can add their username in their user profile. With the free edition "
337
  "of WP to Twitter, it adds an @reference to the author. The @reference is "
@@ -339,74 +351,60 @@ msgid ""
339
  "main account if the user account isn't configured."
340
  msgstr ""
341
 
342
- #: wp-to-twitter-manager.php:651
343
  msgid "Permissions"
344
  msgstr ""
345
 
346
- #: wp-to-twitter-manager.php:667
347
  msgid "The lowest user group that can add their Twitter information"
348
  msgstr ""
349
 
350
- #: wp-to-twitter-manager.php:672
351
  msgid ""
352
  "The lowest user group that can see the Custom Tweet options when posting"
353
  msgstr ""
354
 
355
- #: wp-to-twitter-manager.php:677
356
  msgid "The lowest user group that can toggle the Tweet/Don't Tweet option"
357
  msgstr ""
358
 
359
- #: wp-to-twitter-manager.php:682
360
  msgid "The lowest user group that can send Twitter updates"
361
  msgstr ""
362
 
363
- #: wp-to-twitter-manager.php:686
364
  msgid "Error Messages and Debugging"
365
  msgstr ""
366
 
367
- #: wp-to-twitter-manager.php:688
368
  msgid "Disable global URL shortener error messages."
369
  msgstr ""
370
 
371
- #: wp-to-twitter-manager.php:689
372
  msgid "Disable global Twitter API error messages."
373
  msgstr ""
374
 
375
- #: wp-to-twitter-manager.php:691
376
  msgid "Get Debugging Data for OAuth Connection"
377
  msgstr ""
378
 
379
- #: wp-to-twitter-manager.php:693
380
  msgid "Switch to <code>http</code> connection. (Default is https)"
381
  msgstr ""
382
 
383
- #: wp-to-twitter-manager.php:695
384
  msgid "I made a donation, so stop whinging at me, please."
385
  msgstr ""
386
 
387
- #: wp-to-twitter-manager.php:709
388
- msgid "Limit Updating Categories"
389
- msgstr ""
390
-
391
- #: wp-to-twitter-manager.php:712
392
- msgid ""
393
- "If no categories are checked, limiting by category will be ignored, and all "
394
- "categories will be Tweeted."
395
- msgstr ""
396
-
397
- #: wp-to-twitter-manager.php:713
398
- msgid "<em>Category limits are disabled.</em>"
399
- msgstr ""
400
-
401
- #: wp-to-twitter-manager.php:722
402
  msgid "Get Plug-in Support"
403
  msgstr ""
404
 
405
- #: wp-to-twitter-manager.php:733
406
  msgid "Check Support"
407
  msgstr ""
408
 
409
- #: wp-to-twitter-manager.php:733
410
  msgid ""
411
  "Check whether your server supports <a href=\"http://www.joedolson.com/"
412
  "articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL "
@@ -414,129 +412,132 @@ msgid ""
414
  "a URL using your selected methods."
415
  msgstr ""
416
 
417
- #: wp-to-twitter-manager.php:751
418
  msgid "Support WP to Twitter"
419
  msgstr ""
420
 
421
- #: wp-to-twitter-manager.php:753
422
  msgid "WP to Twitter Support"
423
  msgstr ""
424
 
425
- #: wp-to-twitter-manager.php:761 wp-to-twitter.php:1132 wp-to-twitter.php:1134
426
  msgid "Get Support"
427
  msgstr ""
428
 
429
- #: wp-to-twitter-manager.php:764
430
  msgid ""
431
- "<a href=\"http://www.joedolson.com/donate.php\">Make a donation today!</a> "
432
- "Every donation counts - donate $2, $10, or $100 and help me keep this plug-"
433
- "in running!"
434
  msgstr ""
435
 
436
- #: wp-to-twitter-manager.php:782
437
  msgid "Upgrade Now!"
438
  msgstr ""
439
 
440
- #: wp-to-twitter-manager.php:784
441
- msgid "Upgrade to <strong>WP Tweets PRO</strong> for more options!"
442
  msgstr ""
443
 
444
- #: wp-to-twitter-manager.php:785
445
- msgid "Extra features with the PRO upgrade:"
446
  msgstr ""
447
 
448
- #: wp-to-twitter-manager.php:787
449
- msgid "Allow users to post to their own Twitter accounts"
450
  msgstr ""
451
 
452
- #: wp-to-twitter-manager.php:788
453
- msgid "Set a timer to send your Tweet minutes or hours after you publish"
454
  msgstr ""
455
 
456
- #: wp-to-twitter-manager.php:789
457
- msgid "Automatically re-send Tweets after publishing"
458
  msgstr ""
459
 
460
- #: wp-to-twitter-manager.php:790
461
  msgid "Send Tweets for approved comments"
462
  msgstr ""
463
 
464
- #: wp-to-twitter-manager.php:799
 
 
 
 
465
  msgid "Shortcodes"
466
  msgstr ""
467
 
468
- #: wp-to-twitter-manager.php:801
469
  msgid "Available in post update templates:"
470
  msgstr ""
471
 
472
- #: wp-to-twitter-manager.php:803
473
  msgid "<code>#title#</code>: the title of your blog post"
474
  msgstr ""
475
 
476
- #: wp-to-twitter-manager.php:804
477
  msgid "<code>#blog#</code>: the title of your blog"
478
  msgstr ""
479
 
480
- #: wp-to-twitter-manager.php:805
481
  msgid "<code>#post#</code>: a short excerpt of the post content"
482
  msgstr ""
483
 
484
- #: wp-to-twitter-manager.php:806
485
  msgid "<code>#category#</code>: the first selected category for the post"
486
  msgstr ""
487
 
488
- #: wp-to-twitter-manager.php:807
489
  msgid ""
490
  "<code>#cat_desc#</code>: custom value from the category description field"
491
  msgstr ""
492
 
493
- #: wp-to-twitter-manager.php:808
494
  msgid "<code>#date#</code>: the post date"
495
  msgstr ""
496
 
497
- #: wp-to-twitter-manager.php:809
498
  msgid "<code>#modified#</code>: the post modified date"
499
  msgstr ""
500
 
501
- #: wp-to-twitter-manager.php:810
502
  msgid "<code>#url#</code>: the post URL"
503
  msgstr ""
504
 
505
- #: wp-to-twitter-manager.php:811
506
  msgid ""
507
  "<code>#author#</code>: the post author (@reference if available, otherwise "
508
  "display name)"
509
  msgstr ""
510
 
511
- #: wp-to-twitter-manager.php:812
512
  msgid "<code>#displayname#</code>: post author's display name"
513
  msgstr ""
514
 
515
- #: wp-to-twitter-manager.php:813
516
  msgid ""
517
  "<code>#account#</code>: the twitter @reference for the account (or the "
518
  "author, if author settings are enabled and set.)"
519
  msgstr ""
520
 
521
- #: wp-to-twitter-manager.php:814
522
  msgid ""
523
  "<code>#@#</code>: the twitter @reference for the author or blank, if not set"
524
  msgstr ""
525
 
526
- #: wp-to-twitter-manager.php:815
527
  msgid ""
528
  "<code>#tags#</code>: your tags modified into hashtags. See options in the "
529
  "Advanced Settings section, below."
530
  msgstr ""
531
 
532
- #: wp-to-twitter-manager.php:817
533
  msgid ""
534
  "<code>#reference#</code>: Used only in co-tweeting. @reference to main "
535
  "account when posted to author account, @reference to author account in post "
536
  "to main account."
537
  msgstr ""
538
 
539
- #: wp-to-twitter-manager.php:820
540
  msgid ""
541
  "You can also create custom shortcodes to access WordPress custom fields. Use "
542
  "doubled square brackets surrounding the name of your custom field to add the "
@@ -564,131 +565,131 @@ msgid ""
564
  "href='%s'>update your settings</a> to complete installation of WP to Twitter."
565
  msgstr ""
566
 
567
- #: wp-to-twitter-oauth.php:211 wp-to-twitter-oauth.php:213
568
  msgid "Connect to Twitter"
569
  msgstr ""
570
 
571
- #: wp-to-twitter-oauth.php:216
572
  msgid "WP to Twitter Set-up"
573
  msgstr ""
574
 
575
- #: wp-to-twitter-oauth.php:217 wp-to-twitter-oauth.php:308
576
- #: wp-to-twitter-oauth.php:313
577
  msgid "Your server time:"
578
  msgstr ""
579
 
580
- #: wp-to-twitter-oauth.php:217
581
  msgid "Twitter's time:"
582
  msgstr ""
583
 
584
- #: wp-to-twitter-oauth.php:217
585
  msgid ""
586
  "If these timestamps are not within 5 minutes of each other, your server will "
587
  "not connect to Twitter."
588
  msgstr ""
589
 
590
- #: wp-to-twitter-oauth.php:219
591
  msgid "Your server timezone (should be UTC,GMT,Europe/London or equivalent):"
592
  msgstr ""
593
 
594
- #: wp-to-twitter-oauth.php:223
595
  msgid "1. Register this site as an application on "
596
  msgstr ""
597
 
598
- #: wp-to-twitter-oauth.php:223
599
  msgid "Twitter's application registration page"
600
  msgstr ""
601
 
602
- #: wp-to-twitter-oauth.php:225
603
  msgid ""
604
  "If you're not currently logged in to Twitter, log-in to the account you want "
605
  "associated with this site"
606
  msgstr ""
607
 
608
- #: wp-to-twitter-oauth.php:226
609
  msgid "Your application name cannot include the word \"Twitter.\""
610
  msgstr ""
611
 
612
- #: wp-to-twitter-oauth.php:227
613
  msgid "Your Application Description can be anything."
614
  msgstr ""
615
 
616
- #: wp-to-twitter-oauth.php:228
617
  msgid "The WebSite and Callback URL should be "
618
  msgstr ""
619
 
620
- #: wp-to-twitter-oauth.php:230
621
  msgid "Agree to the Developer Rules of the Road and continue."
622
  msgstr ""
623
 
624
- #: wp-to-twitter-oauth.php:231
625
  msgid "2. Switch to the \"Settings\" tab in Twitter apps"
626
  msgstr ""
627
 
628
- #: wp-to-twitter-oauth.php:231
629
  msgid "<em>Do NOT create your access token yet.</em>"
630
  msgstr ""
631
 
632
- #: wp-to-twitter-oauth.php:233
633
  msgid "Select \"Read and Write\" for the Application Type"
634
  msgstr ""
635
 
636
- #: wp-to-twitter-oauth.php:234
637
  msgid "Update the application settings"
638
  msgstr ""
639
 
640
- #: wp-to-twitter-oauth.php:235
641
  msgid "Return to the Details tab and create your access token."
642
  msgstr ""
643
 
644
- #: wp-to-twitter-oauth.php:237
645
  msgid ""
646
  "Once you have registered your site as an application, you will be provided "
647
  "with four keys."
648
  msgstr ""
649
 
650
- #: wp-to-twitter-oauth.php:238
651
  msgid ""
652
  "3. Copy and paste your consumer key and consumer secret into the fields below"
653
  msgstr ""
654
 
655
- #: wp-to-twitter-oauth.php:241
656
  msgid "Twitter Consumer Key"
657
  msgstr ""
658
 
659
- #: wp-to-twitter-oauth.php:245
660
  msgid "Twitter Consumer Secret"
661
  msgstr ""
662
 
663
- #: wp-to-twitter-oauth.php:249
664
  msgid ""
665
  "4. Copy and paste your Access Token and Access Token Secret into the fields "
666
  "below"
667
  msgstr ""
668
 
669
- #: wp-to-twitter-oauth.php:250
670
  msgid ""
671
  "If the Access level for your Access Token is not \"<em>Read and write</em>"
672
  "\", you must return to step 2 and generate a new Access Token."
673
  msgstr ""
674
 
675
- #: wp-to-twitter-oauth.php:253
676
  msgid "Access Token"
677
  msgstr ""
678
 
679
- #: wp-to-twitter-oauth.php:257
680
  msgid "Access Token Secret"
681
  msgstr ""
682
 
683
- #: wp-to-twitter-oauth.php:276
684
  msgid "Disconnect Your WordPress and Twitter Account"
685
  msgstr ""
686
 
687
- #: wp-to-twitter-oauth.php:280
688
  msgid "Disconnect your WordPress and Twitter Account"
689
  msgstr ""
690
 
691
- #: wp-to-twitter-oauth.php:282
692
  msgid ""
693
  "<strong>Troubleshooting tip:</strong> Connected, but getting a error that "
694
  "your Authentication credentials are missing or incorrect? Check that your "
@@ -697,550 +698,543 @@ msgid ""
697
  "support-2/#q1\">Read the FAQ</a>"
698
  msgstr ""
699
 
700
- #: wp-to-twitter-oauth.php:284
701
  msgid ""
702
  "Your time stamps are more than 5 minutes apart. Your server could lose its "
703
  "connection with Twitter."
704
  msgstr ""
705
 
706
- #: wp-to-twitter-oauth.php:286
707
  msgid ""
708
  "WP to Twitter could not contact Twitter's remote server. Here is the error "
709
  "triggered: "
710
  msgstr ""
711
 
712
- #: wp-to-twitter-oauth.php:290
713
  msgid "Disconnect from Twitter"
714
  msgstr ""
715
 
716
- #: wp-to-twitter-oauth.php:296
717
  msgid "Twitter Username "
718
  msgstr ""
719
 
720
- #: wp-to-twitter-oauth.php:297
721
  msgid "Consumer Key "
722
  msgstr ""
723
 
724
- #: wp-to-twitter-oauth.php:298
725
  msgid "Consumer Secret "
726
  msgstr ""
727
 
728
- #: wp-to-twitter-oauth.php:299
729
  msgid "Access Token "
730
  msgstr ""
731
 
732
- #: wp-to-twitter-oauth.php:300
733
  msgid "Access Token Secret "
734
  msgstr ""
735
 
736
- #: wp-to-twitter-oauth.php:308 wp-to-twitter-oauth.php:314
737
  msgid "Twitter's server time: "
738
  msgstr ""
739
 
740
- #: wp-to-twitter-shorteners.php:294
741
  msgid ""
742
  "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account "
743
  "Settings"
744
  msgstr ""
745
 
746
- #: wp-to-twitter-shorteners.php:298
747
  msgid "Your Su.pr account details"
748
  msgstr ""
749
 
750
- #: wp-to-twitter-shorteners.php:298
751
  msgid "(optional)"
752
  msgstr ""
753
 
754
- #: wp-to-twitter-shorteners.php:303
755
  msgid "Your Su.pr Username:"
756
  msgstr ""
757
 
758
- #: wp-to-twitter-shorteners.php:307
759
  msgid ""
760
  "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
761
  msgstr ""
762
 
763
- #: wp-to-twitter-shorteners.php:314
764
  msgid ""
765
  "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</"
766
  "a>!<br />You'll need an API key in order to associate the URLs you create "
767
  "with your Su.pr account."
768
  msgstr ""
769
 
770
- #: wp-to-twitter-shorteners.php:320
771
  msgid "Your Bit.ly account details"
772
  msgstr ""
773
 
774
- #: wp-to-twitter-shorteners.php:325
775
  msgid "Your Bit.ly username:"
776
  msgstr ""
777
 
778
- #: wp-to-twitter-shorteners.php:329
779
  msgid ""
780
  "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
781
  msgstr ""
782
 
783
- #: wp-to-twitter-shorteners.php:332
784
  msgid "View your Bit.ly username and API key"
785
  msgstr ""
786
 
787
- #: wp-to-twitter-shorteners.php:337
788
  msgid "Save Bit.ly API Key"
789
  msgstr ""
790
 
791
- #: wp-to-twitter-shorteners.php:337
792
  msgid "Clear Bit.ly API Key"
793
  msgstr ""
794
 
795
- #: wp-to-twitter-shorteners.php:337
796
  msgid ""
797
  "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API "
798
  "and WP to Twitter."
799
  msgstr ""
800
 
801
- #: wp-to-twitter-shorteners.php:343
802
  msgid "Your YOURLS account details"
803
  msgstr ""
804
 
805
- #: wp-to-twitter-shorteners.php:348
806
  msgid "Path to your YOURLS config file (Local installations)"
807
  msgstr ""
808
 
809
- #: wp-to-twitter-shorteners.php:349 wp-to-twitter-shorteners.php:353
810
  msgid "Example:"
811
  msgstr ""
812
 
813
- #: wp-to-twitter-shorteners.php:352
814
  msgid "URI to the YOURLS API (Remote installations)"
815
  msgstr ""
816
 
817
- #: wp-to-twitter-shorteners.php:356
818
  msgid "Your YOURLS username:"
819
  msgstr ""
820
 
821
- #: wp-to-twitter-shorteners.php:360
822
  msgid "Your YOURLS password:"
823
  msgstr ""
824
 
825
- #: wp-to-twitter-shorteners.php:360
826
  msgid "<em>Saved</em>"
827
  msgstr ""
828
 
829
- #: wp-to-twitter-shorteners.php:364
830
  msgid "Post ID for YOURLS url slug."
831
  msgstr ""
832
 
833
- #: wp-to-twitter-shorteners.php:365
834
  msgid "Custom keyword for YOURLS url slug."
835
  msgstr ""
836
 
837
- #: wp-to-twitter-shorteners.php:366
838
  msgid "Default: sequential URL numbering."
839
  msgstr ""
840
 
841
- #: wp-to-twitter-shorteners.php:372
842
  msgid "Save YOURLS Account Info"
843
  msgstr ""
844
 
845
- #: wp-to-twitter-shorteners.php:372
846
  msgid "Clear YOURLS password"
847
  msgstr ""
848
 
849
- #: wp-to-twitter-shorteners.php:372
850
  msgid ""
851
  "A YOURLS password and username is required to shorten URLs via the remote "
852
  "YOURLS API and WP to Twitter."
853
  msgstr ""
854
 
855
- #: wp-to-twitter-shorteners.php:378
856
  msgid "Your jotURL account details"
857
  msgstr ""
858
 
859
- #: wp-to-twitter-shorteners.php:382
860
  msgid ""
861
  "Your jotURL public <abbr title='application programming interface'>API</"
862
  "abbr> key:"
863
  msgstr ""
864
 
865
- #: wp-to-twitter-shorteners.php:383
866
  msgid ""
867
  "Your jotURL private <abbr title='application programming interface'>API</"
868
  "abbr> key:"
869
  msgstr ""
870
 
871
- #: wp-to-twitter-shorteners.php:384
872
  msgid "Parameters to add to the long URL (before shortening):"
873
  msgstr ""
874
 
875
- #: wp-to-twitter-shorteners.php:384
876
  msgid "Parameters to add to the short URL (after shortening):"
877
  msgstr ""
878
 
879
- #: wp-to-twitter-shorteners.php:385
880
  msgid "View your jotURL public and private API key"
881
  msgstr ""
882
 
883
- #: wp-to-twitter-shorteners.php:388
884
  msgid "Save jotURL settings"
885
  msgstr ""
886
 
887
- #: wp-to-twitter-shorteners.php:388
888
  msgid "Clear jotURL settings"
889
  msgstr ""
890
 
891
- #: wp-to-twitter-shorteners.php:389
892
  msgid ""
893
  "A jotURL public and private API key is required to shorten URLs via the "
894
  "jotURL API and WP to Twitter."
895
  msgstr ""
896
 
897
- #: wp-to-twitter-shorteners.php:394
898
  msgid "Your shortener does not require any account settings."
899
  msgstr ""
900
 
901
- #: wp-to-twitter-shorteners.php:406
902
  msgid "YOURLS password updated. "
903
  msgstr ""
904
 
905
- #: wp-to-twitter-shorteners.php:409
906
  msgid ""
907
  "YOURLS password deleted. You will be unable to use your remote YOURLS "
908
  "account to create short URLS."
909
  msgstr ""
910
 
911
- #: wp-to-twitter-shorteners.php:411
912
  msgid "Failed to save your YOURLS password! "
913
  msgstr ""
914
 
915
- #: wp-to-twitter-shorteners.php:415
916
  msgid "YOURLS username added. "
917
  msgstr ""
918
 
919
- #: wp-to-twitter-shorteners.php:419
920
  msgid "YOURLS API url added. "
921
  msgstr ""
922
 
923
- #: wp-to-twitter-shorteners.php:422
924
  msgid "YOURLS API url removed. "
925
  msgstr ""
926
 
927
- #: wp-to-twitter-shorteners.php:427
928
  msgid "YOURLS local server path added. "
929
  msgstr ""
930
 
931
- #: wp-to-twitter-shorteners.php:429
932
  msgid "The path to your YOURLS installation is not correct. "
933
  msgstr ""
934
 
935
- #: wp-to-twitter-shorteners.php:433
936
  msgid "YOURLS local server path removed. "
937
  msgstr ""
938
 
939
- #: wp-to-twitter-shorteners.php:438
940
  msgid "YOURLS will use Post ID for short URL slug."
941
  msgstr ""
942
 
943
- #: wp-to-twitter-shorteners.php:440
944
  msgid "YOURLS will use your custom keyword for short URL slug."
945
  msgstr ""
946
 
947
- #: wp-to-twitter-shorteners.php:444
948
  msgid "YOURLS will not use Post ID for the short URL slug."
949
  msgstr ""
950
 
951
- #: wp-to-twitter-shorteners.php:452
952
  msgid "Su.pr API Key and Username Updated"
953
  msgstr ""
954
 
955
- #: wp-to-twitter-shorteners.php:456
956
  msgid ""
957
  "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will "
958
  "no longer be associated with your account. "
959
  msgstr ""
960
 
961
- #: wp-to-twitter-shorteners.php:458
962
  msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
963
  msgstr ""
964
 
965
- #: wp-to-twitter-shorteners.php:464
966
  msgid "Bit.ly API Key Updated."
967
  msgstr ""
968
 
969
- #: wp-to-twitter-shorteners.php:467
970
  msgid ""
971
  "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
972
  msgstr ""
973
 
974
- #: wp-to-twitter-shorteners.php:469
975
  msgid ""
976
  "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</"
977
  "a>! An API key is required to use the Bit.ly URL shortening service."
978
  msgstr ""
979
 
980
- #: wp-to-twitter-shorteners.php:473
981
  msgid " Bit.ly User Login Updated."
982
  msgstr ""
983
 
984
- #: wp-to-twitter-shorteners.php:476
985
  msgid ""
986
  "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing "
987
  "your username. "
988
  msgstr ""
989
 
990
- #: wp-to-twitter-shorteners.php:478
991
  msgid ""
992
  "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
993
  msgstr ""
994
 
995
- #: wp-to-twitter-shorteners.php:484
996
  msgid "jotURL private API Key Updated. "
997
  msgstr ""
998
 
999
- #: wp-to-twitter-shorteners.php:487
1000
  msgid ""
1001
  "jotURL private API Key deleted. You cannot use the jotURL API without a "
1002
  "private API key. "
1003
  msgstr ""
1004
 
1005
- #: wp-to-twitter-shorteners.php:489
1006
  msgid ""
1007
  "jotURL private API Key not added - <a href='https://www.joturl.com/reserved/"
1008
  "api.html'>get one here</a>! A private API key is required to use the jotURL "
1009
  "URL shortening service. "
1010
  msgstr ""
1011
 
1012
- #: wp-to-twitter-shorteners.php:493
1013
  msgid "jotURL public API Key Updated. "
1014
  msgstr ""
1015
 
1016
- #: wp-to-twitter-shorteners.php:496
1017
  msgid ""
1018
  "jotURL public API Key deleted. You cannot use the jotURL API without "
1019
  "providing your public API Key. "
1020
  msgstr ""
1021
 
1022
- #: wp-to-twitter-shorteners.php:498
1023
  msgid ""
1024
  "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/"
1025
  "api.html'>get one here</a>! "
1026
  msgstr ""
1027
 
1028
- #: wp-to-twitter-shorteners.php:504
1029
  msgid "Long URL parameters added. "
1030
  msgstr ""
1031
 
1032
- #: wp-to-twitter-shorteners.php:507
1033
  msgid "Long URL parameters deleted. "
1034
  msgstr ""
1035
 
1036
- #: wp-to-twitter-shorteners.php:513
1037
  msgid "Short URL parameters added. "
1038
  msgstr ""
1039
 
1040
- #: wp-to-twitter-shorteners.php:516
1041
  msgid "Short URL parameters deleted. "
1042
  msgstr ""
1043
 
1044
- #: wp-to-twitter-shorteners.php:526
1045
  msgid ""
1046
  "You must add your Bit.ly login and API key in order to shorten URLs with Bit."
1047
  "ly."
1048
  msgstr ""
1049
 
1050
- #: wp-to-twitter-shorteners.php:530
1051
  msgid ""
1052
  "You must add your jotURL public and private API key in order to shorten URLs "
1053
  "with jotURL."
1054
  msgstr ""
1055
 
1056
- #: wp-to-twitter-shorteners.php:534
1057
  msgid ""
1058
  "You must add your YOURLS remote URL, login, and password in order to shorten "
1059
  "URLs with a remote installation of YOURLS."
1060
  msgstr ""
1061
 
1062
- #: wp-to-twitter-shorteners.php:538
1063
  msgid ""
1064
  "You must add your YOURLS server path in order to shorten URLs with a remote "
1065
  "installation of YOURLS."
1066
  msgstr ""
1067
 
1068
- #: wp-to-twitter-shorteners.php:548
1069
  msgid "Choose a short URL service (account settings below)"
1070
  msgstr ""
1071
 
1072
- #: wp-to-twitter-shorteners.php:550
1073
  msgid "Don't shorten URLs."
1074
  msgstr ""
1075
 
1076
- #: wp-to-twitter-shorteners.php:554
1077
  msgid "YOURLS (on this server)"
1078
  msgstr ""
1079
 
1080
- #: wp-to-twitter-shorteners.php:555
1081
  msgid "YOURLS (on a remote server)"
1082
  msgstr ""
1083
 
1084
- #: wp-to-twitter-shorteners.php:558
1085
  msgid "Use Twitter Friendly Links."
1086
  msgstr ""
1087
 
1088
- #: wp-to-twitter.php:69
1089
  msgid ""
1090
  "The current version of WP Tweets PRO is <strong>%s</strong>. <a href="
1091
  "\"http://www.joedolson.com/articles/account/\">Upgrade for best "
1092
  "compatibility!</a>"
1093
  msgstr ""
1094
 
1095
- #: wp-to-twitter.php:78
1096
- msgid ""
1097
- "WP to Twitter requires WordPress 3.2.1 or a more recent version <a href="
1098
- "\"http://codex.wordpress.org/Upgrading_WordPress\">Please update WordPress "
1099
- "to continue using WP to Twitter with all features!</a>"
1100
- msgstr ""
1101
-
1102
- #: wp-to-twitter.php:91
1103
  msgid ""
1104
  "Tweeting of comments has been moved to <a href=\"%1$s\">WP Tweets PRO</a>. "
1105
  "You will need to upgrade in order to Tweet comments. <a href=\"%2$s"
1106
  "\">Dismiss</a>"
1107
  msgstr ""
1108
 
1109
- #: wp-to-twitter.php:264
1110
  msgid "This account is not authorized to post to Twitter."
1111
  msgstr ""
1112
 
1113
- #: wp-to-twitter.php:273
1114
  msgid "This tweet is identical to another Tweet recently sent to this account."
1115
  msgstr ""
1116
 
1117
- #: wp-to-twitter.php:279
1118
  msgid "This tweet was blank and could not be sent to Twitter."
1119
  msgstr ""
1120
 
1121
- #: wp-to-twitter.php:314
1122
  msgid ""
1123
  "Your Twitter application does not have read and write permissions. Go to <a "
1124
  "href=\"%s\">your Twitter apps</a> to modify these settings."
1125
  msgstr ""
1126
 
1127
- #: wp-to-twitter.php:319
1128
  msgid "200 OK: Success!"
1129
  msgstr ""
1130
 
1131
- #: wp-to-twitter.php:323
1132
  msgid "304 Not Modified: There was no new data to return"
1133
  msgstr ""
1134
 
1135
- #: wp-to-twitter.php:326
1136
  msgid ""
1137
  "400 Bad Request: The request was invalid. This is the status code returned "
1138
  "during rate limiting."
1139
  msgstr ""
1140
 
1141
- #: wp-to-twitter.php:329
1142
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
1143
  msgstr ""
1144
 
1145
- #: wp-to-twitter.php:333
1146
  msgid ""
1147
  "403 Forbidden: The request is understood, but has been refused by Twitter. "
1148
  "Possible reasons: too many Tweets, same Tweet submitted twice, Tweet longer "
1149
  "than 140 characters. Not an error from WP to Twitter."
1150
  msgstr ""
1151
 
1152
- #: wp-to-twitter.php:336
1153
  msgid ""
1154
  "404 Not Found: The URI requested is invalid or the resource requested does "
1155
  "not exist."
1156
  msgstr ""
1157
 
1158
- #: wp-to-twitter.php:339
1159
  msgid "406 Not Acceptable: Invalid Format Specified."
1160
  msgstr ""
1161
 
1162
- #: wp-to-twitter.php:342
1163
  msgid "422 Unprocessable Entity: The image uploaded could not be processed.."
1164
  msgstr ""
1165
 
1166
- #: wp-to-twitter.php:345
1167
  msgid "429 Too Many Requests: You have exceeded your rate limits."
1168
  msgstr ""
1169
 
1170
- #: wp-to-twitter.php:348
1171
  msgid "500 Internal Server Error: Something is broken at Twitter."
1172
  msgstr ""
1173
 
1174
- #: wp-to-twitter.php:351
1175
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
1176
  msgstr ""
1177
 
1178
- #: wp-to-twitter.php:354
1179
  msgid ""
1180
  "503 Service Unavailable: The Twitter servers are up, but overloaded with "
1181
  "requests - Please try again later."
1182
  msgstr ""
1183
 
1184
- #: wp-to-twitter.php:357
1185
  msgid ""
1186
  "504 Gateway Timeout: The Twitter servers are up, but the request couldn't be "
1187
  "serviced due to some failure within our stack. Try again later."
1188
  msgstr ""
1189
 
1190
- #: wp-to-twitter.php:394
1191
  msgid "No Twitter OAuth connection found."
1192
  msgstr ""
1193
 
1194
- #: wp-to-twitter.php:1023
1195
  msgid "Tweeting %s edits is disabled."
1196
  msgstr ""
1197
 
1198
- #: wp-to-twitter.php:1036
1199
  msgid "Custom Twitter Post"
1200
  msgstr ""
1201
 
1202
- #: wp-to-twitter.php:1041
1203
  msgid "Your prepended Tweet text; not part of your template."
1204
  msgstr ""
1205
 
1206
- #: wp-to-twitter.php:1044
1207
  msgid "Your appended Tweet text; not part of your template."
1208
  msgstr ""
1209
 
1210
- #: wp-to-twitter.php:1047
1211
  msgid "Your template:"
1212
  msgstr ""
1213
 
1214
- #: wp-to-twitter.php:1051
1215
  msgid "YOURLS Custom Keyword"
1216
  msgstr ""
1217
 
1218
- #: wp-to-twitter.php:1062
1219
  msgid "Don't Tweet this post."
1220
  msgstr ""
1221
 
1222
- #: wp-to-twitter.php:1062
1223
  msgid "Tweet this post."
1224
  msgstr ""
1225
 
1226
- #: wp-to-twitter.php:1089
1227
  msgid ""
1228
  "WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href=\"%s"
1229
  "\">Log in and download now!</a>"
1230
  msgstr ""
1231
 
1232
- #: wp-to-twitter.php:1091
1233
  msgid ""
1234
  "Upgrade to WP Tweets PRO to select Twitter accounts! <a href=\"%s\">Upgrade "
1235
  "now!</a>"
1236
  msgstr ""
1237
 
1238
- #: wp-to-twitter.php:1110
1239
  msgid ""
1240
  "Access to customizing WP to Twitter values is not allowed for your user role."
1241
  msgstr ""
1242
 
1243
- #: wp-to-twitter.php:1122
1244
  msgid ""
1245
  "Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 "
1246
  "characters. Template Tags: <code>#url#</code>, <code>#title#</code>, "
@@ -1249,101 +1243,83 @@ msgid ""
1249
  "<code>#tags#</code>, or <code>#blog#</code>."
1250
  msgstr ""
1251
 
1252
- #: wp-to-twitter.php:1132
1253
  msgid "Upgrade to WP Tweets Pro"
1254
  msgstr ""
1255
 
1256
- #: wp-to-twitter.php:1141
1257
  msgid "Your role does not have the ability to Post Tweets from this site."
1258
  msgstr ""
1259
 
1260
- #: wp-to-twitter.php:1149
1261
  msgid "Previous Tweets"
1262
  msgstr ""
1263
 
1264
- #: wp-to-twitter.php:1165
1265
  msgid "Failed Tweets"
1266
  msgstr ""
1267
 
1268
- #: wp-to-twitter.php:1180
1269
  msgid "No failed tweets on this post."
1270
  msgstr ""
1271
 
1272
- #: wp-to-twitter.php:1186
1273
  msgid "Delete Tweet History"
1274
  msgstr ""
1275
 
1276
- #: wp-to-twitter.php:1212
1277
  msgid "Characters left: "
1278
  msgstr ""
1279
 
1280
- #: wp-to-twitter.php:1281
1281
  msgid "WP Tweets User Settings"
1282
  msgstr ""
1283
 
1284
- #: wp-to-twitter.php:1285
1285
  msgid "Use My Twitter Username"
1286
  msgstr ""
1287
 
1288
- #: wp-to-twitter.php:1286
1289
  msgid "Tweet my posts with an @ reference to my username."
1290
  msgstr ""
1291
 
1292
- #: wp-to-twitter.php:1287
1293
  msgid ""
1294
  "Tweet my posts with an @ reference to both my username and to the main site "
1295
  "username."
1296
  msgstr ""
1297
 
1298
- #: wp-to-twitter.php:1291
1299
  msgid "Your Twitter Username"
1300
  msgstr ""
1301
 
1302
- #: wp-to-twitter.php:1292
1303
  msgid "Enter your own Twitter username."
1304
  msgstr ""
1305
 
1306
- #: wp-to-twitter.php:1295
1307
  msgid "Hide account name in Tweets"
1308
  msgstr ""
1309
 
1310
- #: wp-to-twitter.php:1296
1311
  msgid "Do not display my account in the #account# template tag."
1312
  msgstr ""
1313
 
1314
- #: wp-to-twitter.php:1349
1315
- msgid "Check off categories to tweet"
1316
- msgstr ""
1317
-
1318
- #: wp-to-twitter.php:1353
1319
- msgid "Do not tweet posts in checked categories (Reverses default behavior)"
1320
- msgstr ""
1321
-
1322
- #: wp-to-twitter.php:1370
1323
- msgid ""
1324
- "Limits are exclusive. If a post is in one category which should be posted "
1325
- "and one category that should not, it will not be posted."
1326
- msgstr ""
1327
-
1328
- #: wp-to-twitter.php:1373
1329
- msgid "Set Categories"
1330
- msgstr ""
1331
-
1332
- #: wp-to-twitter.php:1396
1333
  msgid "Settings"
1334
  msgstr ""
1335
 
1336
- #: wp-to-twitter.php:1397
1337
  msgid "Upgrade"
1338
  msgstr ""
1339
 
1340
- #: wp-to-twitter.php:1434
1341
  msgid ""
1342
  "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href="
1343
  "\"%1$s\">changelog</a> before upgrading."
1344
  msgstr ""
1345
 
1346
- #: wp-to-twitter.php:1523
1347
  msgid ""
1348
  "I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a "
1349
  "href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with "
@@ -1354,138 +1330,142 @@ msgstr ""
1354
  msgid "Twitter returned an invalid response. It is probably down."
1355
  msgstr ""
1356
 
1357
- #: wpt-functions.php:291
1358
  msgid ""
1359
  "Please read the FAQ and other Help documents before making a support request."
1360
  msgstr ""
1361
 
1362
- #: wpt-functions.php:293
1363
  msgid "Please describe your problem. I'm not psychic."
1364
  msgstr ""
1365
 
1366
- #: wpt-functions.php:297
1367
  msgid ""
1368
  "Thank you for supporting the continuing development of this plug-in! I'll "
1369
  "get back to you as soon as I can. Please ensure that you can receive email "
1370
  "at <code>%s</code>."
1371
  msgstr ""
1372
 
1373
- #: wpt-functions.php:299
1374
  msgid ""
1375
  "Thanks for using WP to Twitter. Please ensure that you can receive email at "
1376
  "<code>%s</code>."
1377
  msgstr ""
1378
 
1379
- #: wpt-functions.php:313
1380
  msgid ""
1381
  "<strong>Please note</strong>: I do keep records of those who have donated, "
1382
  "but if your donation came from somebody other than your account at this web "
1383
  "site, you must note this in your message."
1384
  msgstr ""
1385
 
1386
- #: wpt-functions.php:317
1387
  msgid ""
1388
  "If you're having trouble with WP to Twitter, please try to answer these "
1389
  "questions in your message:"
1390
  msgstr ""
1391
 
1392
- #: wpt-functions.php:320
1393
  msgid "Did this error happen only once, or repeatedly?"
1394
  msgstr ""
1395
 
1396
- #: wpt-functions.php:321
1397
  msgid "What was the Tweet, or an example Tweet, that produced this error?"
1398
  msgstr ""
1399
 
1400
- #: wpt-functions.php:322
1401
  msgid "If there was an error message from WP to Twitter, what was it?"
1402
  msgstr ""
1403
 
1404
- #: wpt-functions.php:323
1405
  msgid "What is the template you're using for your Tweets?"
1406
  msgstr ""
1407
 
1408
- #: wpt-functions.php:328
1409
  msgid "Reply to:"
1410
  msgstr ""
1411
 
1412
- #: wpt-functions.php:331
1413
  msgid ""
1414
  "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</"
1415
  "span>"
1416
  msgstr ""
1417
 
1418
- #: wpt-functions.php:334
1419
  msgid ""
1420
  "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
1421
  msgstr ""
1422
 
1423
- #: wpt-functions.php:337
1424
  msgid "Support Request:"
1425
  msgstr ""
1426
 
1427
- #: wpt-functions.php:340
1428
  msgid "Send Support Request"
1429
  msgstr ""
1430
 
1431
- #: wpt-functions.php:343
1432
  msgid ""
1433
  "The following additional information will be sent with your support request:"
1434
  msgstr ""
1435
 
1436
- #: wpt-widget.php:86
 
 
 
 
1437
  msgid "<a href=\"%3$s\">about %1$s ago</a> via %2$s"
1438
  msgstr ""
1439
 
1440
- #: wpt-widget.php:88
1441
  msgid "<a href=\"%2$s\">about %1$s ago</a>"
1442
  msgstr ""
1443
 
1444
- #: wpt-widget.php:139
1445
  msgid "Display a list of your latest tweets."
1446
  msgstr ""
1447
 
1448
- #: wpt-widget.php:147
1449
  msgid "WP to Twitter - Latest Tweets"
1450
  msgstr ""
1451
 
1452
- #: wpt-widget.php:203
1453
  msgid "Title"
1454
  msgstr ""
1455
 
1456
- #: wpt-widget.php:208
1457
  msgid "Twitter Username"
1458
  msgstr ""
1459
 
1460
- #: wpt-widget.php:213
1461
  msgid "Number of Tweets to Show"
1462
  msgstr ""
1463
 
1464
- #: wpt-widget.php:219
1465
  msgid "Hide @ Replies"
1466
  msgstr ""
1467
 
1468
- #: wpt-widget.php:224
1469
  msgid "Include Retweets"
1470
  msgstr ""
1471
 
1472
- #: wpt-widget.php:229
1473
  msgid "Parse links"
1474
  msgstr ""
1475
 
1476
- #: wpt-widget.php:234
1477
  msgid "Parse @mentions"
1478
  msgstr ""
1479
 
1480
- #: wpt-widget.php:239
1481
  msgid "Parse #hashtags"
1482
  msgstr ""
1483
 
1484
- #: wpt-widget.php:244
1485
  msgid "Include Reply/Retweet/Favorite Links"
1486
  msgstr ""
1487
 
1488
- #: wpt-widget.php:249
1489
  msgid "Include Tweet source"
1490
  msgstr ""
1491
 
1
+ # Copyright (C) 2014 WP to Twitter
2
  # This file is distributed under the same license as the WP to Twitter package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP to Twitter 2.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
7
+ "POT-Creation-Date: 2014-01-06 23:23:26+00:00\n"
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: 2014-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
57
  "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
58
  msgstr ""
59
 
60
+ #: wp-to-twitter-manager.php:88
61
  msgid "WP to Twitter Errors Cleared"
62
  msgstr ""
63
 
89
  msgid "OAuth Authentication response not understood."
90
  msgstr ""
91
 
92
+ #: wp-to-twitter-manager.php:374
93
  msgid "WP to Twitter Advanced Options Updated"
94
  msgstr ""
95
 
96
+ #: wp-to-twitter-manager.php:393
97
  msgid "WP to Twitter Options Updated"
98
  msgstr ""
99
 
100
+ #: wp-to-twitter-manager.php:414
 
 
 
 
 
 
 
 
101
  msgid ""
102
  "<p>One or more of your last posts has failed to send a status update to "
103
  "Twitter. The Tweet has been saved, and you can re-Tweet it at your leisure.</"
104
  "p>"
105
  msgstr ""
106
 
107
+ #: wp-to-twitter-manager.php:420
108
  msgid ""
109
  "Sorry! I couldn't get in touch with the Twitter servers to post your "
110
  "<strong>new link</strong>! You'll have to post it manually, I'm afraid. "
111
  msgstr ""
112
 
113
+ #: wp-to-twitter-manager.php:423
114
  msgid ""
115
  "<p>The query to the URL shortener API failed, and your URL was not shrunk. "
116
  "The full post URL was attached to your Tweet. Check with your URL shortening "
117
  "provider to see if there are any known issues.</p>"
118
  msgstr ""
119
 
120
+ #: wp-to-twitter-manager.php:429
121
  msgid "Clear 'WP to Twitter' Error Messages"
122
  msgstr ""
123
 
124
+ #: wp-to-twitter-manager.php:435
125
  msgid "WP to Twitter Options"
126
  msgstr ""
127
 
128
+ #: wp-to-twitter-manager.php:457
129
+ msgid "Status Update Templates"
130
  msgstr ""
131
 
132
+ #: wp-to-twitter-manager.php:462 wp-to-twitter-manager.php:545
133
+ msgid "Save WP to Twitter Options"
134
  msgstr ""
135
 
136
+ #: wp-to-twitter-manager.php:477 wp-to-twitter-manager.php:533
137
+ msgid "Links"
138
  msgstr ""
139
 
140
+ #: wp-to-twitter-manager.php:497
141
+ msgid ""
142
+ "These categories are currently <strong>excluded</strong> by the deprecated "
143
+ "WP to Twitter category filters."
144
  msgstr ""
145
 
146
+ #: wp-to-twitter-manager.php:499
147
+ msgid ""
148
+ "These categories are currently <strong>allowed</strong> by the deprecated WP "
149
+ "to Twitter category filters."
150
  msgstr ""
151
 
152
+ #: wp-to-twitter-manager.php:508
153
+ msgid ""
154
+ "<a href=\"%s\">Upgrade to WP Tweets PRO</a> to filter posts in all custom "
155
+ "post types on any taxonomy."
156
  msgstr ""
157
 
158
+ #: wp-to-twitter-manager.php:510
159
+ msgid ""
160
+ "Updating the WP Tweets PRO taxonomy filters will overwrite your old category "
161
+ "filters."
162
  msgstr ""
163
 
164
+ #: wp-to-twitter-manager.php:518
165
+ msgid "Update when %1$s %2$s is published"
166
+ msgstr ""
167
+
168
+ #: wp-to-twitter-manager.php:518
169
+ msgid "Template for new %1$s updates"
170
+ msgstr ""
171
+
172
+ #: wp-to-twitter-manager.php:522
173
+ msgid "Update when %1$s %2$s is edited"
174
+ msgstr ""
175
+
176
+ #: wp-to-twitter-manager.php:522
177
+ msgid "Template for %1$s editing updates"
178
  msgstr ""
179
 
180
+ #: wp-to-twitter-manager.php:536
181
  msgid "Update Twitter when you post a Blogroll link"
182
  msgstr ""
183
 
184
+ #: wp-to-twitter-manager.php:537
185
  msgid "Text for new link updates:"
186
  msgstr ""
187
 
188
+ #: wp-to-twitter-manager.php:537
189
  msgid ""
190
  "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and "
191
  "<code>#description#</code>."
192
  msgstr ""
193
 
194
+ #: wp-to-twitter-manager.php:557
195
  msgid "Advanced Settings"
196
  msgstr ""
197
 
198
+ #: wp-to-twitter-manager.php:562 wp-to-twitter-manager.php:726
199
+ msgid "Save Advanced WP to Twitter Options"
200
  msgstr ""
201
 
202
+ #: wp-to-twitter-manager.php:565
203
  msgid "Tags"
204
  msgstr ""
205
 
206
+ #: wp-to-twitter-manager.php:567
207
  msgid "Strip nonalphanumeric characters from tags"
208
  msgstr ""
209
 
210
+ #: wp-to-twitter-manager.php:570
211
  msgid "Use tag slug as hashtag value"
212
  msgstr ""
213
 
214
+ #: wp-to-twitter-manager.php:573
215
  msgid "Spaces in tags replaced with:"
216
  msgstr ""
217
 
218
+ #: wp-to-twitter-manager.php:576
219
  msgid "Maximum number of tags to include:"
220
  msgstr ""
221
 
222
+ #: wp-to-twitter-manager.php:577
223
  msgid "Maximum length in characters for included tags:"
224
  msgstr ""
225
 
226
+ #: wp-to-twitter-manager.php:581
227
  msgid "Template Tag Settings"
228
  msgstr ""
229
 
230
+ #: wp-to-twitter-manager.php:583
231
  msgid "Length of post excerpt (in characters):"
232
  msgstr ""
233
 
234
+ #: wp-to-twitter-manager.php:583
235
  msgid ""
236
  "Extracted from the post. If you use the 'Excerpt' field, it will be used "
237
  "instead."
238
  msgstr ""
239
 
240
+ #: wp-to-twitter-manager.php:586
241
  msgid "WP to Twitter Date Formatting:"
242
  msgstr ""
243
 
244
+ #: wp-to-twitter-manager.php:586
245
  msgid ""
246
  "Default is from your general settings. <a href='http://codex.wordpress.org/"
247
  "Formatting_Date_and_Time'>Date Formatting Documentation</a>."
248
  msgstr ""
249
 
250
+ #: wp-to-twitter-manager.php:590
251
  msgid "Custom text before all Tweets:"
252
  msgstr ""
253
 
254
+ #: wp-to-twitter-manager.php:593
255
  msgid "Custom text after all Tweets:"
256
  msgstr ""
257
 
258
+ #: wp-to-twitter-manager.php:596
259
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
260
  msgstr ""
261
 
262
+ #: wp-to-twitter-manager.php:626
263
  msgid "Template tag priority order"
264
  msgstr ""
265
 
266
+ #: wp-to-twitter-manager.php:627
267
  msgid ""
268
  "The order in which items will be abbreviated or removed from your Tweet if "
269
  "the Tweet is too long to send to Twitter."
270
  msgstr ""
271
 
272
+ #: wp-to-twitter-manager.php:633
273
  msgid "Special Cases when WordPress should send a Tweet"
274
  msgstr ""
275
 
276
+ #: wp-to-twitter-manager.php:636
277
  msgid "Do not post Tweets by default"
278
  msgstr ""
279
 
280
+ #: wp-to-twitter-manager.php:638
281
  msgid "Do not post Tweets by default (editing only)"
282
  msgstr ""
283
 
284
+ #: wp-to-twitter-manager.php:640
285
  msgid "Allow status updates from Quick Edit"
286
  msgstr ""
287
 
288
+ #: wp-to-twitter-manager.php:644
289
  msgid "Google Analytics Settings"
290
  msgstr ""
291
 
292
+ #: wp-to-twitter-manager.php:645
293
  msgid ""
294
  "You can track the response from Twitter using Google Analytics by defining a "
295
  "campaign identifier here. You can either define a static identifier or a "
299
  "additional variable."
300
  msgstr ""
301
 
302
+ #: wp-to-twitter-manager.php:648
303
  msgid "Use a Static Identifier with WP-to-Twitter"
304
  msgstr ""
305
 
306
+ #: wp-to-twitter-manager.php:649
307
  msgid "Static Campaign identifier for Google Analytics:"
308
  msgstr ""
309
 
310
+ #: wp-to-twitter-manager.php:653
311
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
312
  msgstr ""
313
 
314
+ #: wp-to-twitter-manager.php:654
315
  msgid "What dynamic identifier would you like to use?"
316
  msgstr ""
317
 
318
+ #: wp-to-twitter-manager.php:656
319
  msgid "Category"
320
  msgstr ""
321
 
322
+ #: wp-to-twitter-manager.php:657
323
  msgid "Post ID"
324
  msgstr ""
325
 
326
+ #: wp-to-twitter-manager.php:658
327
  msgid "Post Title"
328
  msgstr ""
329
 
330
+ #: wp-to-twitter-manager.php:659
331
  msgid "Author"
332
  msgstr ""
333
 
334
+ #: wp-to-twitter-manager.php:663
335
  msgid "No Analytics"
336
  msgstr ""
337
 
338
+ #: wp-to-twitter-manager.php:667
339
  msgid "Author Settings"
340
  msgstr ""
341
 
342
+ #: wp-to-twitter-manager.php:670
343
  msgid "Authors have individual Twitter accounts"
344
  msgstr ""
345
 
346
+ #: wp-to-twitter-manager.php:672
347
  msgid ""
348
  "Authors can add their username in their user profile. With the free edition "
349
  "of WP to Twitter, it adds an @reference to the author. The @reference is "
351
  "main account if the user account isn't configured."
352
  msgstr ""
353
 
354
+ #: wp-to-twitter-manager.php:676
355
  msgid "Permissions"
356
  msgstr ""
357
 
358
+ #: wp-to-twitter-manager.php:692
359
  msgid "The lowest user group that can add their Twitter information"
360
  msgstr ""
361
 
362
+ #: wp-to-twitter-manager.php:697
363
  msgid ""
364
  "The lowest user group that can see the Custom Tweet options when posting"
365
  msgstr ""
366
 
367
+ #: wp-to-twitter-manager.php:702
368
  msgid "The lowest user group that can toggle the Tweet/Don't Tweet option"
369
  msgstr ""
370
 
371
+ #: wp-to-twitter-manager.php:707
372
  msgid "The lowest user group that can send Twitter updates"
373
  msgstr ""
374
 
375
+ #: wp-to-twitter-manager.php:711
376
  msgid "Error Messages and Debugging"
377
  msgstr ""
378
 
379
+ #: wp-to-twitter-manager.php:713
380
  msgid "Disable global URL shortener error messages."
381
  msgstr ""
382
 
383
+ #: wp-to-twitter-manager.php:714
384
  msgid "Disable global Twitter API error messages."
385
  msgstr ""
386
 
387
+ #: wp-to-twitter-manager.php:716
388
  msgid "Get Debugging Data for OAuth Connection"
389
  msgstr ""
390
 
391
+ #: wp-to-twitter-manager.php:718
392
  msgid "Switch to <code>http</code> connection. (Default is https)"
393
  msgstr ""
394
 
395
+ #: wp-to-twitter-manager.php:720
396
  msgid "I made a donation, so stop whinging at me, please."
397
  msgstr ""
398
 
399
+ #: wp-to-twitter-manager.php:735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  msgid "Get Plug-in Support"
401
  msgstr ""
402
 
403
+ #: wp-to-twitter-manager.php:746
404
  msgid "Check Support"
405
  msgstr ""
406
 
407
+ #: wp-to-twitter-manager.php:746
408
  msgid ""
409
  "Check whether your server supports <a href=\"http://www.joedolson.com/"
410
  "articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL "
412
  "a URL using your selected methods."
413
  msgstr ""
414
 
415
+ #: wp-to-twitter-manager.php:765
416
  msgid "Support WP to Twitter"
417
  msgstr ""
418
 
419
+ #: wp-to-twitter-manager.php:767
420
  msgid "WP to Twitter Support"
421
  msgstr ""
422
 
423
+ #: wp-to-twitter-manager.php:775 wp-to-twitter.php:1143 wp-to-twitter.php:1145
424
  msgid "Get Support"
425
  msgstr ""
426
 
427
+ #: wp-to-twitter-manager.php:777
428
  msgid ""
429
+ "<a href=\"http://www.joedolson.com/donate.php\">Make a donation today!</"
430
+ "a><br />Every donation matters - donate $5, $20, or $100 today!"
 
431
  msgstr ""
432
 
433
+ #: wp-to-twitter-manager.php:797
434
  msgid "Upgrade Now!"
435
  msgstr ""
436
 
437
+ #: wp-to-twitter-manager.php:799
438
+ msgid "Upgrade to <strong>WP Tweets PRO</strong>!"
439
  msgstr ""
440
 
441
+ #: wp-to-twitter-manager.php:800
442
+ msgid "Bonuses in the PRO upgrade:"
443
  msgstr ""
444
 
445
+ #: wp-to-twitter-manager.php:802
446
+ msgid "Authors can post to their own Twitter accounts"
447
  msgstr ""
448
 
449
+ #: wp-to-twitter-manager.php:803
450
+ msgid "Delay Tweets minutes or hours after you publish"
451
  msgstr ""
452
 
453
+ #: wp-to-twitter-manager.php:804
454
+ msgid "Automatically schedule Tweets to post again later"
455
  msgstr ""
456
 
457
+ #: wp-to-twitter-manager.php:805
458
  msgid "Send Tweets for approved comments"
459
  msgstr ""
460
 
461
+ #: wp-to-twitter-manager.php:806
462
+ msgid "Filter Tweets by category, tag, or custom taxonomy"
463
+ msgstr ""
464
+
465
+ #: wp-to-twitter-manager.php:821
466
  msgid "Shortcodes"
467
  msgstr ""
468
 
469
+ #: wp-to-twitter-manager.php:823
470
  msgid "Available in post update templates:"
471
  msgstr ""
472
 
473
+ #: wp-to-twitter-manager.php:825
474
  msgid "<code>#title#</code>: the title of your blog post"
475
  msgstr ""
476
 
477
+ #: wp-to-twitter-manager.php:826
478
  msgid "<code>#blog#</code>: the title of your blog"
479
  msgstr ""
480
 
481
+ #: wp-to-twitter-manager.php:827
482
  msgid "<code>#post#</code>: a short excerpt of the post content"
483
  msgstr ""
484
 
485
+ #: wp-to-twitter-manager.php:828
486
  msgid "<code>#category#</code>: the first selected category for the post"
487
  msgstr ""
488
 
489
+ #: wp-to-twitter-manager.php:829
490
  msgid ""
491
  "<code>#cat_desc#</code>: custom value from the category description field"
492
  msgstr ""
493
 
494
+ #: wp-to-twitter-manager.php:830
495
  msgid "<code>#date#</code>: the post date"
496
  msgstr ""
497
 
498
+ #: wp-to-twitter-manager.php:831
499
  msgid "<code>#modified#</code>: the post modified date"
500
  msgstr ""
501
 
502
+ #: wp-to-twitter-manager.php:832
503
  msgid "<code>#url#</code>: the post URL"
504
  msgstr ""
505
 
506
+ #: wp-to-twitter-manager.php:833
507
  msgid ""
508
  "<code>#author#</code>: the post author (@reference if available, otherwise "
509
  "display name)"
510
  msgstr ""
511
 
512
+ #: wp-to-twitter-manager.php:834
513
  msgid "<code>#displayname#</code>: post author's display name"
514
  msgstr ""
515
 
516
+ #: wp-to-twitter-manager.php:835
517
  msgid ""
518
  "<code>#account#</code>: the twitter @reference for the account (or the "
519
  "author, if author settings are enabled and set.)"
520
  msgstr ""
521
 
522
+ #: wp-to-twitter-manager.php:836
523
  msgid ""
524
  "<code>#@#</code>: the twitter @reference for the author or blank, if not set"
525
  msgstr ""
526
 
527
+ #: wp-to-twitter-manager.php:837
528
  msgid ""
529
  "<code>#tags#</code>: your tags modified into hashtags. See options in the "
530
  "Advanced Settings section, below."
531
  msgstr ""
532
 
533
+ #: wp-to-twitter-manager.php:839
534
  msgid ""
535
  "<code>#reference#</code>: Used only in co-tweeting. @reference to main "
536
  "account when posted to author account, @reference to author account in post "
537
  "to main account."
538
  msgstr ""
539
 
540
+ #: wp-to-twitter-manager.php:842
541
  msgid ""
542
  "You can also create custom shortcodes to access WordPress custom fields. Use "
543
  "doubled square brackets surrounding the name of your custom field to add the "
565
  "href='%s'>update your settings</a> to complete installation of WP to Twitter."
566
  msgstr ""
567
 
568
+ #: wp-to-twitter-oauth.php:211 wp-to-twitter-oauth.php:214
569
  msgid "Connect to Twitter"
570
  msgstr ""
571
 
572
+ #: wp-to-twitter-oauth.php:217
573
  msgid "WP to Twitter Set-up"
574
  msgstr ""
575
 
576
+ #: wp-to-twitter-oauth.php:218 wp-to-twitter-oauth.php:310
577
+ #: wp-to-twitter-oauth.php:315
578
  msgid "Your server time:"
579
  msgstr ""
580
 
581
+ #: wp-to-twitter-oauth.php:218
582
  msgid "Twitter's time:"
583
  msgstr ""
584
 
585
+ #: wp-to-twitter-oauth.php:218
586
  msgid ""
587
  "If these timestamps are not within 5 minutes of each other, your server will "
588
  "not connect to Twitter."
589
  msgstr ""
590
 
591
+ #: wp-to-twitter-oauth.php:220
592
  msgid "Your server timezone (should be UTC,GMT,Europe/London or equivalent):"
593
  msgstr ""
594
 
595
+ #: wp-to-twitter-oauth.php:224
596
  msgid "1. Register this site as an application on "
597
  msgstr ""
598
 
599
+ #: wp-to-twitter-oauth.php:224
600
  msgid "Twitter's application registration page"
601
  msgstr ""
602
 
603
+ #: wp-to-twitter-oauth.php:226
604
  msgid ""
605
  "If you're not currently logged in to Twitter, log-in to the account you want "
606
  "associated with this site"
607
  msgstr ""
608
 
609
+ #: wp-to-twitter-oauth.php:227
610
  msgid "Your application name cannot include the word \"Twitter.\""
611
  msgstr ""
612
 
613
+ #: wp-to-twitter-oauth.php:228
614
  msgid "Your Application Description can be anything."
615
  msgstr ""
616
 
617
+ #: wp-to-twitter-oauth.php:229
618
  msgid "The WebSite and Callback URL should be "
619
  msgstr ""
620
 
621
+ #: wp-to-twitter-oauth.php:231
622
  msgid "Agree to the Developer Rules of the Road and continue."
623
  msgstr ""
624
 
625
+ #: wp-to-twitter-oauth.php:232
626
  msgid "2. Switch to the \"Settings\" tab in Twitter apps"
627
  msgstr ""
628
 
629
+ #: wp-to-twitter-oauth.php:232
630
  msgid "<em>Do NOT create your access token yet.</em>"
631
  msgstr ""
632
 
633
+ #: wp-to-twitter-oauth.php:234
634
  msgid "Select \"Read and Write\" for the Application Type"
635
  msgstr ""
636
 
637
+ #: wp-to-twitter-oauth.php:235
638
  msgid "Update the application settings"
639
  msgstr ""
640
 
641
+ #: wp-to-twitter-oauth.php:236
642
  msgid "Return to the Details tab and create your access token."
643
  msgstr ""
644
 
645
+ #: wp-to-twitter-oauth.php:238
646
  msgid ""
647
  "Once you have registered your site as an application, you will be provided "
648
  "with four keys."
649
  msgstr ""
650
 
651
+ #: wp-to-twitter-oauth.php:239
652
  msgid ""
653
  "3. Copy and paste your consumer key and consumer secret into the fields below"
654
  msgstr ""
655
 
656
+ #: wp-to-twitter-oauth.php:242
657
  msgid "Twitter Consumer Key"
658
  msgstr ""
659
 
660
+ #: wp-to-twitter-oauth.php:246
661
  msgid "Twitter Consumer Secret"
662
  msgstr ""
663
 
664
+ #: wp-to-twitter-oauth.php:250
665
  msgid ""
666
  "4. Copy and paste your Access Token and Access Token Secret into the fields "
667
  "below"
668
  msgstr ""
669
 
670
+ #: wp-to-twitter-oauth.php:251
671
  msgid ""
672
  "If the Access level for your Access Token is not \"<em>Read and write</em>"
673
  "\", you must return to step 2 and generate a new Access Token."
674
  msgstr ""
675
 
676
+ #: wp-to-twitter-oauth.php:254
677
  msgid "Access Token"
678
  msgstr ""
679
 
680
+ #: wp-to-twitter-oauth.php:258
681
  msgid "Access Token Secret"
682
  msgstr ""
683
 
684
+ #: wp-to-twitter-oauth.php:277
685
  msgid "Disconnect Your WordPress and Twitter Account"
686
  msgstr ""
687
 
688
+ #: wp-to-twitter-oauth.php:281
689
  msgid "Disconnect your WordPress and Twitter Account"
690
  msgstr ""
691
 
692
+ #: wp-to-twitter-oauth.php:283
693
  msgid ""
694
  "<strong>Troubleshooting tip:</strong> Connected, but getting a error that "
695
  "your Authentication credentials are missing or incorrect? Check that your "
698
  "support-2/#q1\">Read the FAQ</a>"
699
  msgstr ""
700
 
701
+ #: wp-to-twitter-oauth.php:285
702
  msgid ""
703
  "Your time stamps are more than 5 minutes apart. Your server could lose its "
704
  "connection with Twitter."
705
  msgstr ""
706
 
707
+ #: wp-to-twitter-oauth.php:287
708
  msgid ""
709
  "WP to Twitter could not contact Twitter's remote server. Here is the error "
710
  "triggered: "
711
  msgstr ""
712
 
713
+ #: wp-to-twitter-oauth.php:292
714
  msgid "Disconnect from Twitter"
715
  msgstr ""
716
 
717
+ #: wp-to-twitter-oauth.php:298
718
  msgid "Twitter Username "
719
  msgstr ""
720
 
721
+ #: wp-to-twitter-oauth.php:299
722
  msgid "Consumer Key "
723
  msgstr ""
724
 
725
+ #: wp-to-twitter-oauth.php:300
726
  msgid "Consumer Secret "
727
  msgstr ""
728
 
729
+ #: wp-to-twitter-oauth.php:301
730
  msgid "Access Token "
731
  msgstr ""
732
 
733
+ #: wp-to-twitter-oauth.php:302
734
  msgid "Access Token Secret "
735
  msgstr ""
736
 
737
+ #: wp-to-twitter-oauth.php:310 wp-to-twitter-oauth.php:316
738
  msgid "Twitter's server time: "
739
  msgstr ""
740
 
741
+ #: wp-to-twitter-shorteners.php:295
742
  msgid ""
743
  "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account "
744
  "Settings"
745
  msgstr ""
746
 
747
+ #: wp-to-twitter-shorteners.php:299
748
  msgid "Your Su.pr account details"
749
  msgstr ""
750
 
751
+ #: wp-to-twitter-shorteners.php:299
752
  msgid "(optional)"
753
  msgstr ""
754
 
755
+ #: wp-to-twitter-shorteners.php:304
756
  msgid "Your Su.pr Username:"
757
  msgstr ""
758
 
759
+ #: wp-to-twitter-shorteners.php:308
760
  msgid ""
761
  "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
762
  msgstr ""
763
 
764
+ #: wp-to-twitter-shorteners.php:315
765
  msgid ""
766
  "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</"
767
  "a>!<br />You'll need an API key in order to associate the URLs you create "
768
  "with your Su.pr account."
769
  msgstr ""
770
 
771
+ #: wp-to-twitter-shorteners.php:321
772
  msgid "Your Bit.ly account details"
773
  msgstr ""
774
 
775
+ #: wp-to-twitter-shorteners.php:326
776
  msgid "Your Bit.ly username:"
777
  msgstr ""
778
 
779
+ #: wp-to-twitter-shorteners.php:330
780
  msgid ""
781
  "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
782
  msgstr ""
783
 
784
+ #: wp-to-twitter-shorteners.php:333
785
  msgid "View your Bit.ly username and API key"
786
  msgstr ""
787
 
788
+ #: wp-to-twitter-shorteners.php:338
789
  msgid "Save Bit.ly API Key"
790
  msgstr ""
791
 
792
+ #: wp-to-twitter-shorteners.php:338
793
  msgid "Clear Bit.ly API Key"
794
  msgstr ""
795
 
796
+ #: wp-to-twitter-shorteners.php:338
797
  msgid ""
798
  "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API "
799
  "and WP to Twitter."
800
  msgstr ""
801
 
802
+ #: wp-to-twitter-shorteners.php:344
803
  msgid "Your YOURLS account details"
804
  msgstr ""
805
 
806
+ #: wp-to-twitter-shorteners.php:349
807
  msgid "Path to your YOURLS config file (Local installations)"
808
  msgstr ""
809
 
810
+ #: wp-to-twitter-shorteners.php:350 wp-to-twitter-shorteners.php:354
811
  msgid "Example:"
812
  msgstr ""
813
 
814
+ #: wp-to-twitter-shorteners.php:353
815
  msgid "URI to the YOURLS API (Remote installations)"
816
  msgstr ""
817
 
818
+ #: wp-to-twitter-shorteners.php:357
819
  msgid "Your YOURLS username:"
820
  msgstr ""
821
 
822
+ #: wp-to-twitter-shorteners.php:361
823
  msgid "Your YOURLS password:"
824
  msgstr ""
825
 
826
+ #: wp-to-twitter-shorteners.php:361
827
  msgid "<em>Saved</em>"
828
  msgstr ""
829
 
830
+ #: wp-to-twitter-shorteners.php:365
831
  msgid "Post ID for YOURLS url slug."
832
  msgstr ""
833
 
834
+ #: wp-to-twitter-shorteners.php:366
835
  msgid "Custom keyword for YOURLS url slug."
836
  msgstr ""
837
 
838
+ #: wp-to-twitter-shorteners.php:367
839
  msgid "Default: sequential URL numbering."
840
  msgstr ""
841
 
842
+ #: wp-to-twitter-shorteners.php:373
843
  msgid "Save YOURLS Account Info"
844
  msgstr ""
845
 
846
+ #: wp-to-twitter-shorteners.php:373
847
  msgid "Clear YOURLS password"
848
  msgstr ""
849
 
850
+ #: wp-to-twitter-shorteners.php:373
851
  msgid ""
852
  "A YOURLS password and username is required to shorten URLs via the remote "
853
  "YOURLS API and WP to Twitter."
854
  msgstr ""
855
 
856
+ #: wp-to-twitter-shorteners.php:379
857
  msgid "Your jotURL account details"
858
  msgstr ""
859
 
860
+ #: wp-to-twitter-shorteners.php:383
861
  msgid ""
862
  "Your jotURL public <abbr title='application programming interface'>API</"
863
  "abbr> key:"
864
  msgstr ""
865
 
866
+ #: wp-to-twitter-shorteners.php:384
867
  msgid ""
868
  "Your jotURL private <abbr title='application programming interface'>API</"
869
  "abbr> key:"
870
  msgstr ""
871
 
872
+ #: wp-to-twitter-shorteners.php:385
873
  msgid "Parameters to add to the long URL (before shortening):"
874
  msgstr ""
875
 
876
+ #: wp-to-twitter-shorteners.php:385
877
  msgid "Parameters to add to the short URL (after shortening):"
878
  msgstr ""
879
 
880
+ #: wp-to-twitter-shorteners.php:386
881
  msgid "View your jotURL public and private API key"
882
  msgstr ""
883
 
884
+ #: wp-to-twitter-shorteners.php:389
885
  msgid "Save jotURL settings"
886
  msgstr ""
887
 
888
+ #: wp-to-twitter-shorteners.php:389
889
  msgid "Clear jotURL settings"
890
  msgstr ""
891
 
892
+ #: wp-to-twitter-shorteners.php:390
893
  msgid ""
894
  "A jotURL public and private API key is required to shorten URLs via the "
895
  "jotURL API and WP to Twitter."
896
  msgstr ""
897
 
898
+ #: wp-to-twitter-shorteners.php:395
899
  msgid "Your shortener does not require any account settings."
900
  msgstr ""
901
 
902
+ #: wp-to-twitter-shorteners.php:407
903
  msgid "YOURLS password updated. "
904
  msgstr ""
905
 
906
+ #: wp-to-twitter-shorteners.php:410
907
  msgid ""
908
  "YOURLS password deleted. You will be unable to use your remote YOURLS "
909
  "account to create short URLS."
910
  msgstr ""
911
 
912
+ #: wp-to-twitter-shorteners.php:412
913
  msgid "Failed to save your YOURLS password! "
914
  msgstr ""
915
 
916
+ #: wp-to-twitter-shorteners.php:416
917
  msgid "YOURLS username added. "
918
  msgstr ""
919
 
920
+ #: wp-to-twitter-shorteners.php:420
921
  msgid "YOURLS API url added. "
922
  msgstr ""
923
 
924
+ #: wp-to-twitter-shorteners.php:423
925
  msgid "YOURLS API url removed. "
926
  msgstr ""
927
 
928
+ #: wp-to-twitter-shorteners.php:428
929
  msgid "YOURLS local server path added. "
930
  msgstr ""
931
 
932
+ #: wp-to-twitter-shorteners.php:430
933
  msgid "The path to your YOURLS installation is not correct. "
934
  msgstr ""
935
 
936
+ #: wp-to-twitter-shorteners.php:434
937
  msgid "YOURLS local server path removed. "
938
  msgstr ""
939
 
940
+ #: wp-to-twitter-shorteners.php:439
941
  msgid "YOURLS will use Post ID for short URL slug."
942
  msgstr ""
943
 
944
+ #: wp-to-twitter-shorteners.php:441
945
  msgid "YOURLS will use your custom keyword for short URL slug."
946
  msgstr ""
947
 
948
+ #: wp-to-twitter-shorteners.php:445
949
  msgid "YOURLS will not use Post ID for the short URL slug."
950
  msgstr ""
951
 
952
+ #: wp-to-twitter-shorteners.php:453
953
  msgid "Su.pr API Key and Username Updated"
954
  msgstr ""
955
 
956
+ #: wp-to-twitter-shorteners.php:457
957
  msgid ""
958
  "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will "
959
  "no longer be associated with your account. "
960
  msgstr ""
961
 
962
+ #: wp-to-twitter-shorteners.php:459
963
  msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
964
  msgstr ""
965
 
966
+ #: wp-to-twitter-shorteners.php:465
967
  msgid "Bit.ly API Key Updated."
968
  msgstr ""
969
 
970
+ #: wp-to-twitter-shorteners.php:468
971
  msgid ""
972
  "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
973
  msgstr ""
974
 
975
+ #: wp-to-twitter-shorteners.php:470
976
  msgid ""
977
  "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</"
978
  "a>! An API key is required to use the Bit.ly URL shortening service."
979
  msgstr ""
980
 
981
+ #: wp-to-twitter-shorteners.php:474
982
  msgid " Bit.ly User Login Updated."
983
  msgstr ""
984
 
985
+ #: wp-to-twitter-shorteners.php:477
986
  msgid ""
987
  "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing "
988
  "your username. "
989
  msgstr ""
990
 
991
+ #: wp-to-twitter-shorteners.php:479
992
  msgid ""
993
  "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
994
  msgstr ""
995
 
996
+ #: wp-to-twitter-shorteners.php:485
997
  msgid "jotURL private API Key Updated. "
998
  msgstr ""
999
 
1000
+ #: wp-to-twitter-shorteners.php:488
1001
  msgid ""
1002
  "jotURL private API Key deleted. You cannot use the jotURL API without a "
1003
  "private API key. "
1004
  msgstr ""
1005
 
1006
+ #: wp-to-twitter-shorteners.php:490
1007
  msgid ""
1008
  "jotURL private API Key not added - <a href='https://www.joturl.com/reserved/"
1009
  "api.html'>get one here</a>! A private API key is required to use the jotURL "
1010
  "URL shortening service. "
1011
  msgstr ""
1012
 
1013
+ #: wp-to-twitter-shorteners.php:494
1014
  msgid "jotURL public API Key Updated. "
1015
  msgstr ""
1016
 
1017
+ #: wp-to-twitter-shorteners.php:497
1018
  msgid ""
1019
  "jotURL public API Key deleted. You cannot use the jotURL API without "
1020
  "providing your public API Key. "
1021
  msgstr ""
1022
 
1023
+ #: wp-to-twitter-shorteners.php:499
1024
  msgid ""
1025
  "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/"
1026
  "api.html'>get one here</a>! "
1027
  msgstr ""
1028
 
1029
+ #: wp-to-twitter-shorteners.php:505
1030
  msgid "Long URL parameters added. "
1031
  msgstr ""
1032
 
1033
+ #: wp-to-twitter-shorteners.php:508
1034
  msgid "Long URL parameters deleted. "
1035
  msgstr ""
1036
 
1037
+ #: wp-to-twitter-shorteners.php:514
1038
  msgid "Short URL parameters added. "
1039
  msgstr ""
1040
 
1041
+ #: wp-to-twitter-shorteners.php:517
1042
  msgid "Short URL parameters deleted. "
1043
  msgstr ""
1044
 
1045
+ #: wp-to-twitter-shorteners.php:527
1046
  msgid ""
1047
  "You must add your Bit.ly login and API key in order to shorten URLs with Bit."
1048
  "ly."
1049
  msgstr ""
1050
 
1051
+ #: wp-to-twitter-shorteners.php:531
1052
  msgid ""
1053
  "You must add your jotURL public and private API key in order to shorten URLs "
1054
  "with jotURL."
1055
  msgstr ""
1056
 
1057
+ #: wp-to-twitter-shorteners.php:535
1058
  msgid ""
1059
  "You must add your YOURLS remote URL, login, and password in order to shorten "
1060
  "URLs with a remote installation of YOURLS."
1061
  msgstr ""
1062
 
1063
+ #: wp-to-twitter-shorteners.php:539
1064
  msgid ""
1065
  "You must add your YOURLS server path in order to shorten URLs with a remote "
1066
  "installation of YOURLS."
1067
  msgstr ""
1068
 
1069
+ #: wp-to-twitter-shorteners.php:549
1070
  msgid "Choose a short URL service (account settings below)"
1071
  msgstr ""
1072
 
1073
+ #: wp-to-twitter-shorteners.php:551
1074
  msgid "Don't shorten URLs."
1075
  msgstr ""
1076
 
1077
+ #: wp-to-twitter-shorteners.php:555
1078
  msgid "YOURLS (on this server)"
1079
  msgstr ""
1080
 
1081
+ #: wp-to-twitter-shorteners.php:556
1082
  msgid "YOURLS (on a remote server)"
1083
  msgstr ""
1084
 
1085
+ #: wp-to-twitter-shorteners.php:559
1086
  msgid "Use Twitter Friendly Links."
1087
  msgstr ""
1088
 
1089
+ #: wp-to-twitter.php:70
1090
  msgid ""
1091
  "The current version of WP Tweets PRO is <strong>%s</strong>. <a href="
1092
  "\"http://www.joedolson.com/articles/account/\">Upgrade for best "
1093
  "compatibility!</a>"
1094
  msgstr ""
1095
 
1096
+ #: wp-to-twitter.php:82
 
 
 
 
 
 
 
1097
  msgid ""
1098
  "Tweeting of comments has been moved to <a href=\"%1$s\">WP Tweets PRO</a>. "
1099
  "You will need to upgrade in order to Tweet comments. <a href=\"%2$s"
1100
  "\">Dismiss</a>"
1101
  msgstr ""
1102
 
1103
+ #: wp-to-twitter.php:255
1104
  msgid "This account is not authorized to post to Twitter."
1105
  msgstr ""
1106
 
1107
+ #: wp-to-twitter.php:264
1108
  msgid "This tweet is identical to another Tweet recently sent to this account."
1109
  msgstr ""
1110
 
1111
+ #: wp-to-twitter.php:270
1112
  msgid "This tweet was blank and could not be sent to Twitter."
1113
  msgstr ""
1114
 
1115
+ #: wp-to-twitter.php:305
1116
  msgid ""
1117
  "Your Twitter application does not have read and write permissions. Go to <a "
1118
  "href=\"%s\">your Twitter apps</a> to modify these settings."
1119
  msgstr ""
1120
 
1121
+ #: wp-to-twitter.php:310
1122
  msgid "200 OK: Success!"
1123
  msgstr ""
1124
 
1125
+ #: wp-to-twitter.php:314
1126
  msgid "304 Not Modified: There was no new data to return"
1127
  msgstr ""
1128
 
1129
+ #: wp-to-twitter.php:317
1130
  msgid ""
1131
  "400 Bad Request: The request was invalid. This is the status code returned "
1132
  "during rate limiting."
1133
  msgstr ""
1134
 
1135
+ #: wp-to-twitter.php:320
1136
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
1137
  msgstr ""
1138
 
1139
+ #: wp-to-twitter.php:324
1140
  msgid ""
1141
  "403 Forbidden: The request is understood, but has been refused by Twitter. "
1142
  "Possible reasons: too many Tweets, same Tweet submitted twice, Tweet longer "
1143
  "than 140 characters. Not an error from WP to Twitter."
1144
  msgstr ""
1145
 
1146
+ #: wp-to-twitter.php:327
1147
  msgid ""
1148
  "404 Not Found: The URI requested is invalid or the resource requested does "
1149
  "not exist."
1150
  msgstr ""
1151
 
1152
+ #: wp-to-twitter.php:330
1153
  msgid "406 Not Acceptable: Invalid Format Specified."
1154
  msgstr ""
1155
 
1156
+ #: wp-to-twitter.php:333
1157
  msgid "422 Unprocessable Entity: The image uploaded could not be processed.."
1158
  msgstr ""
1159
 
1160
+ #: wp-to-twitter.php:336
1161
  msgid "429 Too Many Requests: You have exceeded your rate limits."
1162
  msgstr ""
1163
 
1164
+ #: wp-to-twitter.php:339
1165
  msgid "500 Internal Server Error: Something is broken at Twitter."
1166
  msgstr ""
1167
 
1168
+ #: wp-to-twitter.php:342
1169
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
1170
  msgstr ""
1171
 
1172
+ #: wp-to-twitter.php:345
1173
  msgid ""
1174
  "503 Service Unavailable: The Twitter servers are up, but overloaded with "
1175
  "requests - Please try again later."
1176
  msgstr ""
1177
 
1178
+ #: wp-to-twitter.php:348
1179
  msgid ""
1180
  "504 Gateway Timeout: The Twitter servers are up, but the request couldn't be "
1181
  "serviced due to some failure within our stack. Try again later."
1182
  msgstr ""
1183
 
1184
+ #: wp-to-twitter.php:385
1185
  msgid "No Twitter OAuth connection found."
1186
  msgstr ""
1187
 
1188
+ #: wp-to-twitter.php:1031
1189
  msgid "Tweeting %s edits is disabled."
1190
  msgstr ""
1191
 
1192
+ #: wp-to-twitter.php:1044
1193
  msgid "Custom Twitter Post"
1194
  msgstr ""
1195
 
1196
+ #: wp-to-twitter.php:1049
1197
  msgid "Your prepended Tweet text; not part of your template."
1198
  msgstr ""
1199
 
1200
+ #: wp-to-twitter.php:1052
1201
  msgid "Your appended Tweet text; not part of your template."
1202
  msgstr ""
1203
 
1204
+ #: wp-to-twitter.php:1055
1205
  msgid "Your template:"
1206
  msgstr ""
1207
 
1208
+ #: wp-to-twitter.php:1059
1209
  msgid "YOURLS Custom Keyword"
1210
  msgstr ""
1211
 
1212
+ #: wp-to-twitter.php:1070
1213
  msgid "Don't Tweet this post."
1214
  msgstr ""
1215
 
1216
+ #: wp-to-twitter.php:1070
1217
  msgid "Tweet this post."
1218
  msgstr ""
1219
 
1220
+ #: wp-to-twitter.php:1099
1221
  msgid ""
1222
  "WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href=\"%s"
1223
  "\">Log in and download now!</a>"
1224
  msgstr ""
1225
 
1226
+ #: wp-to-twitter.php:1101
1227
  msgid ""
1228
  "Upgrade to WP Tweets PRO to select Twitter accounts! <a href=\"%s\">Upgrade "
1229
  "now!</a>"
1230
  msgstr ""
1231
 
1232
+ #: wp-to-twitter.php:1121
1233
  msgid ""
1234
  "Access to customizing WP to Twitter values is not allowed for your user role."
1235
  msgstr ""
1236
 
1237
+ #: wp-to-twitter.php:1133
1238
  msgid ""
1239
  "Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 "
1240
  "characters. Template Tags: <code>#url#</code>, <code>#title#</code>, "
1243
  "<code>#tags#</code>, or <code>#blog#</code>."
1244
  msgstr ""
1245
 
1246
+ #: wp-to-twitter.php:1143
1247
  msgid "Upgrade to WP Tweets Pro"
1248
  msgstr ""
1249
 
1250
+ #: wp-to-twitter.php:1152
1251
  msgid "Your role does not have the ability to Post Tweets from this site."
1252
  msgstr ""
1253
 
1254
+ #: wp-to-twitter.php:1160
1255
  msgid "Previous Tweets"
1256
  msgstr ""
1257
 
1258
+ #: wp-to-twitter.php:1176
1259
  msgid "Failed Tweets"
1260
  msgstr ""
1261
 
1262
+ #: wp-to-twitter.php:1191
1263
  msgid "No failed tweets on this post."
1264
  msgstr ""
1265
 
1266
+ #: wp-to-twitter.php:1197
1267
  msgid "Delete Tweet History"
1268
  msgstr ""
1269
 
1270
+ #: wp-to-twitter.php:1232
1271
  msgid "Characters left: "
1272
  msgstr ""
1273
 
1274
+ #: wp-to-twitter.php:1301
1275
  msgid "WP Tweets User Settings"
1276
  msgstr ""
1277
 
1278
+ #: wp-to-twitter.php:1305
1279
  msgid "Use My Twitter Username"
1280
  msgstr ""
1281
 
1282
+ #: wp-to-twitter.php:1306
1283
  msgid "Tweet my posts with an @ reference to my username."
1284
  msgstr ""
1285
 
1286
+ #: wp-to-twitter.php:1307
1287
  msgid ""
1288
  "Tweet my posts with an @ reference to both my username and to the main site "
1289
  "username."
1290
  msgstr ""
1291
 
1292
+ #: wp-to-twitter.php:1311
1293
  msgid "Your Twitter Username"
1294
  msgstr ""
1295
 
1296
+ #: wp-to-twitter.php:1312
1297
  msgid "Enter your own Twitter username."
1298
  msgstr ""
1299
 
1300
+ #: wp-to-twitter.php:1315
1301
  msgid "Hide account name in Tweets"
1302
  msgstr ""
1303
 
1304
+ #: wp-to-twitter.php:1316
1305
  msgid "Do not display my account in the #account# template tag."
1306
  msgstr ""
1307
 
1308
+ #: wp-to-twitter.php:1380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1309
  msgid "Settings"
1310
  msgstr ""
1311
 
1312
+ #: wp-to-twitter.php:1381
1313
  msgid "Upgrade"
1314
  msgstr ""
1315
 
1316
+ #: wp-to-twitter.php:1418
1317
  msgid ""
1318
  "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href="
1319
  "\"%1$s\">changelog</a> before upgrading."
1320
  msgstr ""
1321
 
1322
+ #: wp-to-twitter.php:1501
1323
  msgid ""
1324
  "I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a "
1325
  "href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with "
1330
  msgid "Twitter returned an invalid response. It is probably down."
1331
  msgstr ""
1332
 
1333
+ #: wpt-functions.php:342
1334
  msgid ""
1335
  "Please read the FAQ and other Help documents before making a support request."
1336
  msgstr ""
1337
 
1338
+ #: wpt-functions.php:344
1339
  msgid "Please describe your problem. I'm not psychic."
1340
  msgstr ""
1341
 
1342
+ #: wpt-functions.php:348
1343
  msgid ""
1344
  "Thank you for supporting the continuing development of this plug-in! I'll "
1345
  "get back to you as soon as I can. Please ensure that you can receive email "
1346
  "at <code>%s</code>."
1347
  msgstr ""
1348
 
1349
+ #: wpt-functions.php:350
1350
  msgid ""
1351
  "Thanks for using WP to Twitter. Please ensure that you can receive email at "
1352
  "<code>%s</code>."
1353
  msgstr ""
1354
 
1355
+ #: wpt-functions.php:364
1356
  msgid ""
1357
  "<strong>Please note</strong>: I do keep records of those who have donated, "
1358
  "but if your donation came from somebody other than your account at this web "
1359
  "site, you must note this in your message."
1360
  msgstr ""
1361
 
1362
+ #: wpt-functions.php:368
1363
  msgid ""
1364
  "If you're having trouble with WP to Twitter, please try to answer these "
1365
  "questions in your message:"
1366
  msgstr ""
1367
 
1368
+ #: wpt-functions.php:371
1369
  msgid "Did this error happen only once, or repeatedly?"
1370
  msgstr ""
1371
 
1372
+ #: wpt-functions.php:372
1373
  msgid "What was the Tweet, or an example Tweet, that produced this error?"
1374
  msgstr ""
1375
 
1376
+ #: wpt-functions.php:373
1377
  msgid "If there was an error message from WP to Twitter, what was it?"
1378
  msgstr ""
1379
 
1380
+ #: wpt-functions.php:374
1381
  msgid "What is the template you're using for your Tweets?"
1382
  msgstr ""
1383
 
1384
+ #: wpt-functions.php:379
1385
  msgid "Reply to:"
1386
  msgstr ""
1387
 
1388
+ #: wpt-functions.php:382
1389
  msgid ""
1390
  "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</"
1391
  "span>"
1392
  msgstr ""
1393
 
1394
+ #: wpt-functions.php:385
1395
  msgid ""
1396
  "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
1397
  msgstr ""
1398
 
1399
+ #: wpt-functions.php:388
1400
  msgid "Support Request:"
1401
  msgstr ""
1402
 
1403
+ #: wpt-functions.php:391
1404
  msgid "Send Support Request"
1405
  msgstr ""
1406
 
1407
+ #: wpt-functions.php:394
1408
  msgid ""
1409
  "The following additional information will be sent with your support request:"
1410
  msgstr ""
1411
 
1412
+ #: wpt-widget.php:52
1413
+ msgid "Error: "
1414
+ msgstr ""
1415
+
1416
+ #: wpt-widget.php:89
1417
  msgid "<a href=\"%3$s\">about %1$s ago</a> via %2$s"
1418
  msgstr ""
1419
 
1420
+ #: wpt-widget.php:91
1421
  msgid "<a href=\"%2$s\">about %1$s ago</a>"
1422
  msgstr ""
1423
 
1424
+ #: wpt-widget.php:142
1425
  msgid "Display a list of your latest tweets."
1426
  msgstr ""
1427
 
1428
+ #: wpt-widget.php:150
1429
  msgid "WP to Twitter - Latest Tweets"
1430
  msgstr ""
1431
 
1432
+ #: wpt-widget.php:206
1433
  msgid "Title"
1434
  msgstr ""
1435
 
1436
+ #: wpt-widget.php:211
1437
  msgid "Twitter Username"
1438
  msgstr ""
1439
 
1440
+ #: wpt-widget.php:216
1441
  msgid "Number of Tweets to Show"
1442
  msgstr ""
1443
 
1444
+ #: wpt-widget.php:222
1445
  msgid "Hide @ Replies"
1446
  msgstr ""
1447
 
1448
+ #: wpt-widget.php:227
1449
  msgid "Include Retweets"
1450
  msgstr ""
1451
 
1452
+ #: wpt-widget.php:232
1453
  msgid "Parse links"
1454
  msgstr ""
1455
 
1456
+ #: wpt-widget.php:237
1457
  msgid "Parse @mentions"
1458
  msgstr ""
1459
 
1460
+ #: wpt-widget.php:242
1461
  msgid "Parse #hashtags"
1462
  msgstr ""
1463
 
1464
+ #: wpt-widget.php:247
1465
  msgid "Include Reply/Retweet/Favorite Links"
1466
  msgstr ""
1467
 
1468
+ #: wpt-widget.php:252
1469
  msgid "Include Tweet source"
1470
  msgstr ""
1471
 
readme.txt CHANGED
@@ -3,15 +3,19 @@ Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links
5
  Requires at least: 3.3.3
6
- Tested up to: 3.7.1
7
  License: GPLv2 or later
8
- Stable tag: 2.7.6
9
 
10
  Auto-posts a Twitter update when you update your WordPress blog or blogroll, with your chosen URL shortening service.
11
 
12
  == Description ==
13
 
14
- WP to Twitter automatically posts Tweets from WordPress to Twitter using your URL shortening service to provide a link back from Twitter. WP to Twitter will also display a feed of recent Tweets using widgets.
 
 
 
 
15
 
16
  Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for Tweet scheduling, automatic re-tweeting, and more!
17
 
@@ -23,7 +27,6 @@ Additional features include:
23
  * Use alternate URLs in place of post permalinks
24
  * Support for Google Analytics
25
  * Support for XMLRPC remote clients
26
- * Filter Tweeting by category
27
 
28
  Status updates longer than 140 characters will be truncated.
29
 
@@ -34,7 +37,10 @@ Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for
34
  * Scheduled Tweet management
35
  * Co-Tweet to site and author Twitter accounts
36
  * Preview and Tweet comments
37
- * [and more!](http://www.joedolson.com/articles/wp-tweets-pro/)
 
 
 
38
 
39
  Translations:
40
 
@@ -51,6 +57,17 @@ Contributions by [Thor Erik](http://www.thorerik.net), Bill Berry and [Andrea Ba
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
 
 
 
 
 
 
54
  = 2.7.7 =
55
 
56
  * Bug fix: #author# template tag
@@ -914,4 +931,4 @@ Writing and maintaining a plug-in is a lot of work. You can help me by providing
914
 
915
  == Upgrade Notice ==
916
 
917
- * 2.7.6 New WP Tweets PRO feature; bug fixes.
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links
5
  Requires at least: 3.3.3
6
+ Tested up to: 3.8.0
7
  License: GPLv2 or later
8
+ Stable tag: 2.7.7
9
 
10
  Auto-posts a Twitter update when you update your WordPress blog or blogroll, with your chosen URL shortening service.
11
 
12
  == Description ==
13
 
14
+ WP to Twitter posts Tweets from WordPress to Twitter.
15
+
16
+ You can shorten URLs using a variety of common URL shorteners, or just leave Twitter to do it for you using their t.co service.
17
+
18
+ You can also use WP to Twitter display a feed of recent Tweets using widgets. Display Tweets from any account just by entering that account's Twitter ID!
19
 
20
  Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for Tweet scheduling, automatic re-tweeting, and more!
21
 
27
  * Use alternate URLs in place of post permalinks
28
  * Support for Google Analytics
29
  * Support for XMLRPC remote clients
 
30
 
31
  Status updates longer than 140 characters will be truncated.
32
 
37
  * Scheduled Tweet management
38
  * Co-Tweet to site and author Twitter accounts
39
  * Preview and Tweet comments
40
+ * Filter Tweets by taxonomy (categories, tags, or custom taxonomies)
41
+ * [...and more!](http://www.joedolson.com/articles/wp-tweets-pro/)
42
+
43
+ Want to stay up to date on WP to Twitter? [Follow me on Twitter!](https://twitter.com/joedolson)
44
 
45
  Translations:
46
 
57
 
58
  == Changelog ==
59
 
60
+ = 2.8.0 =
61
+
62
+ * Removed category filtering in favor of WP Tweets PRO update allowing filtering on all taxonomies.
63
+ * Removed obsolete functions handling older WP versions.
64
+ * UI updates.
65
+ * Updated fallbacks for multibyte string functions.
66
+ * Added wpt_tag_default filter to choose the default hashtag symbol.
67
+ * Miscellaneous PHP notice eliminations.
68
+ * File reorganization.
69
+ * Bug fix: Twitter feed widget errors if not authenticated.
70
+
71
  = 2.7.7 =
72
 
73
  * Bug fix: #author# template tag
931
 
932
  == Upgrade Notice ==
933
 
934
+ * 2.8.0 - Removed category filtering. Existing category filters will still work, but are deprecated in favor of taxonomy filters in WP Tweets PRO.
styles.css CHANGED
@@ -1,8 +1,8 @@
1
  #wp-to-twitter #message {margin: 10px 0;padding: 5px;}
2
  #wp-to-twitter .jd-settings {clear: both;}
3
  #wp-to-twitter form .error p {background: none;border: none;}
4
- legend {font-weight: 700;font-size: 1.2em;padding: 6px 0;}
5
- #wp-to-twitter .resources {background: url(logo.png) 50% 5px no-repeat; padding-top: 70px; text-align: center;}
6
  #wp-to-twitter .resources form {margin: 0;}
7
  .settings {margin: 25px 0;background: #fff;padding: 10px;border: 1px solid #000;}
8
  #wp-to-twitter ul {list-style-type: disc;margin-left: 2em;font-size: 1em;}
@@ -10,16 +10,29 @@ legend {font-weight: 700;font-size: 1.2em;padding: 6px 0;}
10
  #wp-to-twitter .inside em {color: #f33;}
11
  #wp-to-twitter .button-side { position: absolute; top: 0; right: 10px;}
12
  #wp-to-twitter .tokens label { width: 13em; display: block; float: left; margin-top:5px;}
13
- #wp-to-twitter .categories ul { -moz-column-count: 3; -moz-column-gap: 20px; -webkit-column-count: 3; -webkit-column-gap: 20px; margin: 0 0 20px; padding: 0; }
14
- #wp-to-twitter .categories li { list-style-type: none; margin: 3px 0; padding: 0;}
15
- #wp-to-twitter .inside .wpt_types { float: left; width: 47%; }
16
  #wp-to-twitter .inside .clear { display: block; clear: both; }
17
  #wp-to-twitter .inside .comments { clear: both;}
18
  #wp-to-twitter .postbox { margin: 10px 10px 0 0; }
19
  #wp-to-twitter .meta-box-sortables { min-height: 0; }
20
  #wp-to-twitter .wpt-template, #wp-to-twitter .support-request { width: 95%; }
21
- #wp-to-twitter .flattr { float: right; }
22
- .wpt_image { padding-left: 20px; background: url(image.png) left 50% no-repeat; display: block; }
23
- #wpt_license_key { font-size: 1.3em; padding: 5px; letter-spacing: .5px;}
24
  label[for="wpt_license_key"] { font-size: 1.3em; }
25
- #wp-to-twitter .wpt-upgrade { background: crimson; color: #fff; text-shadow: #000 0 1px 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  #wp-to-twitter #message {margin: 10px 0;padding: 5px;}
2
  #wp-to-twitter .jd-settings {clear: both;}
3
  #wp-to-twitter form .error p {background: none;border: none;}
4
+ legend { padding: 6px; background: #f3f3f3; width: 100%; border-radius: 3px 0 0 3px; color: #000; }
5
+ #wp-to-twitter .resources {background: url(images/logo.png) 50% 5px no-repeat; padding-top: 70px; text-align: center;}
6
  #wp-to-twitter .resources form {margin: 0;}
7
  .settings {margin: 25px 0;background: #fff;padding: 10px;border: 1px solid #000;}
8
  #wp-to-twitter ul {list-style-type: disc;margin-left: 2em;font-size: 1em;}
10
  #wp-to-twitter .inside em {color: #f33;}
11
  #wp-to-twitter .button-side { position: absolute; top: 0; right: 10px;}
12
  #wp-to-twitter .tokens label { width: 13em; display: block; float: left; margin-top:5px;}
13
+ #wp-to-twitter .wpt-terms ul { -moz-column-count: 3; -moz-column-gap: 20px; -webkit-column-count: 3; -webkit-column-gap: 20px; margin: 0 0 20px; padding: 0; }
14
+ #wp-to-twitter .wpt-terms li { list-style-type: none; margin: 3px 0; padding: 0;}
 
15
  #wp-to-twitter .inside .clear { display: block; clear: both; }
16
  #wp-to-twitter .inside .comments { clear: both;}
17
  #wp-to-twitter .postbox { margin: 10px 10px 0 0; }
18
  #wp-to-twitter .meta-box-sortables { min-height: 0; }
19
  #wp-to-twitter .wpt-template, #wp-to-twitter .support-request { width: 95%; }
20
+ .wpt_image { padding-left: 20px; background: url(images/image.png) left 50% no-repeat; display: block; }
21
+ #wpt_license_key { font-size: 1.3em; padding: 5px; letter-spacing: .5px; }
22
+ #wp-to-twitter input { max-width: 100%; }
23
  label[for="wpt_license_key"] { font-size: 1.3em; }
24
+ #wp-to-twitter .wpt-upgrade { background: crimson; color: #fff; text-shadow: #000 0 1px 0; border-radius: 2px 2px 0 0; }
25
+ .wp-tweets-pro .widefat input[type=text] { width: 100%; }
26
+
27
+ .wpt-settings .tabs { margin: 0!important; padding: 0 4px; position: relative; top: 1px; }
28
+ .wpt-settings .tabs li { display: inline; margin: 0 auto; line-height: 1; }
29
+ .wpt-settings .tabs a { display: inline-block; padding: 4px 8px; border-radius: 4px 4px 0 0; border: 1px solid #ccc; background: #f3f3f3; }
30
+ .wpt-settings .tabs a.active { border-bottom: 1px solid #fefefe; background: #fefefe; }
31
+ .wpt-settings .wptab { background: #fff; padding: 0 12px; margin-bottom: 10px; min-height: 200px; border: 1px solid #ccc; }
32
+ .wpt-settings input[type=text] { font-size: 1.3em; padding: 4px; margin: 0 0 4px; }
33
+
34
+ .wpt-terms li{ padding: 2px!important; border-radius: 3px; }
35
+ .tweet { background: #070 url(images/Ok.png) right 50% no-repeat; color: #fff; }
36
+ .notweet { background: #9d1309 url(images/Error.png) right 50% no-repeat; color: #fff; }
37
+
38
+ .donations * { vertical-align: middle; display: inline-block; }
wp-to-twitter-manager.php CHANGED
@@ -2,9 +2,9 @@
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
  // FUNCTION to see if checkboxes should be checked
5
- function jd_checkCheckbox( $theFieldname,$sub1=false,$sub2='' ) {
6
  if ( $sub1 ) {
7
- $setting = get_option($theFieldname);
8
  if ( isset( $setting[$sub1] ) ) {
9
  $value = ( $sub2 != '' )?$setting[$sub1][$sub2]:$setting[$sub1];
10
  } else {
@@ -14,13 +14,13 @@ function jd_checkCheckbox( $theFieldname,$sub1=false,$sub2='' ) {
14
  return 'checked="checked"';
15
  }
16
  }
17
- if( get_option( $theFieldname ) == '1'){
18
  return 'checked="checked"';
19
  }
20
  }
21
 
22
- function jd_checkSelect( $theFieldname, $theValue, $type='select' ) {
23
- if( get_option( $theFieldname ) == $theValue ) {
24
  return ( $type == 'select' )?'selected="selected"':'checked="checked"';
25
  }
26
  }
@@ -75,11 +75,12 @@ function jd_check_functions() {
75
 
76
  function wpt_update_settings() {
77
  wpt_check_version();
 
78
  if ( !empty($_POST) ) {
79
  $nonce=$_REQUEST['_wpnonce'];
80
  if (! wp_verify_nonce($nonce,'wp-to-twitter-nonce') ) die("Security check failed");
81
  }
82
-
83
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'clear-error' ) {
84
  update_option( 'wp_twitter_failure','0' );
85
  update_option( 'wp_url_failure','0' );
@@ -115,7 +116,6 @@ function wpt_update_settings() {
115
  update_option( 'wpt_post_types', $initial_settings );
116
  update_option( 'jd_twit_blogroll', '1');
117
  update_option( 'newlink-published-text', 'New link: #title# #url#' );
118
- update_option( 'limit_categories','0' );
119
  update_option( 'jd_shortener', '1' );
120
  update_option( 'jd_strip_nonan', '0' );
121
  update_option('jd_max_tags',3);
@@ -362,19 +362,18 @@ function wpt_update_settings() {
362
  break;
363
  }
364
  }
365
- update_option( 'wpt_can_tweet',$wpt_can_tweet);
366
-
367
  update_option( 'disable_url_failure' , ( isset( $_POST['disable_url_failure'] ) )?$_POST['disable_url_failure']:0 );
368
  update_option( 'disable_twitter_failure' , ( isset( $_POST['disable_twitter_failure'] ) )?$_POST['disable_twitter_failure']:0 );
369
  update_option( 'disable_oauth_notice' , ( isset( $_POST['disable_oauth_notice'] ) )?$_POST['disable_oauth_notice']:0 );
370
  update_option( 'wp_debug_oauth' , ( isset( $_POST['wp_debug_oauth'] ) )?$_POST['wp_debug_oauth']:0 );
371
  update_option( 'wpt_http' , ( isset( $_POST['wpt_http'] ) )?$_POST['wpt_http']:0 );
372
-
373
  update_option( 'jd_donations' , ( isset( $_POST['jd_donations'] ) )?$_POST['jd_donations']:0 );
374
  $wpt_truncation_order = $_POST['wpt_truncation_order'];
375
  update_option( 'wpt_truncation_order', $wpt_truncation_order );
376
  $message .= __( 'WP to Twitter Advanced Options Updated' , 'wp-to-twitter');
377
  }
 
378
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'options' ) {
379
  // UPDATE OPTIONS
380
  $wpt_settings = get_option('wpt_post_types');
@@ -392,31 +391,19 @@ function wpt_update_settings() {
392
  update_option( 'jd_twit_blogroll',(isset($_POST['jd_twit_blogroll']) )?$_POST['jd_twit_blogroll']:"" );
393
  $message = wpt_select_shortener( $_POST );
394
  $message .= __( 'WP to Twitter Options Updated' , 'wp-to-twitter');
 
395
  }
396
-
397
- if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'setcategories' ) {
398
- if ( isset($_POST['jd_twit_cats']) ) { update_option('jd_twit_cats',1); } else { update_option('jd_twit_cats',0); }
399
- if ( is_array($_POST['categories'])) {
400
- $categories = $_POST['categories'];
401
- update_option('limit_categories','1');
402
- update_option('tweet_categories',$categories);
403
- $message = __("Category limits updated.",'wp-to-twitter');
404
- } else {
405
- update_option('limit_categories','0');
406
- update_option('tweet_categories','');
407
- $message = __("Category limits unset.",'wp-to-twitter');
408
- }
409
- }
410
  if ( isset($_POST['wpt_shortener_update']) && $_POST['wpt_shortener_update'] == 'true' ) {
411
  $message = wpt_shortener_update( $_POST );
412
  }
 
413
  // Check whether the server has supported for needed functions.
414
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'check-support' ) {
415
  $message = jd_check_functions();
416
  }
417
  ?>
418
  <div class="wrap" id="wp-to-twitter">
419
- <?php wpt_marginal_function(); ?>
420
  <?php wpt_commments_removed(); ?>
421
  <?php if ( $message ) { ?>
422
  <div id="message" class="updated fade"><?php echo $message; ?></div>
@@ -463,38 +450,69 @@ function wpt_update_settings() {
463
  <div class="metabox-holder">
464
 
465
  <?php if (function_exists('wtt_connect_oauth') ) { wtt_connect_oauth(); } ?>
466
-
467
  <?php if (function_exists( 'wpt_pro_functions' ) ) { wpt_pro_functions(); } ?>
468
  <div class="ui-sortable meta-box-sortables">
469
  <div class="postbox">
470
-
471
- <h3><?php _e('Basic Settings','wp-to-twitter'); ?></h3>
472
- <div class="inside">
473
-
474
  <form method="post" action="">
475
  <?php $nonce = wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, false).wp_referer_field(false); echo "<div>$nonce</div>"; ?>
476
  <div>
477
  <input type="submit" name="submit" value="<?php _e("Save WP to Twitter Options", 'wp-to-twitter'); ?>" class="button-primary button-side" />
478
  <?php echo apply_filters('wpt_pick_shortener',''); ?>
479
  <?php
480
-
481
  $post_types = get_post_types( array( 'public'=>true ), 'objects' );
482
  $wpt_settings = get_option('wpt_post_types');
483
-
 
 
 
 
 
 
 
 
 
 
 
 
484
  foreach( $post_types as $type ) {
485
  $name = $type->labels->name;
486
  $singular = $type->labels->singular_name;
487
  $slug = $type->name;
488
  if ( $slug == 'attachment' || $slug == 'nav_menu_item' || $slug == 'revision' ) {
489
-
490
  } else {
491
  $vowels = array( 'a','e','i','o','u' );
492
  foreach ( $vowels as $vowel ) {
493
  if ( strpos($name, $vowel ) === 0 ) { $word = 'an'; break; } else { $word = 'a'; }
494
  }
495
  ?>
496
- <fieldset class='wpt_types'>
497
- <legend><?php echo $name ?></legend>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
498
  <p>
499
  <input type="checkbox" name="wpt_post_types[<?php echo $slug; ?>][post-published-update]" id="<?php echo $slug; ?>-post-published-update" value="1" <?php echo jd_checkCheckbox('wpt_post_types',$slug,'post-published-update')?> />
500
  <label for="<?php echo $slug; ?>-post-published-update"><strong><?php printf(__('Update when %1$s %2$s is published','wp-to-twitter'),$word, $singular); ?></strong></label> <label for="<?php echo $slug; ?>-post-published-text"><br /><?php printf(__('Template for new %1$s updates','wp-to-twitter'),$name); ?></label><br /><input type="text" class="wpt-template" name="wpt_post_types[<?php echo $slug; ?>][post-published-text]" id="<?php echo $slug; ?>-post-published-text" size="60" maxlength="120" value="<?php if ( isset( $wpt_settings[$slug] ) ) { echo esc_attr( stripslashes( $wpt_settings[$slug]['post-published-text'] ) ); } ?>" />
@@ -504,18 +522,22 @@ function wpt_update_settings() {
504
  <label for="<?php echo $slug; ?>-post-edited-update"><strong><?php printf(__('Update when %1$s %2$s is edited','wp-to-twitter'),$word, $singular); ?></strong></label><br /><label for="<?php echo $slug; ?>-post-edited-text"><?php printf(__('Template for %1$s editing updates','wp-to-twitter'),$name); ?></label><br /><input type="text" class="wpt-template" name="wpt_post_types[<?php echo $slug; ?>][post-edited-text]" id="<?php echo $slug; ?>-post-edited-text" size="60" maxlength="120" value="<?php if ( isset( $wpt_settings[$slug] ) ) { echo esc_attr( stripslashes( $wpt_settings[$slug]['post-edited-text'] ) ); } ?>" />
505
  </p>
506
  </fieldset>
 
 
507
  <?php
508
  }
509
  }
510
  ?>
511
- <fieldset>
512
- <legend><?php _e('Links','wp-to-twitter'); ?></legend>
513
- <p>
514
- <input type="checkbox" name="jd_twit_blogroll" id="jd_twit_blogroll" value="1" <?php echo jd_checkCheckbox('jd_twit_blogroll')?> />
515
- <label for="jd_twit_blogroll"><strong><?php _e("Update Twitter when you post a Blogroll link", 'wp-to-twitter'); ?></strong></label><br />
516
- <label for="newlink-published-text"><?php _e("Text for new link updates:", 'wp-to-twitter'); ?></label> <input aria-labelledby="newlink-published-text-label" type="text" class="wpt-template" name="newlink-published-text" id="newlink-published-text" size="60" maxlength="120" value="<?php echo ( esc_attr( stripslashes( get_option( 'newlink-published-text' ) ) ) ); ?>" /><br /><span id="newlink-published-text-label"><?php _e('Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>.','wp-to-twitter'); ?></span>
517
- </p>
518
- </fieldset>
 
 
519
  <br class='clear' />
520
  <div>
521
  <input type="hidden" name="submit-type" value="options" />
@@ -531,7 +553,8 @@ function wpt_update_settings() {
531
 
532
  <div class="ui-sortable meta-box-sortables">
533
  <div class="postbox">
534
- <h3><?php _e('Advanced Settings','wp-to-twitter'); ?></h3>
 
535
  <div class="inside">
536
  <form method="post" action="">
537
  <div>
@@ -705,23 +728,11 @@ function wpt_update_settings() {
705
  </form>
706
  </div>
707
  </div>
708
- </div>
709
- <div class="ui-sortable meta-box-sortables">
710
- <div class="postbox categories">
711
- <h3><?php _e('Limit Updating Categories','wp-to-twitter'); ?></h3>
712
- <div class="inside">
713
- <p>
714
- <?php _e('If no categories are checked, limiting by category will be ignored, and all categories will be Tweeted.','wp-to-twitter'); ?>
715
- <?php if ( get_option('limit_categories') == '0' ) { _e('<em>Category limits are disabled.</em>','wp-to-twitter'); } ?>
716
- </p>
717
- <?php jd_list_categories(); ?>
718
-
719
- </div>
720
- </div>
721
  </div>
722
 
723
  <div class="postbox" id="get-support">
724
- <h3><?php _e('Get Plug-in Support','wp-to-twitter'); ?></h3>
 
725
  <div class="inside">
726
  <?php wpt_get_support_form(); ?>
727
  </div>
@@ -749,10 +760,11 @@ function wpt_sidebar() {
749
  <div class="metabox-holder">
750
  <div class="ui-sortable meta-box-sortables">
751
  <div class="postbox">
 
752
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
753
- <h3><strong><?php _e('Support WP to Twitter','wp-to-twitter'); ?></strong></h3>
754
  <?php } else { ?>
755
- <h3><strong><?php _e('WP to Twitter Support','wp-to-twitter'); ?></strong></h3>
756
  <?php } ?>
757
  <div class="inside resources">
758
  <p>
@@ -761,10 +773,9 @@ function wpt_sidebar() {
761
  </p>
762
  <?php if ( function_exists( 'wpt_pro_exists' ) ) { $support = admin_url('admin.php?page=wp-tweets-pro'); } else { $support = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); } ?>
763
  <a href="<?php echo $support; ?>#get-support"><?php _e("Get Support",'wp-to-twitter'); ?></a>
764
- <?php /* if ( get_option('jd_donations') != 1 && !function_exists( 'wpt_pro_exists' ) ) { ?>
765
- <div>
766
- <p><?php _e('<a href="http://www.joedolson.com/donate.php">Make a donation today!</a> Every donation counts - donate $5, $20, or $100 and help me keep this plug-in running!','wp-to-twitter'); ?></p>
767
- <p class='flattr'><a href="http://flattr.com/thing/559528/WP-to-Twitter"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr WP to Twitter" /></a></p>
768
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
769
  <div>
770
  <input type="hidden" name="cmd" value="_s-xclick" />
@@ -773,23 +784,26 @@ function wpt_sidebar() {
773
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
774
  </div>
775
  </form>
 
776
  </div>
777
- <?php } */ ?>
778
  </div>
779
  </div>
780
  </div>
781
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
782
  <div class="ui-sortable meta-box-sortables">
783
  <div class="postbox">
784
- <h3 class='wpt-upgrade'><strong><?php _e('Upgrade Now!','wp-to-twitter'); ?></strong></h3>
 
785
  <div class="inside purchase">
786
  <strong><a href="http://www.joedolson.com/articles/wp-tweets-pro/"><?php _e('Upgrade to <strong>WP Tweets PRO</strong>!','wp-to-twitter'); ?></a></strong>
787
  <p><?php _e('Bonuses in the PRO upgrade:','wp-to-twitter'); ?></p>
788
  <ul>
789
- <li><?php _e('Your authors can post to their own Twitter accounts','wp-to-twitter'); ?></li>
790
- <li><?php _e('Delay your Tweets minutes or hours after you publish','wp-to-twitter'); ?></li>
791
  <li><?php _e('Automatically schedule Tweets to post again later','wp-to-twitter'); ?></li>
792
  <li><?php _e('Send Tweets for approved comments','wp-to-twitter'); ?></li>
 
793
  </ul>
794
 
795
  </div>
@@ -798,12 +812,13 @@ function wpt_sidebar() {
798
  <?php
799
  } else {
800
  if ( function_exists( 'wpt_notes' ) ) {
801
- wpt_notes();
802
  }
803
  } ?>
804
  <div class="ui-sortable meta-box-sortables">
805
  <div class="postbox">
806
- <h3><?php _e('Shortcodes','wp-to-twitter'); ?></h3>
 
807
  <div class="inside">
808
  <p><?php _e("Available in post update templates:", 'wp-to-twitter'); ?></p>
809
  <ul>
@@ -829,5 +844,5 @@ function wpt_sidebar() {
829
  </div>
830
  </div>
831
  </div>
832
- <?php
833
  }
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
  // FUNCTION to see if checkboxes should be checked
5
+ function jd_checkCheckbox( $field,$sub1=false,$sub2='' ) {
6
  if ( $sub1 ) {
7
+ $setting = get_option($field);
8
  if ( isset( $setting[$sub1] ) ) {
9
  $value = ( $sub2 != '' )?$setting[$sub1][$sub2]:$setting[$sub1];
10
  } else {
14
  return 'checked="checked"';
15
  }
16
  }
17
+ if( get_option( $field ) == '1'){
18
  return 'checked="checked"';
19
  }
20
  }
21
 
22
+ function jd_checkSelect( $field, $value, $type='select' ) {
23
+ if( get_option( $field ) == $value ) {
24
  return ( $type == 'select' )?'selected="selected"':'checked="checked"';
25
  }
26
  }
75
 
76
  function wpt_update_settings() {
77
  wpt_check_version();
78
+
79
  if ( !empty($_POST) ) {
80
  $nonce=$_REQUEST['_wpnonce'];
81
  if (! wp_verify_nonce($nonce,'wp-to-twitter-nonce') ) die("Security check failed");
82
  }
83
+
84
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'clear-error' ) {
85
  update_option( 'wp_twitter_failure','0' );
86
  update_option( 'wp_url_failure','0' );
116
  update_option( 'wpt_post_types', $initial_settings );
117
  update_option( 'jd_twit_blogroll', '1');
118
  update_option( 'newlink-published-text', 'New link: #title# #url#' );
 
119
  update_option( 'jd_shortener', '1' );
120
  update_option( 'jd_strip_nonan', '0' );
121
  update_option('jd_max_tags',3);
362
  break;
363
  }
364
  }
365
+ update_option( 'wpt_can_tweet',$wpt_can_tweet);
 
366
  update_option( 'disable_url_failure' , ( isset( $_POST['disable_url_failure'] ) )?$_POST['disable_url_failure']:0 );
367
  update_option( 'disable_twitter_failure' , ( isset( $_POST['disable_twitter_failure'] ) )?$_POST['disable_twitter_failure']:0 );
368
  update_option( 'disable_oauth_notice' , ( isset( $_POST['disable_oauth_notice'] ) )?$_POST['disable_oauth_notice']:0 );
369
  update_option( 'wp_debug_oauth' , ( isset( $_POST['wp_debug_oauth'] ) )?$_POST['wp_debug_oauth']:0 );
370
  update_option( 'wpt_http' , ( isset( $_POST['wpt_http'] ) )?$_POST['wpt_http']:0 );
 
371
  update_option( 'jd_donations' , ( isset( $_POST['jd_donations'] ) )?$_POST['jd_donations']:0 );
372
  $wpt_truncation_order = $_POST['wpt_truncation_order'];
373
  update_option( 'wpt_truncation_order', $wpt_truncation_order );
374
  $message .= __( 'WP to Twitter Advanced Options Updated' , 'wp-to-twitter');
375
  }
376
+
377
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'options' ) {
378
  // UPDATE OPTIONS
379
  $wpt_settings = get_option('wpt_post_types');
391
  update_option( 'jd_twit_blogroll',(isset($_POST['jd_twit_blogroll']) )?$_POST['jd_twit_blogroll']:"" );
392
  $message = wpt_select_shortener( $_POST );
393
  $message .= __( 'WP to Twitter Options Updated' , 'wp-to-twitter');
394
+ $message = apply_filters( 'wpt_settings', $message, $_POST );
395
  }
396
+
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  if ( isset($_POST['wpt_shortener_update']) && $_POST['wpt_shortener_update'] == 'true' ) {
398
  $message = wpt_shortener_update( $_POST );
399
  }
400
+
401
  // Check whether the server has supported for needed functions.
402
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'check-support' ) {
403
  $message = jd_check_functions();
404
  }
405
  ?>
406
  <div class="wrap" id="wp-to-twitter">
 
407
  <?php wpt_commments_removed(); ?>
408
  <?php if ( $message ) { ?>
409
  <div id="message" class="updated fade"><?php echo $message; ?></div>
450
  <div class="metabox-holder">
451
 
452
  <?php if (function_exists('wtt_connect_oauth') ) { wtt_connect_oauth(); } ?>
 
453
  <?php if (function_exists( 'wpt_pro_functions' ) ) { wpt_pro_functions(); } ?>
454
  <div class="ui-sortable meta-box-sortables">
455
  <div class="postbox">
456
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
457
+ <h3 class='hndle'><span><?php _e('Status Update Templates','wp-to-twitter'); ?></span></h3>
458
+ <div class="inside wpt-settings">
 
459
  <form method="post" action="">
460
  <?php $nonce = wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, false).wp_referer_field(false); echo "<div>$nonce</div>"; ?>
461
  <div>
462
  <input type="submit" name="submit" value="<?php _e("Save WP to Twitter Options", 'wp-to-twitter'); ?>" class="button-primary button-side" />
463
  <?php echo apply_filters('wpt_pick_shortener',''); ?>
464
  <?php
 
465
  $post_types = get_post_types( array( 'public'=>true ), 'objects' );
466
  $wpt_settings = get_option('wpt_post_types');
467
+ $tabs = "<ul class='tabs'>";
468
+ foreach( $post_types as $type ) {
469
+ $name = $type->labels->name;
470
+ $singular = $type->labels->singular_name;
471
+ $slug = $type->name;
472
+ if ( $slug == 'attachment' || $slug == 'nav_menu_item' || $slug == 'revision' ) {
473
+ } else {
474
+ $tabs .= "<li><a href='#wpt_$slug'>$name</a></li>";
475
+ }
476
+ }
477
+ $tabs .= "<li><a href='#wpt_links'>".__('Links','wp-to-twitter')."</a></li>
478
+ </ul>";
479
+ echo $tabs;
480
  foreach( $post_types as $type ) {
481
  $name = $type->labels->name;
482
  $singular = $type->labels->singular_name;
483
  $slug = $type->name;
484
  if ( $slug == 'attachment' || $slug == 'nav_menu_item' || $slug == 'revision' ) {
 
485
  } else {
486
  $vowels = array( 'a','e','i','o','u' );
487
  foreach ( $vowels as $vowel ) {
488
  if ( strpos($name, $vowel ) === 0 ) { $word = 'an'; break; } else { $word = 'a'; }
489
  }
490
  ?>
491
+ <div class='wptab wpt_types wpt_<?php echo $slug; ?>' id='wpt_<?php echo $slug; ?>'>
492
+ <?php
493
+ if ( get_option( 'limit_categories' ) != '0' && $slug == 'post' ) {
494
+ $falseness = get_option( 'jd_twit_cats' );
495
+ $categories = get_option( 'tweet_categories' );
496
+ if ( $falseness == 1 ) {
497
+ echo "<p>".__('These categories are currently <strong>excluded</strong> by the deprecated WP to Twitter category filters.','wp-to-twitter' )."</p>";
498
+ } else {
499
+ echo "<p>".__('These categories are currently <strong>allowed</strong> by the deprecated WP to Twitter category filters.','wp-to-twitter' )."</p>";
500
+ }
501
+ echo "<ul>";
502
+ foreach ( $categories as $cat ) {
503
+ $category = get_the_category_by_ID( $cat );
504
+ echo "<li>$category</li>";
505
+ }
506
+ echo "</ul>";
507
+ if ( !function_exists( 'wpt_pro_exists' ) ) {
508
+ printf( __('<a href="%s">Upgrade to WP Tweets PRO</a> to filter posts in all custom post types on any taxonomy.','wp-to-twitter' ), "https://www.joedolson.com/articles/wp-tweets-pro/" );
509
+ } else {
510
+ _e( 'Updating the WP Tweets PRO taxonomy filters will overwrite your old category filters.','wp-to-twitter' );
511
+ }
512
+ }
513
+ ?>
514
+ <fieldset>
515
+ <legend><span><?php echo $name ?></span></legend>
516
  <p>
517
  <input type="checkbox" name="wpt_post_types[<?php echo $slug; ?>][post-published-update]" id="<?php echo $slug; ?>-post-published-update" value="1" <?php echo jd_checkCheckbox('wpt_post_types',$slug,'post-published-update')?> />
518
  <label for="<?php echo $slug; ?>-post-published-update"><strong><?php printf(__('Update when %1$s %2$s is published','wp-to-twitter'),$word, $singular); ?></strong></label> <label for="<?php echo $slug; ?>-post-published-text"><br /><?php printf(__('Template for new %1$s updates','wp-to-twitter'),$name); ?></label><br /><input type="text" class="wpt-template" name="wpt_post_types[<?php echo $slug; ?>][post-published-text]" id="<?php echo $slug; ?>-post-published-text" size="60" maxlength="120" value="<?php if ( isset( $wpt_settings[$slug] ) ) { echo esc_attr( stripslashes( $wpt_settings[$slug]['post-published-text'] ) ); } ?>" />
522
  <label for="<?php echo $slug; ?>-post-edited-update"><strong><?php printf(__('Update when %1$s %2$s is edited','wp-to-twitter'),$word, $singular); ?></strong></label><br /><label for="<?php echo $slug; ?>-post-edited-text"><?php printf(__('Template for %1$s editing updates','wp-to-twitter'),$name); ?></label><br /><input type="text" class="wpt-template" name="wpt_post_types[<?php echo $slug; ?>][post-edited-text]" id="<?php echo $slug; ?>-post-edited-text" size="60" maxlength="120" value="<?php if ( isset( $wpt_settings[$slug] ) ) { echo esc_attr( stripslashes( $wpt_settings[$slug]['post-edited-text'] ) ); } ?>" />
523
  </p>
524
  </fieldset>
525
+ <?php if ( function_exists( 'wpt_list_terms' ) ) { wpt_list_terms( $slug, $name ); } ?>
526
+ </div>
527
  <?php
528
  }
529
  }
530
  ?>
531
+ <div class='wptab wpt_types wpt_links' id="wpt_links">
532
+ <fieldset>
533
+ <legend><span><?php _e('Links','wp-to-twitter'); ?></span></legend>
534
+ <p>
535
+ <input type="checkbox" name="jd_twit_blogroll" id="jd_twit_blogroll" value="1" <?php echo jd_checkCheckbox('jd_twit_blogroll')?> />
536
+ <label for="jd_twit_blogroll"><strong><?php _e("Update Twitter when you post a Blogroll link", 'wp-to-twitter'); ?></strong></label><br />
537
+ <label for="newlink-published-text"><?php _e("Text for new link updates:", 'wp-to-twitter'); ?></label> <input aria-labelledby="newlink-published-text-label" type="text" class="wpt-template" name="newlink-published-text" id="newlink-published-text" size="60" maxlength="120" value="<?php echo ( esc_attr( stripslashes( get_option( 'newlink-published-text' ) ) ) ); ?>" /><br /><span id="newlink-published-text-label"><?php _e('Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>.','wp-to-twitter'); ?></span>
538
+ </p>
539
+ </fieldset>
540
+ </div>
541
  <br class='clear' />
542
  <div>
543
  <input type="hidden" name="submit-type" value="options" />
553
 
554
  <div class="ui-sortable meta-box-sortables">
555
  <div class="postbox">
556
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
557
+ <h3 class='hndle'><span><?php _e('Advanced Settings','wp-to-twitter'); ?></span></h3>
558
  <div class="inside">
559
  <form method="post" action="">
560
  <div>
728
  </form>
729
  </div>
730
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
731
  </div>
732
 
733
  <div class="postbox" id="get-support">
734
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
735
+ <h3 class='hndle'><span><?php _e('Get Plug-in Support','wp-to-twitter'); ?></span></h3>
736
  <div class="inside">
737
  <?php wpt_get_support_form(); ?>
738
  </div>
760
  <div class="metabox-holder">
761
  <div class="ui-sortable meta-box-sortables">
762
  <div class="postbox">
763
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
764
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
765
+ <h3 class='hndle'><span><strong><?php _e('Support WP to Twitter','wp-to-twitter'); ?></strong></span></h3>
766
  <?php } else { ?>
767
+ <h3 class='hndle'><span><strong><?php _e('WP to Twitter Support','wp-to-twitter'); ?></strong></span></h3>
768
  <?php } ?>
769
  <div class="inside resources">
770
  <p>
773
  </p>
774
  <?php if ( function_exists( 'wpt_pro_exists' ) ) { $support = admin_url('admin.php?page=wp-tweets-pro'); } else { $support = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); } ?>
775
  <a href="<?php echo $support; ?>#get-support"><?php _e("Get Support",'wp-to-twitter'); ?></a>
776
+ <?php if ( get_option('jd_donations') != 1 && !function_exists( 'wpt_pro_exists' ) ) { ?>
777
+ <p><?php _e('<a href="http://www.joedolson.com/donate.php">Make a donation today!</a><br />Every donation matters - donate $5, $20, or $100 today!','wp-to-twitter'); ?></p>
778
+ <div class='donations'>
 
779
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
780
  <div>
781
  <input type="hidden" name="cmd" value="_s-xclick" />
784
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
785
  </div>
786
  </form>
787
+ <a href="http://flattr.com/thing/559528/WP-to-Twitter"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr WP to Twitter" /></a>
788
  </div>
789
+ <?php } ?>
790
  </div>
791
  </div>
792
  </div>
793
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
794
  <div class="ui-sortable meta-box-sortables">
795
  <div class="postbox">
796
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
797
+ <h3 class='wpt-upgrade hndle'><span><strong><?php _e('Upgrade Now!','wp-to-twitter'); ?></strong></span></h3>
798
  <div class="inside purchase">
799
  <strong><a href="http://www.joedolson.com/articles/wp-tweets-pro/"><?php _e('Upgrade to <strong>WP Tweets PRO</strong>!','wp-to-twitter'); ?></a></strong>
800
  <p><?php _e('Bonuses in the PRO upgrade:','wp-to-twitter'); ?></p>
801
  <ul>
802
+ <li><?php _e('Authors can post to their own Twitter accounts','wp-to-twitter'); ?></li>
803
+ <li><?php _e('Delay Tweets minutes or hours after you publish','wp-to-twitter'); ?></li>
804
  <li><?php _e('Automatically schedule Tweets to post again later','wp-to-twitter'); ?></li>
805
  <li><?php _e('Send Tweets for approved comments','wp-to-twitter'); ?></li>
806
+ <li><?php _e('Filter Tweets by category, tag, or custom taxonomy','wp-to-twitter'); ?></li>
807
  </ul>
808
 
809
  </div>
812
  <?php
813
  } else {
814
  if ( function_exists( 'wpt_notes' ) ) {
815
+ wpt_notes();
816
  }
817
  } ?>
818
  <div class="ui-sortable meta-box-sortables">
819
  <div class="postbox">
820
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
821
+ <h3 class='hndle'><span><?php _e('Shortcodes','wp-to-twitter'); ?></span></h3>
822
  <div class="inside">
823
  <p><?php _e("Available in post update templates:", 'wp-to-twitter'); ?></p>
824
  <ul>
844
  </div>
845
  </div>
846
  </div>
847
+ <?php
848
  }
wp-to-twitter-oauth.php CHANGED
@@ -210,7 +210,8 @@ $nonce = ( !$auth )?wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, fals
210
 
211
  $submit = ( !$auth )?'<p class="submit"><input type="submit" name="submit" class="button-primary" value="'.__('Connect to Twitter', 'wp-to-twitter').'" /></p>':'';
212
  print('
213
- <h3>'.__('Connect to Twitter','wp-to-twitter').'</h3>
 
214
  <div class="inside '.$class.'">
215
  <div class="notes">
216
  <h4>'.__('WP to Twitter Set-up','wp-to-twitter').'</h4>
@@ -286,8 +287,9 @@ $nonce = ( !$auth )?wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, fals
286
  $diff = __( 'WP to Twitter could not contact Twitter\'s remote server. Here is the error triggered: ','wp-to-twitter' ).$errors;
287
  }
288
 
289
- print('
290
- <h3>'.__('Disconnect from Twitter','wp-to-twitter').'</h3>
 
291
  <div class="inside '.$class.'">
292
  '.$form.'
293
  <div id="wtt_authentication_display">
210
 
211
  $submit = ( !$auth )?'<p class="submit"><input type="submit" name="submit" class="button-primary" value="'.__('Connect to Twitter', 'wp-to-twitter').'" /></p>':'';
212
  print('
213
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
214
+ <h3 class="hndle"><span>'.__('Connect to Twitter','wp-to-twitter').'</span></h3>
215
  <div class="inside '.$class.'">
216
  <div class="notes">
217
  <h4>'.__('WP to Twitter Set-up','wp-to-twitter').'</h4>
287
  $diff = __( 'WP to Twitter could not contact Twitter\'s remote server. Here is the error triggered: ','wp-to-twitter' ).$errors;
288
  }
289
 
290
+ print('
291
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
292
+ <h3 class="hndle"><span>'.__('Disconnect from Twitter','wp-to-twitter').'</span></h3>
293
  <div class="inside '.$class.'">
294
  '.$form.'
295
  <div id="wtt_authentication_display">
wp-to-twitter-shorteners.php CHANGED
@@ -291,7 +291,8 @@ if ( !function_exists( 'jd_shorten_link' ) ) { // prep work for future plug-in r
291
  ?>
292
  <div class="ui-sortable meta-box-sortables">
293
  <div class="postbox">
294
- <h3><?php _e('<abbr title="Uniform Resource Locator">URL</abbr> Shortener Account Settings','wp-to-twitter'); ?></h3>
 
295
  <div class="inside">
296
  <?php if ( get_option('jd_shortener') == 7 ) { ?>
297
  <div class="panel">
291
  ?>
292
  <div class="ui-sortable meta-box-sortables">
293
  <div class="postbox">
294
+ <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
295
+ <h3 class='hndle'><span><?php _e('<abbr title="Uniform Resource Locator">URL</abbr> Shortener Account Settings','wp-to-twitter'); ?></span></h3>
296
  <div class="inside">
297
  <?php if ( get_option('jd_shortener') == 7 ) { ?>
298
  <div class="panel">
wp-to-twitter.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/
5
  Description: Posts a Tweet when you update your WordPress blog or post to your blogroll, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
- Version: 2.7.7
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
@@ -25,6 +25,7 @@ Author URI: http://www.joedolson.com/
25
  */
26
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
27
 
 
28
  global $wp_version;
29
  $wp_content_url = content_url();
30
  $wp_content_dir = str_replace( '/plugins/wp-to-twitter','',plugin_dir_path( __FILE__ ) );
@@ -47,7 +48,7 @@ require_once( plugin_dir_path(__FILE__).'/wpt-feed.php' );
47
  require_once( plugin_dir_path(__FILE__).'/wpt-widget.php' );
48
 
49
  global $wpt_version,$jd_plugin_url;
50
- $wpt_version = "2.7.7";
51
  $plugin_dir = basename(dirname(__FILE__));
52
  load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
53
 
@@ -64,7 +65,7 @@ function wpt_mail( $subject, $body ) {
64
 
65
  function wpt_pro_compatibility() {
66
  global $wptp_version;
67
- $current_wptp_version = '1.5.8';
68
  if ( version_compare( $wptp_version, $current_wptp_version, '<' ) ) {
69
  echo "<div class='error notice'><p class='upgrade'>".sprintf( __('The current version of WP Tweets PRO is <strong>%s</strong>. <a href="http://www.joedolson.com/articles/account/">Upgrade for best compatibility!</a>','wp-to-twitter'),$current_wptp_version )."</p></div>";
70
  }
@@ -73,16 +74,6 @@ function wpt_pro_compatibility() {
73
  $jd_plugin_url = "http://www.joedolson.com/articles/wp-to-twitter/";
74
  $jd_donate_url = "http://www.joedolson.com/articles/wp-tweets-pro/";
75
 
76
- function wpt_marginal_function() {
77
- global $wp_version;
78
- $exit_msg=__('WP to Twitter requires WordPress 3.2.1 or a more recent version <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update WordPress to continue using WP to Twitter with all features!</a>','wp-to-twitter');
79
- if ( version_compare( $wp_version,"3.2.1","<" ) ) {
80
- if ( is_admin() ) {
81
- echo "<div class='error'><p>".($exit_msg)."</p></div>";
82
- }
83
- }
84
- }
85
-
86
  function wpt_commments_removed() {
87
  if ( isset($_GET['dismiss']) ) {
88
  update_option( 'wpt_dismissed', 'true' );
@@ -654,7 +645,7 @@ function jd_post_info( $post_ID ) {
654
  $post_excerpt = ( trim( $post->post_excerpt ) == "" )?@mb_substr( strip_tags( strip_shortcodes( $post->post_content ) ), 0, $excerpt_length ):@mb_substr( strip_tags( strip_shortcodes( $post->post_excerpt ) ), 0, $excerpt_length );
655
  $values['postExcerpt'] = html_entity_decode( $post_excerpt, ENT_COMPAT, $encoding );
656
  $thisposttitle = stripcslashes( strip_tags( $post->post_title ) );
657
- if ($thisposttitle == "") {
658
  $thisposttitle = stripcslashes( strip_tags( $_POST['title'] ) );
659
  }
660
  $values['postTitle'] = html_entity_decode( $thisposttitle, ENT_COMPAT, $encoding );
@@ -681,15 +672,19 @@ function wpt_short_url( $post_id ) {
681
  return $jd_short;
682
  }
683
 
684
- function wpt_post_with_media( $post_ID ) {
 
 
 
685
  if ( !function_exists( 'wpt_pro_exists' ) || get_option( 'wpt_media') != '1' ) {
686
- return false;
687
  } else {
688
  if ( has_post_thumbnail( $post_ID ) || wpt_post_attachment( $post_ID ) ) {
689
- return true;
690
  }
691
  }
692
- return false;
 
693
  }
694
 
695
  function wpt_category_limit( $post_type, $post_info, $post_ID ) {
@@ -707,7 +702,8 @@ function wpt_category_limit( $post_type, $post_info, $post_ID ) {
707
  wpt_mail( "3b: Category limits applied #$post_ID", print_r($post_info['categoryIds'],1));
708
  }
709
  $continue = ( get_option('limit_categories') == '0' )?true:$continue;
710
- return $continue;
 
711
  }
712
 
713
  function jd_twit( $post_ID, $type='instant' ) {
@@ -734,7 +730,7 @@ function jd_twit( $post_ID, $type='instant' ) {
734
  }
735
  if ( $test ) { // test switch: depend on default settings.
736
  $post_info = jd_post_info( $post_ID );
737
- $media = wpt_post_with_media( $post_ID );
738
  if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() == true ) {
739
  $auth = ( get_option( 'wpt_cotweet_lock' ) == 'false' || !get_option('wpt_cotweet_lock') )?$post_info['authId']:get_option('wpt_cotweet_lock');
740
  } else {
@@ -753,6 +749,11 @@ function jd_twit( $post_ID, $type='instant' ) {
753
  return false;
754
  }
755
  }
 
 
 
 
 
756
  $post_type = $post_info['postType'];
757
  if ( $type == 'future' || get_post_meta( $post_ID, 'wpt_publishing' ) == 'future' ) {
758
  $new = 1; // if this is a future action, then it should be published regardless of relationship
@@ -827,8 +828,10 @@ function jd_twit( $post_ID, $type='instant' ) {
827
  $wpt_selected_users = ($auth_verified)? array( $auth ) : array( false );
828
  }
829
  if ( $post_info['wpt_cotweet'] == 1 || get_option( 'jd_individual_twitter_users' ) != 1 ) {
830
- $wpt_selected_users[] = false;
831
  }
 
 
832
  if ( $post_info['wpt_delay_tweet'] == 0 || $post_info['wpt_delay_tweet'] == '' || $post_info['wpt_no_delay'] == 'on' ) {
833
  foreach ( $wpt_selected_users as $acct ) {
834
  if ( wtt_oauth_test( $acct, 'verify' ) ) {
@@ -839,6 +842,8 @@ function jd_twit( $post_ID, $type='instant' ) {
839
  foreach ( $wpt_selected_users as $acct ) {
840
  if ( $auth != $acct ) {
841
  $offset = rand(60,480); // offset by 1-8 minutes for additional users
 
 
842
  }
843
  if ( wtt_oauth_test( $acct,'verify' ) ) {
844
  $time = apply_filters( 'wpt_schedule_delay',( (int) $post_info['wpt_delay_tweet'] )*60, $acct );
@@ -942,7 +947,7 @@ function jd_twit_link( $link_ID ) {
942
 
943
  function wpt_generate_hash_tags( $post_ID ) {
944
  $hashtags = '';
945
- $term_meta = 1;
946
  $max_tags = get_option( 'jd_max_tags' );
947
  $max_characters = get_option( 'jd_max_characters' );
948
  $max_characters = ( $max_characters == 0 || $max_characters == "" )?100:$max_characters + 1;
@@ -971,7 +976,7 @@ function wpt_generate_hash_tags( $post_ID ) {
971
  case 1 : $newtag = "#$tag"; break;
972
  case 2 : $newtag = "$$tag"; break;
973
  case 3 : $newtag = ''; break;
974
- default: $newtag = "#$tag";
975
  }
976
  if ( mb_strlen( $newtag ) > 2 && (mb_strlen( $newtag ) <= $max_characters) && ($i <= $max_tags) ) {
977
  $hashtags .= "$newtag ";
@@ -1071,31 +1076,34 @@ function jd_add_twitter_inner_box( $post ) {
1071
  }
1072
  ?>
1073
  <div class='wpt-options'>
 
 
 
1074
  <ul class='tabs'>
1075
- <li><a href='#authors' class="active">Tweet to</a></li>
1076
  <li><a href='#custom'>Options</a></li>
1077
- <li><a href='#notes'>Notes</a></li>
1078
  </ul>
1079
  <?php
1080
  /* WPT PRO OPTIONS */
1081
  if ( current_user_can( 'edit_others_posts' ) ) {
 
1082
  if ( get_option( 'jd_individual_twitter_users' ) == 1 ) {
1083
  $selected = ( get_post_meta( $post_id, '_wpt_authorized_users', true ) )?get_post_meta( $post_id, '_wpt_authorized_users', true ):array();
1084
  if ( function_exists( 'wpt_authorized_users' ) ) {
1085
- echo "<div class='wptab' id='authors'>";
1086
  echo wpt_authorized_users( $selected );
1087
  do_action( 'wpt_authors_tab', $post_id, $selected );
1088
- echo "</div>";
1089
  } else {
1090
- echo "<div class='wptab' id='authors'><p>";
1091
  if ( function_exists( 'wpt_pro_exists' ) ) {
1092
  printf( __( 'WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href="%s">Log in and download now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/account/' );
1093
  } else {
1094
  printf( __( 'Upgrade to WP Tweets PRO to select Twitter accounts! <a href="%s">Upgrade now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/wp-tweets-pro/' );
1095
  }
1096
- echo "</p></div>";
1097
  }
1098
  }
 
1099
  }
1100
  ?>
1101
  <div class='wptab' id='custom'><?php
@@ -1196,27 +1204,42 @@ global $current_screen;
1196
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1197
  wp_enqueue_script( 'charCount', plugins_url( 'wp-to-twitter/js/jquery.charcount.js'), array('jquery') );
1198
  }
 
 
 
 
 
 
 
1199
  }
1200
  add_action( 'admin_enqueue_scripts', 'wpt_admin_scripts', 10, 1 );
1201
 
1202
  function wpt_admin_script( $hook ) {
1203
  global $current_screen;
1204
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1205
- wp_register_style( 'wpt-post-styles', plugins_url('post-styles.css',__FILE__) );
1206
  wp_enqueue_style('wpt-post-styles');
1207
  if ( $current_screen->base == 'post' ) {
1208
  $allowed = 140 - mb_strlen( get_option('jd_twit_prepend').get_option('jd_twit_append') );
1209
  } else {
1210
  $allowed = ( wpt_is_ssl( home_url() ) )?137:138;
1211
  }
 
 
 
 
 
 
 
 
1212
  echo "
1213
  <script type='text/javascript'>
1214
  jQuery(document).ready(function(\$){
1215
  \$('#jtw').charCount( { allowed: $allowed, counterText: '".__('Characters left: ','wp-to-twitter')."' } );
1216
  });
1217
  jQuery(document).ready(function(\$){
1218
- \$('#side-sortables .tabs a[href=\"#authors\"]').addClass('active');
1219
- \$('#side-sortables .wptab').not('#authors').hide();
1220
  \$('#side-sortables .tabs a').on('click',function(e) {
1221
  e.preventDefault();
1222
  \$('#side-sortables .tabs a').removeClass('active');
@@ -1228,7 +1251,7 @@ if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_pa
1228
  });
1229
  </script>
1230
  <style type='text/css'>
1231
- #wp2t h3 span { padding-left: 30px; background: url(".plugins_url('wp-to-twitter/twitter-bird-light-bgs.png').") left 50% no-repeat; }
1232
  </style>";
1233
  }
1234
  }
@@ -1343,42 +1366,6 @@ function jd_twitter_save_profile(){
1343
  apply_filters( 'wpt_save_user', $edit_id, $_POST );
1344
  }
1345
 
1346
- function jd_list_categories() {
1347
- $selected = "";
1348
- $categories = get_categories('hide_empty=0');
1349
- $nonce = wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, false).wp_referer_field(false);
1350
- $input = "<form action=\"\" method=\"post\">
1351
- <div>$nonce</div>
1352
- <fieldset><legend>".__('Check off categories to tweet','wp-to-twitter')."</legend>";
1353
- $input .= '
1354
- <p>
1355
- <input type="checkbox" name="jd_twit_cats" id="jd_twit_cats" value="1"'.jd_checkCheckbox('jd_twit_cats').' />
1356
- <label for="jd_twit_cats">'.__("Do not tweet posts in checked categories (Reverses default behavior)", 'wp-to-twitter').'</label>
1357
- </p>';
1358
- $input .= "
1359
- <ul>\n";
1360
- $tweet_categories = get_option( 'tweet_categories' );
1361
- foreach ($categories AS $cat) {
1362
- if (is_array($tweet_categories)) {
1363
- if ( in_array( $cat->term_id,$tweet_categories ) ) {
1364
- $selected = " checked=\"checked\"";
1365
- } else {
1366
- $selected = "";
1367
- }
1368
- }
1369
- $input .= ' <li><input'.$selected.' type="checkbox" name="categories[]" value="'.$cat->term_id.'" id="'.$cat->category_nicename.'" /> <label for="'.$cat->category_nicename.'">'.$cat->name."</label></li>\n";
1370
- }
1371
- $input .= " </ul>
1372
- </fieldset>
1373
- <p>".__('Limits are exclusive. If a post is in one category which should be posted and one category that should not, it will not be posted.','wp-to-twitter')."</p>
1374
- <div>
1375
- <input type=\"hidden\" name=\"submit-type\" value=\"setcategories\" />
1376
- <input type=\"submit\" name=\"submit\" class=\"button-primary\" value=\"".__('Set Categories','wp-to-twitter')."\" />
1377
- </div>
1378
- </form>";
1379
- echo $input;
1380
- }
1381
-
1382
  // Add the administrative settings to the "Settings" menu.
1383
  function jd_addTwitterAdminPages() {
1384
  if ( function_exists( 'add_options_page' ) && !function_exists( 'wpt_pro_functions') ) {
@@ -1526,7 +1513,7 @@ add_action( 'admin_menu', 'jd_addTwitterAdminPages' );
1526
  /* Enqueue styles for Twitter feed */
1527
  add_action('wp_enqueue_scripts', 'wpt_stylesheet');
1528
  function wpt_stylesheet() {
1529
- $file = plugins_url( 'twitter-feed.css',__FILE__);
1530
  wp_register_style( 'wpt-twitter-feed', $file );
1531
  }
1532
  /*
@@ -1552,11 +1539,12 @@ function wpt_return_value($value, $column_name, $id) {
1552
  }
1553
  */
1554
  // Output CSS for width of new column
 
1555
  function wpt_css() {
1556
  ?>
1557
  <style type="text/css">
1558
  th#wpt { width: 60px; }
1559
- .wpt_twitter .authorized { color: green; }
1560
  </style>
1561
  <?php
1562
  }
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/
5
  Description: Posts a Tweet when you update your WordPress blog or post to your blogroll, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
+ Version: 2.8.0
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
25
  */
26
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
27
 
28
+ apply_filters( 'debug', 'WP to Twitter Init' );
29
  global $wp_version;
30
  $wp_content_url = content_url();
31
  $wp_content_dir = str_replace( '/plugins/wp-to-twitter','',plugin_dir_path( __FILE__ ) );
48
  require_once( plugin_dir_path(__FILE__).'/wpt-widget.php' );
49
 
50
  global $wpt_version,$jd_plugin_url;
51
+ $wpt_version = "2.8.0";
52
  $plugin_dir = basename(dirname(__FILE__));
53
  load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
54
 
65
 
66
  function wpt_pro_compatibility() {
67
  global $wptp_version;
68
+ $current_wptp_version = '1.6.0';
69
  if ( version_compare( $wptp_version, $current_wptp_version, '<' ) ) {
70
  echo "<div class='error notice'><p class='upgrade'>".sprintf( __('The current version of WP Tweets PRO is <strong>%s</strong>. <a href="http://www.joedolson.com/articles/account/">Upgrade for best compatibility!</a>','wp-to-twitter'),$current_wptp_version )."</p></div>";
71
  }
74
  $jd_plugin_url = "http://www.joedolson.com/articles/wp-to-twitter/";
75
  $jd_donate_url = "http://www.joedolson.com/articles/wp-tweets-pro/";
76
 
 
 
 
 
 
 
 
 
 
 
77
  function wpt_commments_removed() {
78
  if ( isset($_GET['dismiss']) ) {
79
  update_option( 'wpt_dismissed', 'true' );
645
  $post_excerpt = ( trim( $post->post_excerpt ) == "" )?@mb_substr( strip_tags( strip_shortcodes( $post->post_content ) ), 0, $excerpt_length ):@mb_substr( strip_tags( strip_shortcodes( $post->post_excerpt ) ), 0, $excerpt_length );
646
  $values['postExcerpt'] = html_entity_decode( $post_excerpt, ENT_COMPAT, $encoding );
647
  $thisposttitle = stripcslashes( strip_tags( $post->post_title ) );
648
+ if ( $thisposttitle == "" && isset( $_POST['title'] ) ) {
649
  $thisposttitle = stripcslashes( strip_tags( $_POST['title'] ) );
650
  }
651
  $values['postTitle'] = html_entity_decode( $thisposttitle, ENT_COMPAT, $encoding );
672
  return $jd_short;
673
  }
674
 
675
+ function wpt_post_with_media( $post_ID, $post_info=array() ) {
676
+ $return = false;
677
+ if ( isset( $post_info['wpt_image'] ) && $post_info['wpt_image'] == 1 ) return $return;
678
+
679
  if ( !function_exists( 'wpt_pro_exists' ) || get_option( 'wpt_media') != '1' ) {
680
+ $return = false;
681
  } else {
682
  if ( has_post_thumbnail( $post_ID ) || wpt_post_attachment( $post_ID ) ) {
683
+ $return = true;
684
  }
685
  }
686
+ return apply_filters( 'wpt_upload_media', $return, $post_ID );
687
+
688
  }
689
 
690
  function wpt_category_limit( $post_type, $post_info, $post_ID ) {
702
  wpt_mail( "3b: Category limits applied #$post_ID", print_r($post_info['categoryIds'],1));
703
  }
704
  $continue = ( get_option('limit_categories') == '0' )?true:$continue;
705
+ $args = array( 'type'=>$post_type, 'info'=>$post_info, 'id'=>$post_ID );
706
+ return apply_filters( 'wpt_filter_terms', $continue, $args );
707
  }
708
 
709
  function jd_twit( $post_ID, $type='instant' ) {
730
  }
731
  if ( $test ) { // test switch: depend on default settings.
732
  $post_info = jd_post_info( $post_ID );
733
+ $media = wpt_post_with_media( $post_ID, $post_info );
734
  if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() == true ) {
735
  $auth = ( get_option( 'wpt_cotweet_lock' ) == 'false' || !get_option('wpt_cotweet_lock') )?$post_info['authId']:get_option('wpt_cotweet_lock');
736
  } else {
749
  return false;
750
  }
751
  }
752
+ /* Filter Tweet based on POST data -- allows custom filtering of unknown plug-ins, etc. */
753
+ $filter = apply_filters( 'wpt_filter_post_data', false, $_POST );
754
+ if ( $filter ) {
755
+ return false;
756
+ }
757
  $post_type = $post_info['postType'];
758
  if ( $type == 'future' || get_post_meta( $post_ID, 'wpt_publishing' ) == 'future' ) {
759
  $new = 1; // if this is a future action, then it should be published regardless of relationship
828
  $wpt_selected_users = ($auth_verified)? array( $auth ) : array( false );
829
  }
830
  if ( $post_info['wpt_cotweet'] == 1 || get_option( 'jd_individual_twitter_users' ) != 1 ) {
831
+ $wpt_selected_users['main'] = false;
832
  }
833
+ // filter selected users before using
834
+ $wpt_selected_users = apply_filters( 'wpt_filter_users', $wpt_selected_users, $post_info );
835
  if ( $post_info['wpt_delay_tweet'] == 0 || $post_info['wpt_delay_tweet'] == '' || $post_info['wpt_no_delay'] == 'on' ) {
836
  foreach ( $wpt_selected_users as $acct ) {
837
  if ( wtt_oauth_test( $acct, 'verify' ) ) {
842
  foreach ( $wpt_selected_users as $acct ) {
843
  if ( $auth != $acct ) {
844
  $offset = rand(60,480); // offset by 1-8 minutes for additional users
845
+ } else {
846
+ $offset = 0;
847
  }
848
  if ( wtt_oauth_test( $acct,'verify' ) ) {
849
  $time = apply_filters( 'wpt_schedule_delay',( (int) $post_info['wpt_delay_tweet'] )*60, $acct );
947
 
948
  function wpt_generate_hash_tags( $post_ID ) {
949
  $hashtags = '';
950
+ $term_meta = $t_id = false;
951
  $max_tags = get_option( 'jd_max_tags' );
952
  $max_characters = get_option( 'jd_max_characters' );
953
  $max_characters = ( $max_characters == 0 || $max_characters == "" )?100:$max_characters + 1;
976
  case 1 : $newtag = "#$tag"; break;
977
  case 2 : $newtag = "$$tag"; break;
978
  case 3 : $newtag = ''; break;
979
+ default: $newtag = apply_filters( 'wpt_tag_default', "#", $t_id ).$tag;
980
  }
981
  if ( mb_strlen( $newtag ) > 2 && (mb_strlen( $newtag ) <= $max_characters) && ($i <= $max_tags) ) {
982
  $hashtags .= "$newtag ";
1076
  }
1077
  ?>
1078
  <div class='wpt-options'>
1079
+ <?php
1080
+ if ( $is_pro == 'pro' ) { $pro_active = " class='active'"; $free_active = ''; } else { $free_active = " class='active'"; $pro_active = ''; }
1081
+ ?>
1082
  <ul class='tabs'>
1083
+ <li><a href='#authors'<?php echo $pro_active; ?>>Tweet to</a></li>
1084
  <li><a href='#custom'>Options</a></li>
1085
+ <li><a href='#notes'<?php echo $free_active; ?>>Notes</a></li>
1086
  </ul>
1087
  <?php
1088
  /* WPT PRO OPTIONS */
1089
  if ( current_user_can( 'edit_others_posts' ) ) {
1090
+ echo "<div class='wptab' id='authors'>";
1091
  if ( get_option( 'jd_individual_twitter_users' ) == 1 ) {
1092
  $selected = ( get_post_meta( $post_id, '_wpt_authorized_users', true ) )?get_post_meta( $post_id, '_wpt_authorized_users', true ):array();
1093
  if ( function_exists( 'wpt_authorized_users' ) ) {
 
1094
  echo wpt_authorized_users( $selected );
1095
  do_action( 'wpt_authors_tab', $post_id, $selected );
 
1096
  } else {
1097
+ echo "<p>";
1098
  if ( function_exists( 'wpt_pro_exists' ) ) {
1099
  printf( __( 'WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href="%s">Log in and download now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/account/' );
1100
  } else {
1101
  printf( __( 'Upgrade to WP Tweets PRO to select Twitter accounts! <a href="%s">Upgrade now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/wp-tweets-pro/' );
1102
  }
1103
+ echo "</p>";
1104
  }
1105
  }
1106
+ echo "</div>";
1107
  }
1108
  ?>
1109
  <div class='wptab' id='custom'><?php
1204
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1205
  wp_enqueue_script( 'charCount', plugins_url( 'wp-to-twitter/js/jquery.charcount.js'), array('jquery') );
1206
  }
1207
+ //echo $current_screen->id;
1208
+ if ( $current_screen->id == 'settings_page_wp-to-twitter/wp-to-twitter' || $current_screen->id == 'toplevel_page_wp-tweets-pro' ) {
1209
+ wp_register_script( 'wpt.tabs', plugins_url( 'js/tabs.js', __FILE__ ), array( 'jquery' ) );
1210
+ wp_enqueue_script( 'wpt.tabs' );
1211
+ wp_localize_script( 'wpt.tabs', 'firstItem', 'wpt_post' );
1212
+ wp_enqueue_script( 'dashboard' );
1213
+ }
1214
  }
1215
  add_action( 'admin_enqueue_scripts', 'wpt_admin_scripts', 10, 1 );
1216
 
1217
  function wpt_admin_script( $hook ) {
1218
  global $current_screen;
1219
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1220
+ wp_register_style( 'wpt-post-styles', plugins_url('css/post-styles.css',__FILE__) );
1221
  wp_enqueue_style('wpt-post-styles');
1222
  if ( $current_screen->base == 'post' ) {
1223
  $allowed = 140 - mb_strlen( get_option('jd_twit_prepend').get_option('jd_twit_append') );
1224
  } else {
1225
  $allowed = ( wpt_is_ssl( home_url() ) )?137:138;
1226
  }
1227
+ if ( function_exists( 'wpt_pro_exists' ) && get_option( 'jd_individual_twitter_users' ) == 1 ) {
1228
+ $first = '#authors';
1229
+ } else if ( function_exists( 'wpt_pro_exists' ) ) {
1230
+ $first = '#custom';
1231
+ } else {
1232
+ $first = '#notes';
1233
+ }
1234
+ // yuck, this is ugly. I should do something about it. Like localize, man.
1235
  echo "
1236
  <script type='text/javascript'>
1237
  jQuery(document).ready(function(\$){
1238
  \$('#jtw').charCount( { allowed: $allowed, counterText: '".__('Characters left: ','wp-to-twitter')."' } );
1239
  });
1240
  jQuery(document).ready(function(\$){
1241
+ \$('#side-sortables .tabs a[href=\"$first\"]').addClass('active');
1242
+ \$('#side-sortables .wptab').not('$first').hide();
1243
  \$('#side-sortables .tabs a').on('click',function(e) {
1244
  e.preventDefault();
1245
  \$('#side-sortables .tabs a').removeClass('active');
1251
  });
1252
  </script>
1253
  <style type='text/css'>
1254
+ #wp2t h3 span { padding-left: 30px; background: url(".plugins_url('wp-to-twitter/images/twitter-bird-light-bgs.png').") left 50% no-repeat; }
1255
  </style>";
1256
  }
1257
  }
1366
  apply_filters( 'wpt_save_user', $edit_id, $_POST );
1367
  }
1368
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1369
  // Add the administrative settings to the "Settings" menu.
1370
  function jd_addTwitterAdminPages() {
1371
  if ( function_exists( 'add_options_page' ) && !function_exists( 'wpt_pro_functions') ) {
1513
  /* Enqueue styles for Twitter feed */
1514
  add_action('wp_enqueue_scripts', 'wpt_stylesheet');
1515
  function wpt_stylesheet() {
1516
+ $file = plugins_url( 'css/twitter-feed.css',__FILE__);
1517
  wp_register_style( 'wpt-twitter-feed', $file );
1518
  }
1519
  /*
1539
  }
1540
  */
1541
  // Output CSS for width of new column
1542
+ add_action('admin_head', 'wpt_css');
1543
  function wpt_css() {
1544
  ?>
1545
  <style type="text/css">
1546
  th#wpt { width: 60px; }
1547
+ .wpt_twitter .authorized { padding: 1px 3px; border-radius: 3px; background: #070; color: #fff; }
1548
  </style>
1549
  <?php
1550
  }
wpt-functions.php CHANGED
@@ -74,15 +74,42 @@ function jd_fetch_url( $url, $method='GET', $body='', $headers='', $return='body
74
  }
75
 
76
  if (!function_exists('mb_strlen')) {
77
- function mb_strlen($data) {
78
- return strlen($data);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
80
  }
81
 
82
  if (!function_exists('mb_substr')) {
83
- function mb_substr($data,$start,$length = null, $encoding = null) {
84
- return substr($data,$start,$length);
85
- }
 
 
 
 
 
 
 
 
 
86
  }
87
 
88
  // filter_var substitution for PHP <5.2
@@ -93,6 +120,30 @@ if ( !function_exists( 'filter_var' ) ) {
93
  }
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  // str_ireplace substitution for PHP4
97
  if ( !function_exists( 'str_ireplace' ) ) {
98
  function str_ireplace( $needle, $str, $haystack ) {
74
  }
75
 
76
  if (!function_exists('mb_strlen')) {
77
+ /**
78
+ * Fallback implementation of mb_strlen, hardcoded to UTF-8.
79
+ * @param string $str
80
+ * @param string $enc optional encoding; ignored
81
+ * @return int
82
+ */
83
+ function mb_strlen( $str, $enc = '' ) {
84
+ $counts = count_chars( $str );
85
+ $total = 0;
86
+
87
+ // Count ASCII bytes
88
+ for( $i = 0; $i < 0x80; $i++ ) {
89
+ $total += $counts[$i];
90
+ }
91
+
92
+ // Count multibyte sequence heads
93
+ for( $i = 0xc0; $i < 0xff; $i++ ) {
94
+ $total += $counts[$i];
95
+ }
96
+ return $total;
97
  }
98
  }
99
 
100
  if (!function_exists('mb_substr')) {
101
+ function mb_substr( $str, $start, $count = 'end' ) {
102
+ if ( $start != 0 ) {
103
+ $split = self::mb_substr_split_unicode( $str, intval( $start ) );
104
+ $str = substr( $str, $split );
105
+ }
106
+
107
+ if ( $count !== 'end' ) {
108
+ $split = self::mb_substr_split_unicode( $str, intval( $count ) );
109
+ $str = substr( $str, 0, $split );
110
+ }
111
+ return $str;
112
+ }
113
  }
114
 
115
  // filter_var substitution for PHP <5.2
120
  }
121
  }
122
 
123
+ if ( !function_exists( 'mb_strrpos' ) ) {
124
+ /**
125
+ * Fallback implementation of mb_strrpos, hardcoded to UTF-8.
126
+ * @param $haystack String
127
+ * @param $needle String
128
+ * @param $offset String: optional start position
129
+ * @param $encoding String: optional encoding; ignored
130
+ * @return int
131
+ */
132
+ function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
133
+ $needle = preg_quote( $needle, '/' );
134
+
135
+ $ar = array();
136
+ preg_match_all( '/' . $needle . '/u', $haystack, $ar, PREG_OFFSET_CAPTURE, $offset );
137
+
138
+ if( isset( $ar[0] ) && count( $ar[0] ) > 0 &&
139
+ isset( $ar[0][count( $ar[0] ) - 1][1] ) ) {
140
+ return $ar[0][count( $ar[0] ) - 1][1];
141
+ } else {
142
+ return false;
143
+ }
144
+ }
145
+ }
146
+
147
  // str_ireplace substitution for PHP4
148
  if ( !function_exists( 'str_ireplace' ) ) {
149
  function str_ireplace( $needle, $str, $haystack ) {
wpt-widget.php CHANGED
@@ -47,7 +47,10 @@ function wpt_get_twitter_feed( $atts, $content ) {
47
 
48
  function wpt_twitter_feed( $instance ) {
49
  $return = '<div class="wpt-header">';
50
- $user = wpt_get_user( $instance['twitter_id'] );
 
 
 
51
  $avatar = $user->profile_image_url_https;
52
  $name = $user->name;
53
  $verified = $user->verified;
47
 
48
  function wpt_twitter_feed( $instance ) {
49
  $return = '<div class="wpt-header">';
50
+ $user = wpt_get_user( $instance['twitter_id'] );
51
+ if ( isset($user->errors) && $user->errors[0]->message ) {
52
+ return __("Error: ",'wp-to-twitter'). $user->errors[0]->message;
53
+ }
54
  $avatar = $user->profile_image_url_https;
55
  $name = $user->name;
56
  $verified = $user->verified;