WP to Twitter - Version 3.3.2

Version Description

  • If short URL already stored, do not execute shortening routine
  • Remove instances of create_function for PHP 7.2 compat
  • Remove language files completely in favor of WordPress.org translations
  • CSS fix
  • Minor text changes
Download this release

Release Info

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

Code changes from version 3.3.1 to 3.3.2

css/styles.css CHANGED
@@ -287,7 +287,6 @@ label[for='wpt_prepend_rt'], label[for='wpt_prepend_rt2'], label[for='wpt_prepen
287
 
288
  .jcd-narrow .free .postbox .cta a {
289
  font-size: 1.4em;
290
- padding: .5em;
291
  }
292
 
293
  .jcd-narrow .postbox a:hover, .jcd-narrow .postbox a:focus {
287
 
288
  .jcd-narrow .free .postbox .cta a {
289
  font-size: 1.4em;
 
290
  }
291
 
292
  .jcd-narrow .postbox a:hover, .jcd-narrow .postbox a:focus {
lang/wp-to-twitter-be_BY.mo DELETED
Binary file
lang/wp-to-twitter-ca.mo DELETED
Binary file
lang/wp-to-twitter-da_DK.mo DELETED
Binary file
lang/wp-to-twitter-de_DE.mo DELETED
Binary file
lang/wp-to-twitter-es_ES.mo DELETED
Binary file
lang/wp-to-twitter-et_ET.mo DELETED
Binary file
lang/wp-to-twitter-fr_FR.mo DELETED
Binary file
lang/wp-to-twitter-ga_IR.mo DELETED
Binary file
lang/wp-to-twitter-it_IT.mo DELETED
Binary file
lang/wp-to-twitter-ja.mo DELETED
Binary file
lang/wp-to-twitter-lt_LT.mo DELETED
Binary file
lang/wp-to-twitter-nl_NL.mo DELETED
Binary file
lang/wp-to-twitter-pt_BR.mo DELETED
Binary file
lang/wp-to-twitter-ro_RO.mo DELETED
Binary file
lang/wp-to-twitter-ru_RU.mo DELETED
Binary file
lang/wp-to-twitter-sv_SE.mo DELETED
Binary file
lang/wp-to-twitter-ua_UA.mo DELETED
Binary file
lang/wp-to-twitter-zh_CN.mo DELETED
Binary file
lang/wp-to-twitter-zh_TW.mo DELETED
Binary file
lang/wp-to-twitter.pot DELETED
@@ -1,1564 +0,0 @@
1
- # Copyright (C) 2015 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 3.1.5\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-to-twitter\n"
7
- "POT-Creation-Date: 2015-08-27 17:15:12+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: 2015-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: wp-to-twitter-manager.php:31
16
- msgid "WP to Twitter is now connected with Twitter."
17
- msgstr ""
18
-
19
- #: wp-to-twitter-manager.php:31
20
- msgid "Configure your Tweet templates"
21
- msgstr ""
22
-
23
- #: wp-to-twitter-manager.php:37
24
- msgid "WP to Twitter failed to connect with Twitter."
25
- msgstr ""
26
-
27
- #: wp-to-twitter-manager.php:37
28
- msgid "Error:"
29
- msgstr ""
30
-
31
- #: wp-to-twitter-manager.php:43
32
- msgid "OAuth Authentication Data Cleared."
33
- msgstr ""
34
-
35
- #: wp-to-twitter-manager.php:49
36
- msgid ""
37
- "OAuth Authentication Failed. Your server time is not in sync with the "
38
- "Twitter servers. Talk to your hosting service to see what can be done."
39
- msgstr ""
40
-
41
- #: wp-to-twitter-manager.php:55
42
- msgid "OAuth Authentication response not understood."
43
- msgstr ""
44
-
45
- #: wp-to-twitter-manager.php:66
46
- msgid ""
47
- "Rate Limiting is enabled. Default rate limits are set at 10 posts per "
48
- "category/term per hour. <a href=\"#special_cases\">Edit global default</a> "
49
- "or edit individual terms to customize limits for each category or taxonomy "
50
- "term."
51
- msgstr ""
52
-
53
- #: wp-to-twitter-manager.php:136
54
- msgid "WP to Twitter Advanced Options Updated"
55
- msgstr ""
56
-
57
- #: wp-to-twitter-manager.php:155
58
- msgid "WP to Twitter Options Updated"
59
- msgstr ""
60
-
61
- #: wp-to-twitter-manager.php:178
62
- msgid ""
63
- "WP to Twitter is in staging mode. Tweets will be reported as if successfully "
64
- "sent to Twitter but will not be sent."
65
- msgstr ""
66
-
67
- #: wp-to-twitter-manager.php:186
68
- msgid "WP to Twitter Options"
69
- msgstr ""
70
-
71
- #: wp-to-twitter-manager.php:212
72
- msgid "Upgrade Now!"
73
- msgstr ""
74
-
75
- #: wp-to-twitter-manager.php:218
76
- msgid ""
77
- "<strong>What can WP Tweets PRO do for you?</strong> It takes the great "
78
- "Tweeting abilities from WP to Twitter and puts them in high gear: publish to "
79
- "unique Twitter accounts for every site author; schedule up to 3 re-posts of "
80
- "Tweets at an interval of your choice; and, with a delay between publishing "
81
- "and Tweeting, verify your tweets before you share them with your followers."
82
- msgstr ""
83
-
84
- #: wp-to-twitter-manager.php:222
85
- msgid "Upgrade to <strong>WP Tweets PRO</strong>!"
86
- msgstr ""
87
-
88
- #: wp-to-twitter-manager.php:225
89
- msgid "What does WP Tweets PRO do?"
90
- msgstr ""
91
-
92
- #: wp-to-twitter-manager.php:228
93
- msgid ""
94
- "WP Tweets PRO is packed with features to help you increase engagement with "
95
- "your Twitter followers. Upload images, support for Twitter Cards, and "
96
- "automated re-posting of your Tweets are just a few of the features available "
97
- "in the premium add-on to WP to Twitter."
98
- msgstr ""
99
-
100
- #: wp-to-twitter-manager.php:231
101
- msgid "Guy Kawasaki recommends WP to Twitter"
102
- msgstr ""
103
-
104
- #: wp-to-twitter-manager.php:237
105
- msgid "Buy WP Tweets PRO today!"
106
- msgstr ""
107
-
108
- #: wp-to-twitter-manager.php:251
109
- msgid "Status Update Templates"
110
- msgstr ""
111
-
112
- #: wp-to-twitter-manager.php:271 wp-to-twitter-manager.php:364
113
- msgid "Links"
114
- msgstr ""
115
-
116
- #: wp-to-twitter-manager.php:299
117
- msgid ""
118
- "These categories are currently <strong>excluded</strong> by the deprecated "
119
- "WP to Twitter category filters."
120
- msgstr ""
121
-
122
- #: wp-to-twitter-manager.php:301
123
- msgid ""
124
- "These categories are currently <strong>allowed</strong> by the deprecated WP "
125
- "to Twitter category filters."
126
- msgstr ""
127
-
128
- #: wp-to-twitter-manager.php:312
129
- msgid ""
130
- "<a href=\"%s\">Upgrade to WP Tweets PRO</a> to filter posts in all custom "
131
- "post types on any taxonomy."
132
- msgstr ""
133
-
134
- #: wp-to-twitter-manager.php:314
135
- msgid ""
136
- "Updating the WP Tweets PRO taxonomy filters will overwrite your old category "
137
- "filters."
138
- msgstr ""
139
-
140
- #: wp-to-twitter-manager.php:326
141
- msgid "Update when %1$s %2$s is published"
142
- msgstr ""
143
-
144
- #: wp-to-twitter-manager.php:328
145
- msgid "Template for new %1$s updates"
146
- msgstr ""
147
-
148
- #: wp-to-twitter-manager.php:344
149
- msgid "Update when %1$s %2$s is edited"
150
- msgstr ""
151
-
152
- #: wp-to-twitter-manager.php:345
153
- msgid "Template for %1$s editing updates"
154
- msgstr ""
155
-
156
- #: wp-to-twitter-manager.php:369
157
- msgid "Update Twitter when you post a Blogroll link"
158
- msgstr ""
159
-
160
- #: wp-to-twitter-manager.php:371
161
- msgid "Text for new link updates:"
162
- msgstr ""
163
-
164
- #: wp-to-twitter-manager.php:376
165
- msgid ""
166
- "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and "
167
- "<code>#description#</code>."
168
- msgstr ""
169
-
170
- #: wp-to-twitter-manager.php:386
171
- msgid "Save WP to Twitter Options"
172
- msgstr ""
173
-
174
- #: wp-to-twitter-manager.php:396
175
- msgid "Tweet Template Tags"
176
- msgstr ""
177
-
178
- #: wp-to-twitter-manager.php:400
179
- msgid "<code>#title#</code>: the title of your blog post"
180
- msgstr ""
181
-
182
- #: wp-to-twitter-manager.php:401
183
- msgid "<code>#blog#</code>: the title of your blog"
184
- msgstr ""
185
-
186
- #: wp-to-twitter-manager.php:402
187
- msgid "<code>#post#</code>: a short excerpt of the post content"
188
- msgstr ""
189
-
190
- #: wp-to-twitter-manager.php:403
191
- msgid "<code>#category#</code>: the first selected category for the post"
192
- msgstr ""
193
-
194
- #: wp-to-twitter-manager.php:404
195
- msgid ""
196
- "<code>#cat_desc#</code>: custom value from the category description field"
197
- msgstr ""
198
-
199
- #: wp-to-twitter-manager.php:405
200
- msgid "<code>#date#</code>: the post date"
201
- msgstr ""
202
-
203
- #: wp-to-twitter-manager.php:406
204
- msgid "<code>#modified#</code>: the post modified date"
205
- msgstr ""
206
-
207
- #: wp-to-twitter-manager.php:407
208
- msgid "<code>#url#</code>: the post URL"
209
- msgstr ""
210
-
211
- #: wp-to-twitter-manager.php:408
212
- msgid "<code>#longurl#</code>: the unshortened post URL"
213
- msgstr ""
214
-
215
- #: wp-to-twitter-manager.php:409
216
- msgid ""
217
- "<code>#author#</code>: the post author (@reference if available, otherwise "
218
- "display name)"
219
- msgstr ""
220
-
221
- #: wp-to-twitter-manager.php:410
222
- msgid "<code>#displayname#</code>: post author's display name"
223
- msgstr ""
224
-
225
- #: wp-to-twitter-manager.php:411
226
- msgid ""
227
- "<code>#account#</code>: the twitter @reference for the account (or the "
228
- "author, if author settings are enabled and set.)"
229
- msgstr ""
230
-
231
- #: wp-to-twitter-manager.php:412
232
- msgid ""
233
- "<code>#@#</code>: the twitter @reference for the author or blank, if not set"
234
- msgstr ""
235
-
236
- #: wp-to-twitter-manager.php:413
237
- msgid ""
238
- "<code>#tags#</code>: your tags modified into hashtags. See options in the "
239
- "Advanced Settings section, below."
240
- msgstr ""
241
-
242
- #: wp-to-twitter-manager.php:415
243
- msgid ""
244
- "<code>#reference#</code>: Used only in co-tweeting. @reference to main "
245
- "account when posted to author account, @reference to author account in post "
246
- "to main account."
247
- msgstr ""
248
-
249
- #: wp-to-twitter-manager.php:420
250
- msgid ""
251
- "Create custom shortcodes and access WordPress custom fields by using square "
252
- "brackets and the name of your custom field."
253
- msgstr ""
254
-
255
- #: wp-to-twitter-manager.php:424
256
- msgid "<strong>Example:</strong> <code>[[custom_field]]</code>"
257
- msgstr ""
258
-
259
- #: wp-to-twitter-manager.php:439 wpt-functions.php:111
260
- msgid "Advanced Settings"
261
- msgstr ""
262
-
263
- #: wp-to-twitter-manager.php:450
264
- msgid "Tags"
265
- msgstr ""
266
-
267
- #: wp-to-twitter-manager.php:454
268
- msgid "Strip nonalphanumeric characters from tags"
269
- msgstr ""
270
-
271
- #: wp-to-twitter-manager.php:461
272
- msgid "Use tag slug as hashtag value"
273
- msgstr ""
274
-
275
- #: wp-to-twitter-manager.php:466
276
- msgid "Spaces in tags replaced with:"
277
- msgstr ""
278
-
279
- #: wp-to-twitter-manager.php:474
280
- msgid "Maximum number of tags to include:"
281
- msgstr ""
282
-
283
- #: wp-to-twitter-manager.php:479
284
- msgid "Maximum length in characters for included tags:"
285
- msgstr ""
286
-
287
- #: wp-to-twitter-manager.php:485
288
- msgid "Template Tag Settings"
289
- msgstr ""
290
-
291
- #: wp-to-twitter-manager.php:488
292
- msgid "Length of post excerpt (in characters):"
293
- msgstr ""
294
-
295
- #: wp-to-twitter-manager.php:494
296
- msgid "WP to Twitter Date Formatting:"
297
- msgstr ""
298
-
299
- #: wp-to-twitter-manager.php:506
300
- msgid "Date Formatting"
301
- msgstr ""
302
-
303
- #: wp-to-twitter-manager.php:511
304
- msgid "Custom text before all Tweets:"
305
- msgstr ""
306
-
307
- #: wp-to-twitter-manager.php:518
308
- msgid "Custom text after all Tweets:"
309
- msgstr ""
310
-
311
- #: wp-to-twitter-manager.php:525
312
- msgid "Custom field for an alternate URL to be shortened and Tweeted:"
313
- msgstr ""
314
-
315
- #: wp-to-twitter-manager.php:562
316
- msgid "Template tag priority order"
317
- msgstr ""
318
-
319
- #: wp-to-twitter-manager.php:563
320
- msgid ""
321
- "The order in which items will be abbreviated or removed from your Tweet if "
322
- "the Tweet is too long to send to Twitter."
323
- msgstr ""
324
-
325
- #: wp-to-twitter-manager.php:563
326
- msgid "Tags with lower values will be modified first."
327
- msgstr ""
328
-
329
- #: wp-to-twitter-manager.php:569
330
- msgid "Special Cases"
331
- msgstr ""
332
-
333
- #: wp-to-twitter-manager.php:574
334
- msgid "Do not post Tweets by default"
335
- msgstr ""
336
-
337
- #: wp-to-twitter-manager.php:578
338
- msgid "Do not post Tweets by default (editing only)"
339
- msgstr ""
340
-
341
- #: wp-to-twitter-manager.php:582
342
- msgid "Allow status updates from Quick Edit"
343
- msgstr ""
344
-
345
- #: wp-to-twitter-manager.php:586
346
- msgid "Enable Rate Limiting"
347
- msgstr ""
348
-
349
- #: wp-to-twitter-manager.php:593
350
- msgid "Default Rate Limit per category per hour"
351
- msgstr ""
352
-
353
- #: wp-to-twitter-manager.php:600
354
- msgid "Google Analytics Settings"
355
- msgstr ""
356
-
357
- #: wp-to-twitter-manager.php:606
358
- msgid "Use a Static Identifier"
359
- msgstr ""
360
-
361
- #: wp-to-twitter-manager.php:608
362
- msgid "Static Campaign identifier"
363
- msgstr ""
364
-
365
- #: wp-to-twitter-manager.php:618
366
- msgid "Use a dynamic identifier"
367
- msgstr ""
368
-
369
- #: wp-to-twitter-manager.php:620
370
- msgid "What dynamic identifier would you like to use?"
371
- msgstr ""
372
-
373
- #: wp-to-twitter-manager.php:623
374
- msgid "Category"
375
- msgstr ""
376
-
377
- #: wp-to-twitter-manager.php:625
378
- msgid "Post ID"
379
- msgstr ""
380
-
381
- #: wp-to-twitter-manager.php:627
382
- msgid "Post Title"
383
- msgstr ""
384
-
385
- #: wp-to-twitter-manager.php:629
386
- msgid "Author"
387
- msgstr ""
388
-
389
- #: wp-to-twitter-manager.php:635
390
- msgid "No Analytics"
391
- msgstr ""
392
-
393
- #: wp-to-twitter-manager.php:639
394
- msgid "Author Settings"
395
- msgstr ""
396
-
397
- #: wp-to-twitter-manager.php:644
398
- msgid "Authors have individual Twitter accounts"
399
- msgstr ""
400
-
401
- #: wp-to-twitter-manager.php:650
402
- msgid "Permissions"
403
- msgstr ""
404
-
405
- #: wp-to-twitter-manager.php:655
406
- msgid "Can send Tweets"
407
- msgstr ""
408
-
409
- #: wp-to-twitter-manager.php:656
410
- msgid "See Custom Tweet Field when creating a Post"
411
- msgstr ""
412
-
413
- #: wp-to-twitter-manager.php:657
414
- msgid "Toggle the Tweet/Don't Tweet option"
415
- msgstr ""
416
-
417
- #: wp-to-twitter-manager.php:658
418
- msgid "Can see Tweet Now button"
419
- msgstr ""
420
-
421
- #: wp-to-twitter-manager.php:659
422
- msgid "Add Twitter Information to User Profile"
423
- msgstr ""
424
-
425
- #: wp-to-twitter-manager.php:685
426
- msgid "Error Messages and Debugging"
427
- msgstr ""
428
-
429
- #: wp-to-twitter-manager.php:690
430
- msgid "Disable Twitter Feed Stylesheet"
431
- msgstr ""
432
-
433
- #: wp-to-twitter-manager.php:694
434
- msgid "Get Debugging Data for OAuth Connection"
435
- msgstr ""
436
-
437
- #: wp-to-twitter-manager.php:698
438
- msgid "I made a donation, so stop whinging at me, please."
439
- msgstr ""
440
-
441
- #: wp-to-twitter-manager.php:706
442
- msgid "Save Advanced WP to Twitter Options"
443
- msgstr ""
444
-
445
- #: wp-to-twitter-manager.php:717
446
- msgid "Get Plug-in Support"
447
- msgstr ""
448
-
449
- #: wp-to-twitter-manager.php:725
450
- msgid ""
451
- "Check whether WP to Twitter is setup correctly for Twitter and your URL "
452
- "Shortener. The test sends a status update to Twitter and shortens a URL "
453
- "using your chosen shortener."
454
- msgstr ""
455
-
456
- #: wp-to-twitter-manager.php:733
457
- msgid "Test WP to Twitter"
458
- msgstr ""
459
-
460
- #: wp-to-twitter-manager.php:753
461
- msgid "Support WP to Twitter"
462
- msgstr ""
463
-
464
- #: wp-to-twitter-manager.php:756
465
- msgid "WP to Twitter Support"
466
- msgstr ""
467
-
468
- #: wp-to-twitter-manager.php:777 wp-to-twitter.php:1342 wp-to-twitter.php:1346
469
- msgid "Get Support"
470
- msgstr ""
471
-
472
- #: wp-to-twitter-manager.php:778
473
- msgid "Read the Manual"
474
- msgstr ""
475
-
476
- #: wp-to-twitter-manager.php:780
477
- msgid ""
478
- "<a href=\"https://www.joedolson.com/wp-tweets-pro/\">Get WP Tweets Pro</a> "
479
- "or <a href=\"http://www.joedolson.com/donate.php\">Make a donation</a> today!"
480
- msgstr ""
481
-
482
- #: wp-to-twitter-manager.php:803
483
- msgid "Twitter Time Check"
484
- msgstr ""
485
-
486
- #: wp-to-twitter-manager.php:814
487
- msgid "Monitor Rate Limiting"
488
- msgstr ""
489
-
490
- #: wp-to-twitter-manager.php:852
491
- msgid ""
492
- "Your time stamps are more than 5 minutes apart. Your server could lose its "
493
- "connection with Twitter."
494
- msgstr ""
495
-
496
- #: wp-to-twitter-manager.php:854
497
- msgid "Your time stamp matches the Twitter server time"
498
- msgstr ""
499
-
500
- #: wp-to-twitter-manager.php:858
501
- msgid "WP to Twitter could not contact Twitter's remote server."
502
- msgstr ""
503
-
504
- #: wp-to-twitter-manager.php:861
505
- msgid "Your server timezone:"
506
- msgstr ""
507
-
508
- #: wp-to-twitter-manager.php:871
509
- msgid "Your server time:"
510
- msgstr ""
511
-
512
- #: wp-to-twitter-manager.php:872
513
- msgid "Twitter's server time: "
514
- msgstr ""
515
-
516
- #: wp-to-twitter-manager.php:881
517
- msgid "Test again"
518
- msgstr ""
519
-
520
- #: wp-to-twitter-oauth.php:121
521
- msgid "WP to Twitter was unable to establish a connection to Twitter."
522
- msgstr ""
523
-
524
- #: wp-to-twitter-oauth.php:194
525
- msgid ""
526
- "Twitter requires authentication by OAuth. You will need to <a "
527
- "href='%s'>update your settings</a> to complete installation of WP to Twitter."
528
- msgstr ""
529
-
530
- #: wp-to-twitter-oauth.php:203 wp-to-twitter-oauth.php:205
531
- msgid "Connect to Twitter"
532
- msgstr ""
533
-
534
- #: wp-to-twitter-oauth.php:208
535
- msgid "WP to Twitter Set-up"
536
- msgstr ""
537
-
538
- #: wp-to-twitter-oauth.php:210
539
- msgid "1. Register this site as an application on "
540
- msgstr ""
541
-
542
- #: wp-to-twitter-oauth.php:210
543
- msgid "Twitter's application registration page"
544
- msgstr ""
545
-
546
- #: wp-to-twitter-oauth.php:212
547
- msgid ""
548
- "If you're not currently logged in to Twitter, log-in to the account you want "
549
- "associated with this site"
550
- msgstr ""
551
-
552
- #: wp-to-twitter-oauth.php:213
553
- msgid "Your application name cannot include the word \"Twitter.\""
554
- msgstr ""
555
-
556
- #: wp-to-twitter-oauth.php:214
557
- msgid "Your Application Description can be anything."
558
- msgstr ""
559
-
560
- #: wp-to-twitter-oauth.php:215
561
- msgid "The WebSite and Callback URL should be "
562
- msgstr ""
563
-
564
- #: wp-to-twitter-oauth.php:217
565
- msgid "Agree to the Twitter Developer Agreement and continue."
566
- msgstr ""
567
-
568
- #: wp-to-twitter-oauth.php:218
569
- msgid "2. Switch to the \"Permissions\" tab in Twitter apps"
570
- msgstr ""
571
-
572
- #: wp-to-twitter-oauth.php:220
573
- msgid "Select \"Read and Write\" for the Application Type"
574
- msgstr ""
575
-
576
- #: wp-to-twitter-oauth.php:221
577
- msgid "Update the application settings"
578
- msgstr ""
579
-
580
- #: wp-to-twitter-oauth.php:223
581
- msgid ""
582
- "3. Switch to the Keys and Access Tokens tab and regenerate your consumer key "
583
- "and secret, then create your access token."
584
- msgstr ""
585
-
586
- #: wp-to-twitter-oauth.php:225
587
- msgid ""
588
- "Copy your API key and API secret from the \"Application Settings\" section."
589
- msgstr ""
590
-
591
- #: wp-to-twitter-oauth.php:226
592
- msgid ""
593
- "Copy your Access token and Access token secret from the \"Your Access Token"
594
- "\" section."
595
- msgstr ""
596
-
597
- #: wp-to-twitter-oauth.php:232
598
- msgid "API Key"
599
- msgstr ""
600
-
601
- #: wp-to-twitter-oauth.php:236
602
- msgid "API Secret"
603
- msgstr ""
604
-
605
- #: wp-to-twitter-oauth.php:240
606
- msgid ""
607
- "4. Copy and paste your Access Token and Access Token Secret into the fields "
608
- "below"
609
- msgstr ""
610
-
611
- #: wp-to-twitter-oauth.php:241
612
- msgid ""
613
- "If the Access Level for your Access Token is not \"<em>Read and write</em>"
614
- "\", you must return to step 2 and generate a new Access Token."
615
- msgstr ""
616
-
617
- #: wp-to-twitter-oauth.php:244
618
- msgid "Access Token"
619
- msgstr ""
620
-
621
- #: wp-to-twitter-oauth.php:248
622
- msgid "Access Token Secret"
623
- msgstr ""
624
-
625
- #: wp-to-twitter-oauth.php:267 wp-to-twitter-oauth.php:271
626
- msgid "Disconnect your WordPress and Twitter Account"
627
- msgstr ""
628
-
629
- #: wp-to-twitter-oauth.php:275
630
- msgid "Disconnect from Twitter"
631
- msgstr ""
632
-
633
- #: wp-to-twitter-oauth.php:281
634
- msgid "Twitter Username "
635
- msgstr ""
636
-
637
- #: wp-to-twitter-oauth.php:282
638
- msgid "API Key "
639
- msgstr ""
640
-
641
- #: wp-to-twitter-oauth.php:283
642
- msgid "API Secret "
643
- msgstr ""
644
-
645
- #: wp-to-twitter-oauth.php:284
646
- msgid "Access Token "
647
- msgstr ""
648
-
649
- #: wp-to-twitter-oauth.php:285
650
- msgid "Access Token Secret "
651
- msgstr ""
652
-
653
- #: wp-to-twitter-shorteners.php:167
654
- msgid "Su.pr query returned invalid data."
655
- msgstr ""
656
-
657
- #: wp-to-twitter-shorteners.php:333
658
- msgid ""
659
- "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account "
660
- "Settings"
661
- msgstr ""
662
-
663
- #: wp-to-twitter-shorteners.php:340
664
- msgid "Your Su.pr account details"
665
- msgstr ""
666
-
667
- #: wp-to-twitter-shorteners.php:340
668
- msgid "(optional)"
669
- msgstr ""
670
-
671
- #: wp-to-twitter-shorteners.php:348
672
- msgid "Your Su.pr Username:"
673
- msgstr ""
674
-
675
- #: wp-to-twitter-shorteners.php:355
676
- msgid ""
677
- "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
678
- msgstr ""
679
-
680
- #: wp-to-twitter-shorteners.php:366
681
- msgid "Save Su.pr API Key"
682
- msgstr ""
683
-
684
- #: wp-to-twitter-shorteners.php:367
685
- msgid "Clear Su.pr API Key"
686
- msgstr ""
687
-
688
- #: wp-to-twitter-shorteners.php:369
689
- msgid ""
690
- "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here!"
691
- "</a> You'll need an API key in order to associate the URLs you create with "
692
- "your Su.pr account."
693
- msgstr ""
694
-
695
- #: wp-to-twitter-shorteners.php:377
696
- msgid "Your Bit.ly account details"
697
- msgstr ""
698
-
699
- #: wp-to-twitter-shorteners.php:384
700
- msgid "Your Bit.ly username:"
701
- msgstr ""
702
-
703
- #: wp-to-twitter-shorteners.php:391
704
- msgid ""
705
- "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
706
- msgstr ""
707
-
708
- #: wp-to-twitter-shorteners.php:397
709
- msgid "View your Bit.ly username and API key"
710
- msgstr ""
711
-
712
- #: wp-to-twitter-shorteners.php:406
713
- msgid "Save Bit.ly API Key"
714
- msgstr ""
715
-
716
- #: wp-to-twitter-shorteners.php:406
717
- msgid "Clear Bit.ly API Key"
718
- msgstr ""
719
-
720
- #: wp-to-twitter-shorteners.php:414
721
- msgid "Your YOURLS account details"
722
- msgstr ""
723
-
724
- #: wp-to-twitter-shorteners.php:421
725
- msgid "Path to your YOURLS config file (Local installations)"
726
- msgstr ""
727
-
728
- #: wp-to-twitter-shorteners.php:424 wp-to-twitter-shorteners.php:432
729
- msgid "Example:"
730
- msgstr ""
731
-
732
- #: wp-to-twitter-shorteners.php:429
733
- msgid "URI to the YOURLS API (Remote installations)"
734
- msgstr ""
735
-
736
- #: wp-to-twitter-shorteners.php:437
737
- msgid "YOURLS signature token:"
738
- msgstr ""
739
-
740
- #: wp-to-twitter-shorteners.php:443
741
- msgid ""
742
- "Your YOURLS username and password are saved. If you add a signature token, "
743
- "that will be used for API calls and your username and password will be "
744
- "deleted from the database."
745
- msgstr ""
746
-
747
- #: wp-to-twitter-shorteners.php:450
748
- msgid "Post ID for YOURLS url slug."
749
- msgstr ""
750
-
751
- #: wp-to-twitter-shorteners.php:454
752
- msgid "Custom keyword for YOURLS url slug."
753
- msgstr ""
754
-
755
- #: wp-to-twitter-shorteners.php:458
756
- msgid "Default: sequential URL numbering."
757
- msgstr ""
758
-
759
- #: wp-to-twitter-shorteners.php:466
760
- msgid "Save YOURLS settings"
761
- msgstr ""
762
-
763
- #: wp-to-twitter-shorteners.php:466
764
- msgid "Clear YOURLS settings"
765
- msgstr ""
766
-
767
- #: wp-to-twitter-shorteners.php:474
768
- msgid "Your jotURL account details"
769
- msgstr ""
770
-
771
- #: wp-to-twitter-shorteners.php:481
772
- msgid ""
773
- "Your jotURL public <abbr title='application programming interface'>API</"
774
- "abbr> key:"
775
- msgstr ""
776
-
777
- #: wp-to-twitter-shorteners.php:488
778
- msgid ""
779
- "Your jotURL private <abbr title='application programming interface'>API</"
780
- "abbr> key:"
781
- msgstr ""
782
-
783
- #: wp-to-twitter-shorteners.php:495
784
- msgid "Parameters to add to the long URL (before shortening):"
785
- msgstr ""
786
-
787
- #: wp-to-twitter-shorteners.php:503
788
- msgid "Parameters to add to the short URL (after shortening):"
789
- msgstr ""
790
-
791
- #: wp-to-twitter-shorteners.php:510
792
- msgid "View your jotURL public and private API key"
793
- msgstr ""
794
-
795
- #: wp-to-twitter-shorteners.php:517
796
- msgid "Save jotURL settings"
797
- msgstr ""
798
-
799
- #: wp-to-twitter-shorteners.php:518
800
- msgid "Clear jotURL settings"
801
- msgstr ""
802
-
803
- #: wp-to-twitter-shorteners.php:524
804
- msgid "Your shortener does not require any account settings."
805
- msgstr ""
806
-
807
- #: wp-to-twitter-shorteners.php:540
808
- msgid "YOURLS signature token updated."
809
- msgstr ""
810
-
811
- #: wp-to-twitter-shorteners.php:546
812
- msgid "YOURLS local server path added. "
813
- msgstr ""
814
-
815
- #: wp-to-twitter-shorteners.php:548
816
- msgid "The path to your YOURLS installation is not correct. "
817
- msgstr ""
818
-
819
- #: wp-to-twitter-shorteners.php:554
820
- msgid "YOURLS will use Post ID for short URL slug."
821
- msgstr ""
822
-
823
- #: wp-to-twitter-shorteners.php:556
824
- msgid "YOURLS will use your custom keyword for short URL slug."
825
- msgstr ""
826
-
827
- #: wp-to-twitter-shorteners.php:566
828
- msgid "YOURLS data cleared."
829
- msgstr ""
830
-
831
- #: wp-to-twitter-shorteners.php:574
832
- msgid "Su.pr API Key and Username Updated"
833
- msgstr ""
834
-
835
- #: wp-to-twitter-shorteners.php:578
836
- msgid ""
837
- "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will "
838
- "no longer be associated with your account. "
839
- msgstr ""
840
-
841
- #: wp-to-twitter-shorteners.php:580
842
- msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
843
- msgstr ""
844
-
845
- #: wp-to-twitter-shorteners.php:586
846
- msgid "Bit.ly API Key Updated."
847
- msgstr ""
848
-
849
- #: wp-to-twitter-shorteners.php:589
850
- msgid ""
851
- "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
852
- msgstr ""
853
-
854
- #: wp-to-twitter-shorteners.php:591
855
- msgid ""
856
- "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</"
857
- "a>! An API key is required to use the Bit.ly URL shortening service."
858
- msgstr ""
859
-
860
- #: wp-to-twitter-shorteners.php:595
861
- msgid " Bit.ly User Login Updated."
862
- msgstr ""
863
-
864
- #: wp-to-twitter-shorteners.php:598
865
- msgid ""
866
- "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing "
867
- "your username. "
868
- msgstr ""
869
-
870
- #: wp-to-twitter-shorteners.php:600
871
- msgid ""
872
- "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
873
- msgstr ""
874
-
875
- #: wp-to-twitter-shorteners.php:606
876
- msgid "jotURL private API Key Updated. "
877
- msgstr ""
878
-
879
- #: wp-to-twitter-shorteners.php:609
880
- msgid ""
881
- "jotURL private API Key deleted. You cannot use the jotURL API without a "
882
- "private API key. "
883
- msgstr ""
884
-
885
- #: wp-to-twitter-shorteners.php:611
886
- msgid ""
887
- "jotURL private API Key not added - <a href='https://www.joturl.com/reserved/"
888
- "api.html'>get one here</a>! A private API key is required to use the jotURL "
889
- "URL shortening service. "
890
- msgstr ""
891
-
892
- #: wp-to-twitter-shorteners.php:615
893
- msgid "jotURL public API Key Updated. "
894
- msgstr ""
895
-
896
- #: wp-to-twitter-shorteners.php:618
897
- msgid ""
898
- "jotURL public API Key deleted. You cannot use the jotURL API without "
899
- "providing your public API Key. "
900
- msgstr ""
901
-
902
- #: wp-to-twitter-shorteners.php:620
903
- msgid ""
904
- "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/"
905
- "api.html'>get one here</a>! "
906
- msgstr ""
907
-
908
- #: wp-to-twitter-shorteners.php:628
909
- msgid "Long URL parameters added. "
910
- msgstr ""
911
-
912
- #: wp-to-twitter-shorteners.php:631
913
- msgid "Long URL parameters deleted. "
914
- msgstr ""
915
-
916
- #: wp-to-twitter-shorteners.php:639
917
- msgid "Short URL parameters added. "
918
- msgstr ""
919
-
920
- #: wp-to-twitter-shorteners.php:642
921
- msgid "Short URL parameters deleted. "
922
- msgstr ""
923
-
924
- #: wp-to-twitter-shorteners.php:656
925
- msgid ""
926
- "You must add your Bit.ly login and API key in order to shorten URLs with Bit."
927
- "ly."
928
- msgstr ""
929
-
930
- #: wp-to-twitter-shorteners.php:660
931
- msgid ""
932
- "You must add your jotURL public and private API key in order to shorten URLs "
933
- "with jotURL."
934
- msgstr ""
935
-
936
- #: wp-to-twitter-shorteners.php:664
937
- msgid ""
938
- "You must add your YOURLS remote URL, login, and password in order to shorten "
939
- "URLs with a remote installation of YOURLS."
940
- msgstr ""
941
-
942
- #: wp-to-twitter-shorteners.php:668
943
- msgid ""
944
- "You must add your YOURLS server path in order to shorten URLs with a remote "
945
- "installation of YOURLS."
946
- msgstr ""
947
-
948
- #: wp-to-twitter-shorteners.php:680
949
- msgid "Choose a short URL service (account settings below)"
950
- msgstr ""
951
-
952
- #: wp-to-twitter-shorteners.php:683
953
- msgid "Don't shorten URLs."
954
- msgstr ""
955
-
956
- #: wp-to-twitter-shorteners.php:688
957
- msgid "YOURLS (on this server)"
958
- msgstr ""
959
-
960
- #: wp-to-twitter-shorteners.php:690
961
- msgid "YOURLS (on a remote server)"
962
- msgstr ""
963
-
964
- #: wp-to-twitter-shorteners.php:695
965
- msgid "Use Twitter Friendly Links."
966
- msgstr ""
967
-
968
- #: wp-to-twitter.php:422
969
- msgid "This account is not authorized to post to Twitter."
970
- msgstr ""
971
-
972
- #: wp-to-twitter.php:432
973
- msgid "This tweet is identical to another Tweet recently sent to this account."
974
- msgstr ""
975
-
976
- #: wp-to-twitter.php:432
977
- msgid "Twitter requires all Tweets to be unique."
978
- msgstr ""
979
-
980
- #: wp-to-twitter.php:439
981
- msgid "This tweet was blank and could not be sent to Twitter."
982
- msgstr ""
983
-
984
- #: wp-to-twitter.php:481
985
- msgid "In Staging Mode:"
986
- msgstr ""
987
-
988
- #: wp-to-twitter.php:491
989
- msgid ""
990
- "Your Twitter application does not have read and write permissions. Go to <a "
991
- "href=\"%s\">your Twitter apps</a> to modify these settings."
992
- msgstr ""
993
-
994
- #: wp-to-twitter.php:498
995
- msgid ""
996
- "100 Continue: Twitter received the header of your submission, but your "
997
- "server did not follow through by sending the body of the data."
998
- msgstr ""
999
-
1000
- #: wp-to-twitter.php:502
1001
- msgid "200 OK: Success!"
1002
- msgstr ""
1003
-
1004
- #: wp-to-twitter.php:506
1005
- msgid "304 Not Modified: There was no new data to return"
1006
- msgstr ""
1007
-
1008
- #: wp-to-twitter.php:509
1009
- msgid ""
1010
- "400 Bad Request: The request was invalid. This is the status code returned "
1011
- "during rate limiting."
1012
- msgstr ""
1013
-
1014
- #: wp-to-twitter.php:512
1015
- msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
1016
- msgstr ""
1017
-
1018
- #: wp-to-twitter.php:516
1019
- msgid ""
1020
- "403 Forbidden: The request is understood, but has been refused by Twitter. "
1021
- "Possible reasons: too many Tweets, same Tweet submitted twice, Tweet longer "
1022
- "than 140 characters."
1023
- msgstr ""
1024
-
1025
- #: wp-to-twitter.php:519
1026
- msgid ""
1027
- "404 Not Found: The URI requested is invalid or the resource requested does "
1028
- "not exist."
1029
- msgstr ""
1030
-
1031
- #: wp-to-twitter.php:522
1032
- msgid "406 Not Acceptable: Invalid Format Specified."
1033
- msgstr ""
1034
-
1035
- #: wp-to-twitter.php:525
1036
- msgid "422 Unprocessable Entity: The image uploaded could not be processed.."
1037
- msgstr ""
1038
-
1039
- #: wp-to-twitter.php:528
1040
- msgid "429 Too Many Requests: You have exceeded your rate limits."
1041
- msgstr ""
1042
-
1043
- #: wp-to-twitter.php:531
1044
- msgid "500 Internal Server Error: Something is broken at Twitter."
1045
- msgstr ""
1046
-
1047
- #: wp-to-twitter.php:534
1048
- msgid "502 Bad Gateway: Twitter is down or being upgraded."
1049
- msgstr ""
1050
-
1051
- #: wp-to-twitter.php:537
1052
- msgid ""
1053
- "503 Service Unavailable: The Twitter servers are up, but overloaded with "
1054
- "requests - Please try again later."
1055
- msgstr ""
1056
-
1057
- #: wp-to-twitter.php:540
1058
- msgid ""
1059
- "504 Gateway Timeout: The Twitter servers are up, but the request couldn't be "
1060
- "serviced due to some failure within our stack. Try again later."
1061
- msgstr ""
1062
-
1063
- #: wp-to-twitter.php:578 wp-to-twitter.php:1168
1064
- msgid "Tweet sent successfully."
1065
- msgstr ""
1066
-
1067
- #: wp-to-twitter.php:583
1068
- msgid "No Twitter OAuth connection found."
1069
- msgstr ""
1070
-
1071
- #: wp-to-twitter.php:1181
1072
- msgid "Tweeting %s edits is disabled."
1073
- msgstr ""
1074
-
1075
- #: wp-to-twitter.php:1188
1076
- msgid "Tweet Now"
1077
- msgstr ""
1078
-
1079
- #: wp-to-twitter.php:1191
1080
- msgid "Schedule"
1081
- msgstr ""
1082
-
1083
- #: wp-to-twitter.php:1194
1084
- msgid "Set Date/Time"
1085
- msgstr ""
1086
-
1087
- #: wp-to-twitter.php:1197
1088
- msgid "Date"
1089
- msgstr ""
1090
-
1091
- #: wp-to-twitter.php:1202
1092
- msgid "Time"
1093
- msgstr ""
1094
-
1095
- #: wp-to-twitter.php:1220
1096
- msgid "Custom Twitter Post"
1097
- msgstr ""
1098
-
1099
- #: wp-to-twitter.php:1226
1100
- msgid "Your prepended Tweet text; not part of your template."
1101
- msgstr ""
1102
-
1103
- #: wp-to-twitter.php:1229
1104
- msgid "Your appended Tweet text; not part of your template."
1105
- msgstr ""
1106
-
1107
- #: wp-to-twitter.php:1232
1108
- msgid "Your template:"
1109
- msgstr ""
1110
-
1111
- #: wp-to-twitter.php:1238
1112
- msgid "YOURLS Custom Keyword"
1113
- msgstr ""
1114
-
1115
- #: wp-to-twitter.php:1251
1116
- msgid "Don't Tweet post."
1117
- msgstr ""
1118
-
1119
- #: wp-to-twitter.php:1253
1120
- msgid "Tweet post."
1121
- msgstr ""
1122
-
1123
- #: wp-to-twitter.php:1273
1124
- msgid "Tweet to"
1125
- msgstr ""
1126
-
1127
- #: wp-to-twitter.php:1275
1128
- msgid "Options"
1129
- msgstr ""
1130
-
1131
- #: wp-to-twitter.php:1276
1132
- msgid "Notes"
1133
- msgstr ""
1134
-
1135
- #: wp-to-twitter.php:1290
1136
- msgid ""
1137
- "WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href=\"%s"
1138
- "\">Log in and download now!</a>"
1139
- msgstr ""
1140
-
1141
- #: wp-to-twitter.php:1292
1142
- msgid ""
1143
- "Upgrade to WP Tweets PRO to select Twitter accounts! <a href=\"%s\">Upgrade "
1144
- "now!</a>"
1145
- msgstr ""
1146
-
1147
- #: wp-to-twitter.php:1306
1148
- msgid ""
1149
- "Upgrade to WP Tweets PRO to configure options! <a href=\"%s\">Upgrade now!</"
1150
- "a>"
1151
- msgstr ""
1152
-
1153
- #: wp-to-twitter.php:1316
1154
- msgid ""
1155
- "Access to customizing WP to Twitter values is not allowed for your user role."
1156
- msgstr ""
1157
-
1158
- #: wp-to-twitter.php:1329
1159
- msgid ""
1160
- "Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 "
1161
- "characters. Template Tags: <code>#url#</code>, <code>#title#</code>, "
1162
- "<code>#post#</code>, <code>#category#</code>, <code>#date#</code>, "
1163
- "<code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, "
1164
- "<code>#tags#</code>, or <code>#blog#</code>, <code>#longurl#</code>."
1165
- msgstr ""
1166
-
1167
- #: wp-to-twitter.php:1343 wp-to-twitter.php:1718
1168
- msgid "Go Premium"
1169
- msgstr ""
1170
-
1171
- #: wp-to-twitter.php:1353
1172
- msgid "Your role does not have the ability to Post Tweets from this site."
1173
- msgstr ""
1174
-
1175
- #: wp-to-twitter.php:1374
1176
- msgid "View Tweet History"
1177
- msgstr ""
1178
-
1179
- #: wp-to-twitter.php:1377
1180
- msgid "Previous Tweets"
1181
- msgstr ""
1182
-
1183
- #: wp-to-twitter.php:1407
1184
- msgid "Failed Tweets"
1185
- msgstr ""
1186
-
1187
- #: wp-to-twitter.php:1413
1188
- msgid "Delete Tweet History"
1189
- msgstr ""
1190
-
1191
- #: wp-to-twitter.php:1500
1192
- msgid "You are not authorized to perform this action"
1193
- msgstr ""
1194
-
1195
- #: wp-to-twitter.php:1531
1196
- msgid "Characters left: "
1197
- msgstr ""
1198
-
1199
- #: wp-to-twitter.php:1626
1200
- msgid "WP Tweets User Settings"
1201
- msgstr ""
1202
-
1203
- #: wp-to-twitter.php:1632
1204
- msgid "Use My Twitter Username"
1205
- msgstr ""
1206
-
1207
- #: wp-to-twitter.php:1634
1208
- msgid "Tweet my posts with an @ reference to my username."
1209
- msgstr ""
1210
-
1211
- #: wp-to-twitter.php:1635
1212
- msgid ""
1213
- "Tweet my posts with an @ reference to both my username and to the main site "
1214
- "username."
1215
- msgstr ""
1216
-
1217
- #: wp-to-twitter.php:1640
1218
- msgid "Your Twitter Username"
1219
- msgstr ""
1220
-
1221
- #: wp-to-twitter.php:1643
1222
- msgid "Enter your own Twitter username."
1223
- msgstr ""
1224
-
1225
- #: wp-to-twitter.php:1648
1226
- msgid "Hide account name in Tweets"
1227
- msgstr ""
1228
-
1229
- #: wp-to-twitter.php:1652
1230
- msgid "Do not display my account in the #account# template tag."
1231
- msgstr ""
1232
-
1233
- #: wp-to-twitter.php:1716
1234
- msgid "WP to Twitter Settings"
1235
- msgstr ""
1236
-
1237
- #: wp-to-twitter.php:1750
1238
- msgid ""
1239
- "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href="
1240
- "\"%1$s\">changelog</a> before upgrading."
1241
- msgstr ""
1242
-
1243
- #: wp-to-twitter.php:1891
1244
- msgid ""
1245
- "I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a "
1246
- "href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with "
1247
- "WordPress! <a href='%s'>Dismiss</a>"
1248
- msgstr ""
1249
-
1250
- #: wpt-feed.php:184
1251
- msgid "Missing Twitter Feed Screen Name - Check Settings"
1252
- msgstr ""
1253
-
1254
- #: wpt-feed.php:225
1255
- msgid "Twitter error: %s"
1256
- msgstr ""
1257
-
1258
- #: wpt-feed.php:228
1259
- msgid "Twitter returned an invalid response. It is probably down."
1260
- msgstr ""
1261
-
1262
- #: wpt-functions.php:64
1263
- msgid ""
1264
- "<li class=\"error\"><strong>WP to Twitter was unable to contact your "
1265
- "selected URL shortening service.</strong></li>"
1266
- msgstr ""
1267
-
1268
- #: wpt-functions.php:68
1269
- msgid "No error message was returned."
1270
- msgstr ""
1271
-
1272
- #: wpt-functions.php:71
1273
- msgid ""
1274
- "<li><strong>WP to Twitter successfully contacted your selected URL "
1275
- "shortening service.</strong> The following link should point to your blog "
1276
- "homepage:"
1277
- msgstr ""
1278
-
1279
- #: wpt-functions.php:79
1280
- msgid ""
1281
- "<li><strong>WP to Twitter successfully submitted a status update to Twitter."
1282
- "</strong></li>"
1283
- msgstr ""
1284
-
1285
- #: wpt-functions.php:82
1286
- msgid ""
1287
- "<li class=\"error\"><strong>WP to Twitter failed to submit an update to "
1288
- "Twitter.</strong></li>"
1289
- msgstr ""
1290
-
1291
- #: wpt-functions.php:86
1292
- msgid "You have not connected WordPress to Twitter."
1293
- msgstr ""
1294
-
1295
- #: wpt-functions.php:90
1296
- msgid ""
1297
- "<li class=\"error\"><strong>Your server does not appear to support the "
1298
- "required methods for WP to Twitter to function.</strong> You can try it "
1299
- "anyway - these tests aren't perfect.</li>"
1300
- msgstr ""
1301
-
1302
- #: wpt-functions.php:94
1303
- msgid ""
1304
- "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
1305
- msgstr ""
1306
-
1307
- #: wpt-functions.php:106
1308
- msgid "Pro Settings"
1309
- msgstr ""
1310
-
1311
- #: wpt-functions.php:106
1312
- msgid "Get WP Tweets PRO"
1313
- msgstr ""
1314
-
1315
- #: wpt-functions.php:108
1316
- msgid "Twitter Connection"
1317
- msgstr ""
1318
-
1319
- #: wpt-functions.php:109
1320
- msgid "Basic Settings"
1321
- msgstr ""
1322
-
1323
- #: wpt-functions.php:110
1324
- msgid "URL Shortener"
1325
- msgstr ""
1326
-
1327
- #: wpt-functions.php:112
1328
- msgid "Get Help"
1329
- msgstr ""
1330
-
1331
- #: wpt-functions.php:139
1332
- msgid "No post associated with this Tweet"
1333
- msgstr ""
1334
-
1335
- #: wpt-functions.php:142
1336
- msgid "Last Tweet"
1337
- msgstr ""
1338
-
1339
- #: wpt-functions.php:156
1340
- msgid ""
1341
- "<p>The query to the URL shortener API failed, and your URL was not shrunk. "
1342
- "The full post URL was attached to your Tweet. Check with your URL shortening "
1343
- "provider to see if there are any known issues.</p>"
1344
- msgstr ""
1345
-
1346
- #: wpt-functions.php:163
1347
- msgid "Clear 'WP to Twitter' Error Messages"
1348
- msgstr ""
1349
-
1350
- #: wpt-functions.php:631
1351
- msgid ""
1352
- "Please read the FAQ and other Help documents before making a support request."
1353
- msgstr ""
1354
-
1355
- #: wpt-functions.php:633
1356
- msgid "Please supply a valid email where you can receive support responses."
1357
- msgstr ""
1358
-
1359
- #: wpt-functions.php:635
1360
- msgid "Please describe your problem. I'm not psychic."
1361
- msgstr ""
1362
-
1363
- #: wpt-functions.php:640
1364
- msgid ""
1365
- "Thank you for supporting WP to Twitter! I'll get back to you as soon as I "
1366
- "can. Please make sure you can receive email at <code>%s</code>."
1367
- msgstr ""
1368
-
1369
- #: wpt-functions.php:642
1370
- msgid ""
1371
- "Thanks for using WP to Twitter. Please ensure that you can receive email at "
1372
- "<code>%s</code>."
1373
- msgstr ""
1374
-
1375
- #: wpt-functions.php:645
1376
- msgid "Sorry! I couldn't send that message. Here's the text of your request:"
1377
- msgstr ""
1378
-
1379
- #: wpt-functions.php:645
1380
- msgid "<a href=\"%s\">Contact me here</a>, instead."
1381
- msgstr ""
1382
-
1383
- #: wpt-functions.php:662
1384
- msgid ""
1385
- "If you're having trouble with WP to Twitter, please try to answer these "
1386
- "questions in your message:"
1387
- msgstr ""
1388
-
1389
- #: wpt-functions.php:665
1390
- msgid "What were you doing when the problem occurred?"
1391
- msgstr ""
1392
-
1393
- #: wpt-functions.php:666
1394
- msgid "What did you expect to happen?"
1395
- msgstr ""
1396
-
1397
- #: wpt-functions.php:667
1398
- msgid "What happened instead?"
1399
- msgstr ""
1400
-
1401
- #: wpt-functions.php:670
1402
- msgid "Your Email"
1403
- msgstr ""
1404
-
1405
- #: wpt-functions.php:674
1406
- msgid ""
1407
- "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</"
1408
- "span>"
1409
- msgstr ""
1410
-
1411
- #: wpt-functions.php:677
1412
- msgid ""
1413
- "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
1414
- msgstr ""
1415
-
1416
- #: wpt-functions.php:680
1417
- msgid "Support Request:"
1418
- msgstr ""
1419
-
1420
- #: wpt-functions.php:683
1421
- msgid "Send Support Request"
1422
- msgstr ""
1423
-
1424
- #: wpt-functions.php:686
1425
- msgid ""
1426
- "The following additional information will be sent with your support request:"
1427
- msgstr ""
1428
-
1429
- #: wpt-rate-limiting.php:138 wpt-rate-limiting.php:151
1430
- msgid "Max Tweets per hour on this term"
1431
- msgstr ""
1432
-
1433
- #: wpt-rate-limiting.php:175
1434
- msgid "%s Tweet sent, %s allowed."
1435
- msgid_plural "%s Tweets sent, %s allowed."
1436
- msgstr[0] ""
1437
- msgstr[1] ""
1438
-
1439
- #: wpt-rate-limiting.php:183
1440
- msgid "No Tweets have been sent this hour."
1441
- msgstr ""
1442
-
1443
- #: wpt-widget.php:61
1444
- msgid "Error: "
1445
- msgstr ""
1446
-
1447
- #: wpt-widget.php:115
1448
- msgid "<a href=\"%3$s\">about %1$s ago</a> via %2$s"
1449
- msgstr ""
1450
-
1451
- #: wpt-widget.php:117
1452
- msgid "<a href=\"%2$s\">about %1$s ago</a>"
1453
- msgstr ""
1454
-
1455
- #: wpt-widget.php:173
1456
- msgid "Display a list of your latest tweets."
1457
- msgstr ""
1458
-
1459
- #: wpt-widget.php:181
1460
- msgid "WP to Twitter - Latest Tweets"
1461
- msgstr ""
1462
-
1463
- #: wpt-widget.php:240 wpt-widget.php:438
1464
- msgid "Title"
1465
- msgstr ""
1466
-
1467
- #: wpt-widget.php:248
1468
- msgid "Twitter Username"
1469
- msgstr ""
1470
-
1471
- #: wpt-widget.php:260
1472
- msgid "Hide Widget Header"
1473
- msgstr ""
1474
-
1475
- #: wpt-widget.php:265 wpt-widget.php:454
1476
- msgid "Number of Tweets to Show"
1477
- msgstr ""
1478
-
1479
- #: wpt-widget.php:277
1480
- msgid "Hide @ Replies"
1481
- msgstr ""
1482
-
1483
- #: wpt-widget.php:285
1484
- msgid "Include Retweets"
1485
- msgstr ""
1486
-
1487
- #: wpt-widget.php:293 wpt-widget.php:490
1488
- msgid "Parse links"
1489
- msgstr ""
1490
-
1491
- #: wpt-widget.php:301 wpt-widget.php:498
1492
- msgid "Parse @mentions"
1493
- msgstr ""
1494
-
1495
- #: wpt-widget.php:309
1496
- msgid "Show Images"
1497
- msgstr ""
1498
-
1499
- #: wpt-widget.php:317 wpt-widget.php:506
1500
- msgid "Parse #hashtags"
1501
- msgstr ""
1502
-
1503
- #: wpt-widget.php:325 wpt-widget.php:514
1504
- msgid "Include Reply/Retweet/Favorite Links"
1505
- msgstr ""
1506
-
1507
- #: wpt-widget.php:333 wpt-widget.php:522
1508
- msgid "Include Tweet source"
1509
- msgstr ""
1510
-
1511
- #: wpt-widget.php:373
1512
- msgid "Display a list of tweets returned by a search."
1513
- msgstr ""
1514
-
1515
- #: wpt-widget.php:381
1516
- msgid "WP to Twitter - Searched Tweets"
1517
- msgstr ""
1518
-
1519
- #: wpt-widget.php:445
1520
- msgid "Search String"
1521
- msgstr ""
1522
-
1523
- #: wpt-widget.php:463
1524
- msgid "Type of Results"
1525
- msgstr ""
1526
-
1527
- #: wpt-widget.php:467
1528
- msgid "Recent Tweets"
1529
- msgstr ""
1530
-
1531
- #: wpt-widget.php:469
1532
- msgid "Popular Tweets"
1533
- msgstr ""
1534
-
1535
- #: wpt-widget.php:471
1536
- msgid "Mixed"
1537
- msgstr ""
1538
-
1539
- #: wpt-widget.php:477
1540
- msgid "Geocode (Latitude,Longitude,Radius)"
1541
- msgstr ""
1542
-
1543
- #. Plugin Name of the plugin/theme
1544
- msgid "WP to Twitter"
1545
- msgstr ""
1546
-
1547
- #. Plugin URI of the plugin/theme
1548
- msgid "http://www.joedolson.com/wp-to-twitter/"
1549
- msgstr ""
1550
-
1551
- #. Description of the plugin/theme
1552
- msgid ""
1553
- "Posts a Tweet when you update your WordPress blog or post a link, using your "
1554
- "URL shortening service. Rich in features for customizing and promoting your "
1555
- "Tweets."
1556
- msgstr ""
1557
-
1558
- #. Author of the plugin/theme
1559
- msgid "Joseph Dolson"
1560
- msgstr ""
1561
-
1562
- #. Author URI of the plugin/theme
1563
- msgid "http://www.joedolson.com/"
1564
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.4
6
  Tested up to: 4.9
7
  License: GPLv2 or later
8
  Text Domain: wp-to-twitter
9
- Stable tag: 3.3.1
10
 
11
  Posts a Twitter update when you update your WordPress blog or add a link, with your chosen URL shortening service.
12
 
@@ -64,6 +64,13 @@ Check out my <a href="https://github.com/joedolson/plugin-extensions/tree/master
64
 
65
  == Changelog ==
66
 
 
 
 
 
 
 
 
67
 
68
  = 3.3.1 =
69
 
@@ -374,4 +381,4 @@ Writing and maintaining a plug-in is a lot of work. You can help me by providing
374
 
375
  == Upgrade Notice ==
376
 
377
- * 3.2.10: Minor security fix; recommend updating immediately.
6
  Tested up to: 4.9
7
  License: GPLv2 or later
8
  Text Domain: wp-to-twitter
9
+ Stable tag: 3.3.2
10
 
11
  Posts a Twitter update when you update your WordPress blog or add a link, with your chosen URL shortening service.
12
 
64
 
65
  == Changelog ==
66
 
67
+ = 3.3.2 =
68
+
69
+ * If short URL already stored, do not execute shortening routine
70
+ * Remove instances of create_function for PHP 7.2 compat
71
+ * Remove language files completely in favor of WordPress.org translations
72
+ * CSS fix
73
+ * Minor text changes
74
 
75
  = 3.3.1 =
76
 
381
 
382
  == Upgrade Notice ==
383
 
384
+ * 3.3.1: 280 character Tweets
wp-to-twitter-oauth.php CHANGED
@@ -133,7 +133,7 @@ function wpt_update_oauth_settings( $auth = false, $post = false ) {
133
  "http_code" => $connection->http_code,
134
  "status" => $status
135
  );
136
- $error_code = __( "Twitter response: http_code $error_information[http_code] - $error_information[status]", 'wp-to-twitter' );
137
  update_option( 'wpt_curl_error', $error_code );
138
  }
139
  if ( get_option( 'wp_debug_oauth' ) == '1' ) {
@@ -267,11 +267,11 @@ function wtt_connect_oauth( $auth = false ) {
267
  </div>
268
  ' );
269
  } else if ( wtt_oauth_test( $auth ) ) {
270
- $ack = ( ! $auth ) ? esc_attr( get_option( 'app_consumer_key' ) ) : esc_attr( get_user_meta( $auth, 'app_consumer_key', true ) );
271
- $acs = ( ! $auth ) ? esc_attr( get_option( 'app_consumer_secret' ) ) : esc_attr( get_user_meta( $auth, 'app_consumer_secret', true ) );
272
- $ot = ( ! $auth ) ? esc_attr( get_option( 'oauth_token' ) ) : esc_attr( get_user_meta( $auth, 'oauth_token', true ) );
273
- $ots = ( ! $auth ) ? esc_attr( get_option( 'oauth_token_secret' ) ) : esc_attr( get_user_meta( $auth, 'oauth_token_secret', true ) );
274
- $uname = ( ! $auth ) ? esc_attr( get_option( 'wtt_twitter_username' ) ) : esc_attr( get_user_meta( $auth, 'wtt_twitter_username', true ) );
275
  $nonce = ( ! $auth ) ? wp_nonce_field( 'wp-to-twitter-nonce', '_wpnonce', true, false ) . wp_referer_field( false ) . '</form>' : '';
276
  if ( ! $auth ) {
277
  $submit = '
@@ -289,11 +289,11 @@ function wtt_connect_oauth( $auth = false ) {
289
  <div id="wtt_authentication_display">
290
  <fieldset class="options">
291
  <ul>
292
- <li><strong class="auth_label">' . __( 'Twitter Username ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . $uname . '</code></li>
293
- <li><strong class="auth_label">' . __( 'API Key ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . $ack . '</code></li>
294
- <li><strong class="auth_label">' . __( 'API Secret ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . $acs . '</code></li>
295
- <li><strong class="auth_label">' . __( 'Access Token ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . $ot . '</code></li>
296
- <li><strong class="auth_label">' . __( 'Access Token Secret ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . $ots . '</code></li>
297
  </ul>
298
  </fieldset>
299
  <div>
133
  "http_code" => $connection->http_code,
134
  "status" => $status
135
  );
136
+ $error_code = sprintf( __( "Twitter response: http_code %s", 'wp-to-twitter' ), "$error_information[http_code] - $error_information[status]" );
137
  update_option( 'wpt_curl_error', $error_code );
138
  }
139
  if ( get_option( 'wp_debug_oauth' ) == '1' ) {
267
  </div>
268
  ' );
269
  } else if ( wtt_oauth_test( $auth ) ) {
270
+ $ack = ( ! $auth ) ? get_option( 'app_consumer_key' ) : get_user_meta( $auth, 'app_consumer_key', true );
271
+ $acs = ( ! $auth ) ? get_option( 'app_consumer_secret' ) : get_user_meta( $auth, 'app_consumer_secret', true );
272
+ $ot = ( ! $auth ) ? get_option( 'oauth_token' ) : get_user_meta( $auth, 'oauth_token', true );
273
+ $ots = ( ! $auth ) ? get_option( 'oauth_token_secret' ) : get_user_meta( $auth, 'oauth_token_secret', true );
274
+ $uname = ( ! $auth ) ? get_option( 'wtt_twitter_username' ) : get_user_meta( $auth, 'wtt_twitter_username', true );
275
  $nonce = ( ! $auth ) ? wp_nonce_field( 'wp-to-twitter-nonce', '_wpnonce', true, false ) . wp_referer_field( false ) . '</form>' : '';
276
  if ( ! $auth ) {
277
  $submit = '
289
  <div id="wtt_authentication_display">
290
  <fieldset class="options">
291
  <ul>
292
+ <li><strong class="auth_label">' . __( 'Twitter Username ', 'wp-to-twitter' ) . '</strong> <code class="auth_code"><a href="http://twitter.com/' . esc_attr( $uname ) . '">' . esc_attr( $uname ) . '</a></code></li>
293
+ <li><strong class="auth_label">' . __( 'API Key ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . esc_attr( $ack ) . '</code></li>
294
+ <li><strong class="auth_label">' . __( 'API Secret ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . esc_attr( $acs ) . '</code></li>
295
+ <li><strong class="auth_label">' . __( 'Access Token ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . esc_attr( $ot ) . '</code></li>
296
+ <li><strong class="auth_label">' . __( 'Access Token Secret ', 'wp-to-twitter' ) . '</strong> <code class="auth_code">' . esc_attr( $ots ) . '</code></li>
297
  </ul>
298
  </fieldset>
299
  <div>
wp-to-twitter-shorteners.php CHANGED
@@ -11,6 +11,12 @@ if ( ! function_exists( 'wpt_shorten_url' ) ) { // prep work for future plug-in
11
  wpt_mail( "Initial Link", "$url, $thisposttitle, $post_ID, $testmode" ); // DEBUG
12
  // filter link before sending to shortener or adding analytics
13
  $shortener = get_option( 'jd_shortener' );
 
 
 
 
 
 
14
  $url = apply_filters( 'wpt_shorten_link', $url, $shortener, $post_ID );
15
  if ( $testmode == false ) {
16
  if ( get_option( 'use-twitter-analytics' ) == 1 || get_option( 'use_dynamic_analytics' ) == 1 ) {
11
  wpt_mail( "Initial Link", "$url, $thisposttitle, $post_ID, $testmode" ); // DEBUG
12
  // filter link before sending to shortener or adding analytics
13
  $shortener = get_option( 'jd_shortener' );
14
+ // if the URL already exists, return it without processing
15
+ if ( get_post_meta( $post_ID, '_wpt_short_url', true ) ) {
16
+ $shrink = get_post_meta( $post_ID, '_wpt_short_url', true );
17
+
18
+ return $shrink;
19
+ }
20
  $url = apply_filters( 'wpt_shorten_link', $url, $shortener, $post_ID );
21
  if ( $testmode == false ) {
22
  if ( get_option( 'use-twitter-analytics' ) == 1 || get_option( 'use_dynamic_analytics' ) == 1 ) {
wp-to-twitter.php CHANGED
@@ -3,10 +3,9 @@
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/wp-to-twitter/
5
  Description: Posts a Tweet when you update your WordPress blog or post a link, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
- Version: 3.3.1
7
  Author: Joseph Dolson
8
  Text Domain: wp-to-twitter
9
- Domain Path: /lang
10
  Author URI: http://www.joedolson.com/
11
  */
12
  /* Copyright 2008-2017 Joseph C Dolson (email : plugins@joedolson.com)
@@ -45,11 +44,11 @@ require_once( plugin_dir_path( __FILE__ ) . '/wpt-widget.php' );
45
  require_once( plugin_dir_path( __FILE__ ) . '/wpt-rate-limiting.php' );
46
 
47
  global $wpt_version;
48
- $wpt_version = "3.3.1";
49
 
50
- add_action( 'plugins_loaded', 'wpt_load_textdomain' );
51
  function wpt_load_textdomain() {
52
- load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
53
  }
54
 
55
  // check for OAuth configuration
@@ -1287,8 +1286,8 @@ function wpt_add_twitter_inner_box( $post ) {
1287
  $yeschecked = ( $tweet_this == 'yes' ) ? ' checked="checked"' : '';
1288
  ?>
1289
  <p class='toggle-btn-group'>
1290
- <input type="radio" name="_jd_tweet_this" value="no" id="jtn"<?php echo $nochecked; ?> /><label for="jtn"><?php _e( "Don't Tweet post", 'wp-to-twitter' ); ?></label>
1291
- <input type="radio" name="_jd_tweet_this" value="yes" id="jty"<?php echo $yeschecked; ?> /><label for="jty"><?php _e( "Tweet post", 'wp-to-twitter' ); ?></label>
1292
  </p>
1293
  <?php
1294
  } else {
@@ -1616,9 +1615,6 @@ function wpt_twitter_profile() {
1616
  } ?> /> <?php _e( 'Do not display my account in the #account# template tag.', 'wp-to-twitter' ); ?>
1617
  </td>
1618
  </tr>
1619
- <?php if ( ! function_exists( 'wpt_pro_exists' ) ) {
1620
- add_filter( 'wpt_twitter_user_fields', create_function( '', 'return;' ) );
1621
- } ?>
1622
  <?php echo apply_filters( 'wpt_twitter_user_fields', $user_edit ); ?>
1623
  </table>
1624
  <?php
@@ -1637,6 +1633,18 @@ function wpt_twitter_profile() {
1637
  }
1638
  }
1639
 
 
 
 
 
 
 
 
 
 
 
 
 
1640
  /**
1641
  * Save user profile data
1642
  */
@@ -1732,6 +1740,7 @@ function wpt_plugin_update_message() {
1732
  $bits = explode( '== Upgrade Notice ==', $data );
1733
  $note = '<div id="wpt-upgrade"><p><strong style="color:#c22;">Upgrade Notes:</strong> ' . nl2br( trim( $bits[1] ) ) . '</p></div>';
1734
  }
 
1735
  echo $note;
1736
  }
1737
 
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/wp-to-twitter/
5
  Description: Posts a Tweet when you update your WordPress blog or post a link, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
+ Version: 3.3.2
7
  Author: Joseph Dolson
8
  Text Domain: wp-to-twitter
 
9
  Author URI: http://www.joedolson.com/
10
  */
11
  /* Copyright 2008-2017 Joseph C Dolson (email : plugins@joedolson.com)
44
  require_once( plugin_dir_path( __FILE__ ) . '/wpt-rate-limiting.php' );
45
 
46
  global $wpt_version;
47
+ $wpt_version = "3.3.2";
48
 
49
+ add_action( 'init', 'wpt_load_textdomain' );
50
  function wpt_load_textdomain() {
51
+ load_plugin_textdomain( 'wp-to-twitter' );
52
  }
53
 
54
  // check for OAuth configuration
1286
  $yeschecked = ( $tweet_this == 'yes' ) ? ' checked="checked"' : '';
1287
  ?>
1288
  <p class='toggle-btn-group'>
1289
+ <input type="radio" name="_jd_tweet_this" value="no" id="jtn"<?php echo $nochecked; ?> /><label for="jtn"><?php _e( "Don't Tweet", 'wp-to-twitter' ); ?></label>
1290
+ <input type="radio" name="_jd_tweet_this" value="yes" id="jty"<?php echo $yeschecked; ?> /><label for="jty"><?php _e( "Tweet", 'wp-to-twitter' ); ?></label>
1291
  </p>
1292
  <?php
1293
  } else {
1615
  } ?> /> <?php _e( 'Do not display my account in the #account# template tag.', 'wp-to-twitter' ); ?>
1616
  </td>
1617
  </tr>
 
 
 
1618
  <?php echo apply_filters( 'wpt_twitter_user_fields', $user_edit ); ?>
1619
  </table>
1620
  <?php
1633
  }
1634
  }
1635
 
1636
+ /**
1637
+ * This compensates for an old error where the user ID is echoed directly into the page.
1638
+ */
1639
+ add_filter( 'wpt_twitter_user_fields', 'wpt_basic_user_fields', 100, 1 );
1640
+ function wpt_basic_user_fields( $user_edit ) {
1641
+ if ( is_int( $user_edit ) ) {
1642
+ return '';
1643
+ }
1644
+
1645
+ return $user_edit;
1646
+ }
1647
+
1648
  /**
1649
  * Save user profile data
1650
  */
1740
  $bits = explode( '== Upgrade Notice ==', $data );
1741
  $note = '<div id="wpt-upgrade"><p><strong style="color:#c22;">Upgrade Notes:</strong> ' . nl2br( trim( $bits[1] ) ) . '</p></div>';
1742
  }
1743
+
1744
  echo $note;
1745
  }
1746
 
wpt-widget.php CHANGED
@@ -354,8 +354,11 @@ class WPT_Latest_Tweets_Widget extends WP_Widget {
354
  }
355
  }
356
 
357
- add_action( 'widgets_init', create_function( '', "register_widget('WPT_Latest_Tweets_Widget');" ) );
358
-
 
 
 
359
 
360
  class WPT_Search_Tweets_Widget extends WP_Widget {
361
 
@@ -545,8 +548,6 @@ class WPT_Search_Tweets_Widget extends WP_Widget {
545
  }
546
  }
547
 
548
- add_action( 'widgets_init', create_function( '', "register_widget('WPT_Search_Tweets_Widget');" ) );
549
-
550
  /**
551
  * Adds links to the contents of a tweet.
552
  * Forked from genesis_tweet_linkify, removed target = _blank
354
  }
355
  }
356
 
357
+ add_action( 'widgets_init', 'wpt_register_widgets' );
358
+ function wpt_register_widgets() {
359
+ register_widget( 'WPT_Latest_Tweets_Widget' );
360
+ register_widget( 'WPT_Search_Tweets_Widget' );
361
+ }
362
 
363
  class WPT_Search_Tweets_Widget extends WP_Widget {
364
 
548
  }
549
  }
550
 
 
 
551
  /**
552
  * Adds links to the contents of a tweet.
553
  * Forked from genesis_tweet_linkify, removed target = _blank
wpt_twitter_oauth.php CHANGED
@@ -251,7 +251,7 @@ if ( ! class_exists( 'wpt_TwitterOAuth' ) ) {
251
  $remote = wp_remote_get( $image_url );
252
  if ( is_wp_error( $remote ) ) {
253
  $transport = 'curl';
254
- $binary = wp_get_curl( $image_url );
255
  } else {
256
  $transport = 'wp_http';
257
  $binary = wp_remote_retrieve_body( $remote );
@@ -276,7 +276,7 @@ if ( ! class_exists( 'wpt_TwitterOAuth' ) ) {
276
  );
277
 
278
  $response = $tmhOAuth->response['response'];
279
- $full = $tmhOAuth->response;
280
  wpt_mail( "Media Posted", "
281
  Media ID #$args[media] ($transport)" . "\n\n" .
282
  "Twitter Response" . "\n" . print_r( $full, 1 ) . "\n\n" .
251
  $remote = wp_remote_get( $image_url );
252
  if ( is_wp_error( $remote ) ) {
253
  $transport = 'curl';
254
+ $binary = wp_get_curl( $image_url );
255
  } else {
256
  $transport = 'wp_http';
257
  $binary = wp_remote_retrieve_body( $remote );
276
  );
277
 
278
  $response = $tmhOAuth->response['response'];
279
+ $full = $tmhOAuth->response;
280
  wpt_mail( "Media Posted", "
281
  Media ID #$args[media] ($transport)" . "\n\n" .
282
  "Twitter Response" . "\n" . print_r( $full, 1 ) . "\n\n" .