Testimonials Widget - Version 2.13.6

Version Description

  • IE 7 CSS moved to separate file. Include via Testimonials > Settings if needed
Download this release

Release Info

Developer comprock
Plugin Icon wp plugin Testimonials Widget
Version 2.13.6
Comparing to
See all releases

Code changes from version 2.13.5 to 2.13.6

API.md CHANGED
@@ -4,6 +4,10 @@ The [Testimonials Widget plugin](http://wordpress.org/plugins/testimonials-widge
4
 
5
  ## Actions
6
 
 
 
 
 
7
  * `testimonials_widget_scripts`
8
 
9
  Made additional `wp_register_script` and `wp_enqueue_script` calls as needed.
4
 
5
  ## Actions
6
 
7
+ * `testimonials_widget_settings_add_help_tabs`
8
+
9
+ Modify the settings page help tabs.
10
+
11
  * `testimonials_widget_scripts`
12
 
13
  Made additional `wp_register_script` and `wp_enqueue_script` calls as needed.
CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
 
3
  ## master
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ## 2.13.5
6
  * BUGFIX Caching defaults not correct
7
 
2
 
3
  ## master
4
 
5
+ ## 2.13.6
6
+ * Add IDs column to edit testimonials listing page
7
+ * Add filter `testimonials_widget_settings_add_help_tabs`
8
+ * Add option Fade In Speed
9
+ * Add option Fade Out Speed
10
+ * Add settings page help tab
11
+ * BUGFIX index has_archive and rewrite_slug not set
12
+ * BUGFIX plugin_row_meta not returning default state
13
+ * IE7 CSS moved to separate file. Include via Testimonials > Settings if needed
14
+ * Localize text
15
+ * Pass YSlow and Google PageSpeed testing
16
+ * Performance optimizations
17
+ * Prevent Testimonials Widget custom post type URL slug naming conflicts
18
+ * Update premium shortcodes
19
+ * Validate URL submissions
20
+ * [Begin CSS testing](http://www.netmagazine.com/tutorials/4-tools-automatic-css-testing)
21
+
22
  ## 2.13.5
23
  * BUGFIX Caching defaults not correct
24
 
TODO.md CHANGED
@@ -2,11 +2,4 @@
2
 
3
  Is there something you want done? Write it up on the [support forums](http://wordpress.org/support/plugin/testimonials-widget) and then [donate](http://aihr.us/about-aihrus/donate/) or [write an awesome testimonial](http://aihr.us/about-aihrus/testimonials/add-testimonial/).
4
 
5
- * Add helper tip windows
6
- * Adjust [fadeIn speed](http://wordpress.org/support/topic/animation-not-disabling)
7
- * BUG [IE8 + Google Font Issue](http://wordpress.org/support/topic/ie8-google-font-issue)
8
- * Offer slideUp option
9
- * Pass YSlow and Google PageSpeed testing
10
- * Prevent page slug naming conflicts
11
- * Saved settings message
12
- * [Begin CSS testing](http://www.netmagazine.com/tutorials/4-tools-automatic-css-testing)
2
 
3
  Is there something you want done? Write it up on the [support forums](http://wordpress.org/support/plugin/testimonials-widget) and then [donate](http://aihr.us/about-aihrus/donate/) or [write an awesome testimonial](http://aihr.us/about-aihrus/testimonials/add-testimonial/).
4
 
5
+ * [Use jQuery cycle](http://wordpress.org/support/topic/animation-not-disabling?replies=12#post-4655776)
 
 
 
 
 
 
 
ci/phpcs.ruleset.xml CHANGED
@@ -8,6 +8,7 @@
8
  <exclude-pattern>lib/Akismet.class.php</exclude-pattern>
9
 
10
  <rule ref="Generic">
 
11
  <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
12
  <exclude name="Generic.Files.EndFileNoNewline.Found" />
13
  <exclude name="Generic.Files.LineLength.MaxExceeded" />
8
  <exclude-pattern>lib/Akismet.class.php</exclude-pattern>
9
 
10
  <rule ref="Generic">
11
+ <exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found" />
12
  <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
13
  <exclude name="Generic.Files.EndFileNoNewline.Found" />
14
  <exclude name="Generic.Files.LineLength.MaxExceeded" />
ci/phpcs.travis.ruleset.xml CHANGED
@@ -8,6 +8,7 @@
8
  <exclude-pattern>lib/Akismet.class.php</exclude-pattern>
9
 
10
  <rule ref="Generic">
 
11
  <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
12
  <exclude name="Generic.Files.EndFileNoNewline.Found" />
13
  <exclude name="Generic.Files.LineLength.MaxExceeded" />
8
  <exclude-pattern>lib/Akismet.class.php</exclude-pattern>
9
 
10
  <rule ref="Generic">
11
+ <exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found" />
12
  <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed" />
13
  <exclude name="Generic.Files.EndFileNoNewline.Found" />
14
  <exclude name="Generic.Files.LineLength.MaxExceeded" />
languages/testimonials-widget.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Testimonials Widget package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Testimonials Widget 2.13.5\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
- "POT-Creation-Date: 2013-09-13 15:57:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,477 +12,537 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: lib/class-testimonials-widget-settings.php:66
 
 
 
 
 
 
 
 
 
 
16
  msgid "General"
17
  msgstr ""
18
 
19
- #: lib/class-testimonials-widget-settings.php:67
 
20
  msgid "Selection"
21
  msgstr ""
22
 
23
- #: lib/class-testimonials-widget-settings.php:68
 
24
  msgid "Ordering"
25
  msgstr ""
26
 
27
- #: lib/class-testimonials-widget-settings.php:69
 
28
  msgid "Widget"
29
  msgstr ""
30
 
31
- #: lib/class-testimonials-widget-settings.php:70
 
32
  msgid "Post Type"
33
  msgstr ""
34
 
35
- #: lib/class-testimonials-widget-settings.php:71
 
36
  msgid "Compatibility & Reset"
37
  msgstr ""
38
 
39
- #: lib/class-testimonials-widget-settings.php:72
40
  msgid "About Testimonials Widget"
41
  msgstr ""
42
 
43
- #: lib/class-testimonials-widget-settings.php:87
44
  msgid "Widget Title"
45
  msgstr ""
46
 
47
- #: lib/class-testimonials-widget-settings.php:88 testimonials-widget.php:493
48
- #: testimonials-widget.php:538
49
  msgid "Testimonials"
50
  msgstr ""
51
 
52
- #: lib/class-testimonials-widget-settings.php:94
53
  msgid "Title Link"
54
  msgstr ""
55
 
56
- #: lib/class-testimonials-widget-settings.php:95
57
  msgid ""
58
  "URL, path, or post ID to link widget title to. Ex: http://example.com/"
59
  "stuff, /testimonials, 123 or "
60
  msgstr ""
61
 
62
- #: lib/class-testimonials-widget-settings.php:101
63
  msgid "Character Limit"
64
  msgstr ""
65
 
66
- #: lib/class-testimonials-widget-settings.php:102
67
  msgid "Number of characters to limit non-single testimonial views to"
68
  msgstr ""
69
 
70
- #: lib/class-testimonials-widget-settings.php:108
71
  msgid "Height"
72
  msgstr ""
73
 
74
- #: lib/class-testimonials-widget-settings.php:109
75
  msgid "Testimonials height, in pixels. Overrides minimum and maximum height"
76
  msgstr ""
77
 
78
- #: lib/class-testimonials-widget-settings.php:115
79
  msgid "Rotation Speed"
80
  msgstr ""
81
 
82
- #: lib/class-testimonials-widget-settings.php:116
83
  msgid ""
84
  "Number of seconds between testimonial rotations or 0 for no rotation at all "
85
  "refresh"
86
  msgstr ""
87
 
88
- #: lib/class-testimonials-widget-settings.php:123
89
  msgid "Additional Widget Options"
90
  msgstr ""
91
 
92
- #: lib/class-testimonials-widget-settings.php:129
93
  msgid "Keep Whitespace?"
94
  msgstr ""
95
 
96
- #: lib/class-testimonials-widget-settings.php:130
97
  msgid "Keeps testimonials looking as entered than sans auto-formatting"
98
  msgstr ""
99
 
100
- #: lib/class-testimonials-widget-settings.php:136
101
  msgid "Disable animation?"
102
  msgstr ""
103
 
104
- #: lib/class-testimonials-widget-settings.php:137
105
  msgid ""
106
  "Disable animation between testimonial transitions. Useful when stacking "
107
  "widgets."
108
  msgstr ""
109
 
110
- #: lib/class-testimonials-widget-settings.php:144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  msgid "Minimum Height"
112
  msgstr ""
113
 
114
- #: lib/class-testimonials-widget-settings.php:145
115
  msgid "Set for minimum display height, in pixels"
116
  msgstr ""
117
 
118
- #: lib/class-testimonials-widget-settings.php:151
119
  msgid "Maximum Height"
120
  msgstr ""
121
 
122
- #: lib/class-testimonials-widget-settings.php:152
123
  msgid "Set for maximum display height, in pixels"
124
  msgstr ""
125
 
126
- #: lib/class-testimonials-widget-settings.php:158
127
  msgid "Testimonial Bottom Text"
128
  msgstr ""
129
 
130
- #: lib/class-testimonials-widget-settings.php:159
131
  msgid "Custom text or HTML for bottom of testimonials"
132
  msgstr ""
133
 
134
- #: lib/class-testimonials-widget-settings.php:171
135
  msgid "General Options"
136
  msgstr ""
137
 
138
- #: lib/class-testimonials-widget-settings.php:176
139
  msgid "Hide built-in quotes?"
140
  msgstr ""
141
 
142
- #: lib/class-testimonials-widget-settings.php:177
143
  msgid "Remove open and close quote span tags surrounding testimonial content"
144
  msgstr ""
145
 
146
- #: lib/class-testimonials-widget-settings.php:182
147
  msgid "Hide \"Testimonials Not Found\"?"
148
  msgstr ""
149
 
150
- #: lib/class-testimonials-widget-settings.php:187
151
  msgid "Hide Gravatar Image?"
152
  msgstr ""
153
 
154
- #: lib/class-testimonials-widget-settings.php:192
155
  msgid "Hide Image?"
156
  msgstr ""
157
 
158
- #: lib/class-testimonials-widget-settings.php:197
159
  msgid "Hide Image in Single View?"
160
  msgstr ""
161
 
162
- #: lib/class-testimonials-widget-settings.php:203
163
  msgid "Hide Testimonial Content?"
164
  msgstr ""
165
 
166
- #: lib/class-testimonials-widget-settings.php:208
167
  msgid "Hide Author/Source?"
168
  msgstr ""
169
 
170
- #: lib/class-testimonials-widget-settings.php:210
171
  msgid "Don't display \"Post Title\" in cite"
172
  msgstr ""
173
 
174
- #: lib/class-testimonials-widget-settings.php:214
175
  msgid "Hide Email?"
176
  msgstr ""
177
 
178
- #: lib/class-testimonials-widget-settings.php:220
179
  msgid "Hide Job Title?"
180
  msgstr ""
181
 
182
- #: lib/class-testimonials-widget-settings.php:225
183
  msgid "Hide Location?"
184
  msgstr ""
185
 
186
- #: lib/class-testimonials-widget-settings.php:230
187
  msgid "Hide Company?"
188
  msgstr ""
189
 
190
- #: lib/class-testimonials-widget-settings.php:235
191
  msgid "Hide URL?"
192
  msgstr ""
193
 
194
- #: lib/class-testimonials-widget-settings.php:240
195
  msgid "URL Target"
196
  msgstr ""
197
 
198
- #: lib/class-testimonials-widget-settings.php:241
199
  msgid "Add target to all URLs; leave blank if none"
200
  msgstr ""
201
 
202
- #: lib/class-testimonials-widget-settings.php:246
203
  msgid "Enable Paging?"
204
  msgstr ""
205
 
206
- #: lib/class-testimonials-widget-settings.php:247
207
  msgid "For `[testimonialswidget_list]`"
208
  msgstr ""
209
 
210
- #: lib/class-testimonials-widget-settings.php:250
211
  msgid "Disable"
212
  msgstr ""
213
 
214
- #: lib/class-testimonials-widget-settings.php:251
215
  msgid "Enable"
216
  msgstr ""
217
 
218
- #: lib/class-testimonials-widget-settings.php:252
219
  msgid "Before testimonials"
220
  msgstr ""
221
 
222
- #: lib/class-testimonials-widget-settings.php:253
223
  msgid "After testimonials"
224
  msgstr ""
225
 
226
- #: lib/class-testimonials-widget-settings.php:260
227
  msgid "Do [shortcodes]?"
228
  msgstr ""
229
 
230
- #: lib/class-testimonials-widget-settings.php:261
231
  msgid "If unchecked, shortcodes are stripped."
232
  msgstr ""
233
 
234
- #: lib/class-testimonials-widget-settings.php:272
235
  msgid "Selection Options"
236
  msgstr ""
237
 
238
- #: lib/class-testimonials-widget-settings.php:278
239
  msgid "Category Filter"
240
  msgstr ""
241
 
242
- #: lib/class-testimonials-widget-settings.php:279
243
  msgid "Comma separated category slug-names. Ex: category-a, another-category"
244
  msgstr ""
245
 
246
- #: lib/class-testimonials-widget-settings.php:285
247
  msgid "Tags Filter"
248
  msgstr ""
249
 
250
- #: lib/class-testimonials-widget-settings.php:286
251
  msgid "Comma separated tag slug-names. Ex: tag-a, another-tag"
252
  msgstr ""
253
 
254
- #: lib/class-testimonials-widget-settings.php:292
255
  msgid "Require All Tags?"
256
  msgstr ""
257
 
258
- #: lib/class-testimonials-widget-settings.php:293
259
  msgid "Select only testimonials with all of the given tags"
260
  msgstr ""
261
 
262
- #: lib/class-testimonials-widget-settings.php:299
263
  msgid "Include IDs Filter"
264
  msgstr ""
265
 
266
- #: lib/class-testimonials-widget-settings.php:300
267
- #: lib/class-testimonials-widget-settings.php:307
268
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
269
  msgstr ""
270
 
271
- #: lib/class-testimonials-widget-settings.php:306
272
  msgid "Exclude IDs Filter"
273
  msgstr ""
274
 
275
- #: lib/class-testimonials-widget-settings.php:313
276
  msgid "Limit"
277
  msgstr ""
278
 
279
- #: lib/class-testimonials-widget-settings.php:314
280
  msgid "Number of testimonials to select per instance"
281
  msgstr ""
282
 
283
- #: lib/class-testimonials-widget-settings.php:327
284
  msgid "Ordering Options"
285
  msgstr ""
286
 
287
- #: lib/class-testimonials-widget-settings.php:333
288
  msgid "Random Order?"
289
  msgstr ""
290
 
291
- #: lib/class-testimonials-widget-settings.php:334
292
  msgid ""
293
  "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets "
294
  "are random by default automatically"
295
  msgstr ""
296
 
297
- #: lib/class-testimonials-widget-settings.php:340
298
  msgid "ORDER BY"
299
  msgstr ""
300
 
301
- #: lib/class-testimonials-widget-settings.php:341
302
  msgid "Used when \"Random Order\" is disabled"
303
  msgstr ""
304
 
305
- #: lib/class-testimonials-widget-settings.php:344
306
  msgid "Testimonial ID"
307
  msgstr ""
308
 
309
- #: lib/class-testimonials-widget-settings.php:345
310
  msgid "Author"
311
  msgstr ""
312
 
313
- #: lib/class-testimonials-widget-settings.php:346 testimonials-widget.php:470
314
  msgid "Date"
315
  msgstr ""
316
 
317
- #: lib/class-testimonials-widget-settings.php:347
318
  msgid "Menu Order"
319
  msgstr ""
320
 
321
- #: lib/class-testimonials-widget-settings.php:348 testimonials-widget.php:462
322
  msgid "Source"
323
  msgstr ""
324
 
325
- #: lib/class-testimonials-widget-settings.php:349
326
  msgid "No order"
327
  msgstr ""
328
 
329
- #: lib/class-testimonials-widget-settings.php:357
330
  msgid "ORDER BY meta_key"
331
  msgstr ""
332
 
333
- #: lib/class-testimonials-widget-settings.php:358
334
  msgid ""
335
  "Used when \"Random Order\" is disabled and sorting by a testimonials meta "
336
  "key is needed. Overrides ORDER BY"
337
  msgstr ""
338
 
339
- #: lib/class-testimonials-widget-settings.php:361
340
  msgid "None"
341
  msgstr ""
342
 
343
- #: lib/class-testimonials-widget-settings.php:362 testimonials-widget.php:464
344
- #: testimonials-widget.php:1517
345
  msgid "Job Title"
346
  msgstr ""
347
 
348
- #: lib/class-testimonials-widget-settings.php:363 testimonials-widget.php:466
349
- #: testimonials-widget.php:1529
350
  msgid "Email"
351
  msgstr ""
352
 
353
- #: lib/class-testimonials-widget-settings.php:364 testimonials-widget.php:465
354
- #: testimonials-widget.php:1523
355
  msgid "Location"
356
  msgstr ""
357
 
358
- #: lib/class-testimonials-widget-settings.php:365 testimonials-widget.php:467
359
- #: testimonials-widget.php:1535
360
  msgid "Company"
361
  msgstr ""
362
 
363
- #: lib/class-testimonials-widget-settings.php:366 testimonials-widget.php:468
364
- #: testimonials-widget.php:1541
365
  msgid "URL"
366
  msgstr ""
367
 
368
- #: lib/class-testimonials-widget-settings.php:373
369
  msgid "ORDER BY Order"
370
  msgstr ""
371
 
372
- #: lib/class-testimonials-widget-settings.php:376
373
  msgid "Descending"
374
  msgstr ""
375
 
376
- #: lib/class-testimonials-widget-settings.php:377
377
  msgid "Ascending"
378
  msgstr ""
379
 
380
- #: lib/class-testimonials-widget-settings.php:391
381
  msgid "Allow Comments?"
382
  msgstr ""
383
 
384
- #: lib/class-testimonials-widget-settings.php:392
385
  msgid ""
386
  "Only affects the Testimonials Widget post edit page. Your theme controls the "
387
  "front-end view."
388
  msgstr ""
389
 
390
- #: lib/class-testimonials-widget-settings.php:397
391
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
392
  msgstr ""
393
 
394
- #: lib/class-testimonials-widget-settings.php:403
395
  msgid "Archive Page URL"
396
  msgstr ""
397
 
398
- #: lib/class-testimonials-widget-settings.php:410
399
  msgid ""
400
  "URL slug-name for testimonial view pages. Shouldn't be the same as Archive "
401
  "Page URL."
402
  msgstr ""
403
 
404
- #: lib/class-testimonials-widget-settings.php:414
405
  msgid "Testimonial Page URL"
406
  msgstr ""
407
 
408
- #: lib/class-testimonials-widget-settings.php:424
409
  msgid "Compatiblity Options"
410
  msgstr ""
411
 
412
- #: lib/class-testimonials-widget-settings.php:430
 
 
 
 
 
 
 
 
413
  msgid "Remove `.hentry` CSS?"
414
  msgstr ""
415
 
416
- #: lib/class-testimonials-widget-settings.php:431
417
  msgid ""
418
  "Pre 2.6.4. Some themes use class `.hentry` in a manner that breaks "
419
  "Testimonials Widgets CSS"
420
  msgstr ""
421
 
422
- #: lib/class-testimonials-widget-settings.php:441
423
  msgid "Use `&lt;q&gt;` tag?"
424
  msgstr ""
425
 
426
- #: lib/class-testimonials-widget-settings.php:442
427
  msgid "Pre 2.11.0. Not HTML5 compliant"
428
  msgstr ""
429
 
430
- #: lib/class-testimonials-widget-settings.php:452
431
  msgid "Don't Use Default Taxonomies?"
432
  msgstr ""
433
 
434
- #: lib/class-testimonials-widget-settings.php:454
435
  msgid ""
436
  "If checked, use Testimonials Widget's own category and tag taxonomies instead"
437
  msgstr ""
438
 
439
- #: lib/class-testimonials-widget-settings.php:465
440
  msgid "Export Settings"
441
  msgstr ""
442
 
443
- #: lib/class-testimonials-widget-settings.php:467
444
  msgid ""
445
  "These are your current settings in a serialized format. Copy the contents to "
446
  "make a backup of your settings."
447
  msgstr ""
448
 
449
- #: lib/class-testimonials-widget-settings.php:475
450
  msgid "Import Settings"
451
  msgstr ""
452
 
453
- #: lib/class-testimonials-widget-settings.php:477
454
  msgid ""
455
  "Paste new serialized settings here to overwrite your current configuration."
456
  msgstr ""
457
 
458
- #: lib/class-testimonials-widget-settings.php:483
459
  msgid "Remove Plugin Data on Deletion?"
460
  msgstr ""
461
 
462
- #: lib/class-testimonials-widget-settings.php:486
463
  msgid ""
464
  "Delete all Testimonials Widget data and options from database on plugin "
465
  "deletion"
466
  msgstr ""
467
 
468
- #: lib/class-testimonials-widget-settings.php:492
469
  msgid "Reset to Defaults?"
470
  msgstr ""
471
 
472
- #: lib/class-testimonials-widget-settings.php:495
473
  msgid "Check this box to reset options to their defaults"
474
  msgstr ""
475
 
476
- #: lib/class-testimonials-widget-settings.php:561
477
- #: lib/class-testimonials-widget-settings.php:598
478
- msgid "Testimonials Widget Settings"
479
  msgstr ""
480
 
481
- #: lib/class-testimonials-widget-settings.php:561 testimonials-widget.php:64
482
- msgid "Settings"
 
 
483
  msgstr ""
484
 
485
- #: lib/class-testimonials-widget-settings.php:600
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  msgid ""
487
  "These Testimonials Widget Settings establish the default option values for "
488
  "shortcodes, theme functions, and widget instances. Widgets, once created no "
@@ -491,23 +551,39 @@ msgid ""
491
  "then recreate it."
492
  msgstr ""
493
 
494
- #: lib/class-testimonials-widget-settings.php:617
495
- msgid "Save Changes"
496
  msgstr ""
497
 
498
- #: lib/class-testimonials-widget-settings.php:634
499
- msgid "Copyright &copy;%1$s %2$s."
500
  msgstr ""
501
 
502
- #: lib/class-testimonials-widget-settings.php:994
503
- msgid "Required"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  msgstr ""
505
 
506
  #: lib/class-testimonials-widget-widget.php:26
507
  msgid "Display testimonials with multiple selection and display options"
508
  msgstr ""
509
 
510
- #. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.13.5) #-#-#-#-#
511
  #. Plugin Name of the plugin/theme
512
  #: lib/class-testimonials-widget-widget.php:37
513
  msgid "Testimonials Widget"
@@ -537,124 +613,128 @@ msgid ""
537
  "plugin. %s"
538
  msgstr ""
539
 
540
- #: testimonials-widget.php:461
 
 
 
 
541
  msgid "Image"
542
  msgstr ""
543
 
544
- #: testimonials-widget.php:463
545
  msgid "Shortcodes"
546
  msgstr ""
547
 
548
- #: testimonials-widget.php:469
549
  msgid "Published by"
550
  msgstr ""
551
 
552
- #: testimonials-widget.php:475 testimonials-widget.php:478
553
  msgid "Category"
554
  msgstr ""
555
 
556
- #: testimonials-widget.php:476 testimonials-widget.php:479
557
  msgid "Tags"
558
  msgstr ""
559
 
560
- #: testimonials-widget.php:490
561
  msgid "Add New"
562
  msgstr ""
563
 
564
- #: testimonials-widget.php:491 testimonials-widget.php:494
565
  msgid "Add New Testimonial"
566
  msgstr ""
567
 
568
- #: testimonials-widget.php:492
569
  msgid "Edit Testimonial"
570
  msgstr ""
571
 
572
- #: testimonials-widget.php:495 testimonials-widget.php:827
573
  msgid "No testimonials found"
574
  msgstr ""
575
 
576
- #: testimonials-widget.php:496
577
  msgid "No testimonials found in Trash"
578
  msgstr ""
579
 
580
- #: testimonials-widget.php:498
581
  msgid "Search Testimonials"
582
  msgstr ""
583
 
584
- #: testimonials-widget.php:499 testimonials-widget.php:1629
585
  msgid "Testimonial"
586
  msgstr ""
587
 
588
- #: testimonials-widget.php:500
589
  msgid "View Testimonial"
590
  msgstr ""
591
 
592
- #: testimonials-widget.php:938
593
  msgid "…"
594
  msgstr ""
595
 
596
- #: testimonials-widget.php:1258
597
  msgid "&laquo;"
598
  msgstr ""
599
 
600
- #: testimonials-widget.php:1267
601
  msgid "&raquo;"
602
  msgstr ""
603
 
604
- #: testimonials-widget.php:1553
605
  msgid "Testimonial Data"
606
  msgstr ""
607
 
608
- #: testimonials-widget.php:1578
609
  msgid "Enter title here"
610
  msgstr ""
611
 
612
- #: testimonials-widget.php:1579
613
  msgid "Enter testimonial source here"
614
  msgstr ""
615
 
616
- #: testimonials-widget.php:1604
617
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
618
  msgstr ""
619
 
620
- #: testimonials-widget.php:1605
621
  msgid "Custom field updated."
622
  msgstr ""
623
 
624
- #: testimonials-widget.php:1606
625
  msgid "Custom field deleted."
626
  msgstr ""
627
 
628
- #: testimonials-widget.php:1607
629
  msgid "Testimonial updated."
630
  msgstr ""
631
 
632
  #. translators: %s: date and time of the revision
633
- #: testimonials-widget.php:1609
634
  msgid "Testimonial restored to revision from %s"
635
  msgstr ""
636
 
637
- #: testimonials-widget.php:1610
638
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
639
  msgstr ""
640
 
641
- #: testimonials-widget.php:1611
642
  msgid "Testimonial saved."
643
  msgstr ""
644
 
645
- #: testimonials-widget.php:1612
646
  msgid ""
647
  "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
648
  "a>"
649
  msgstr ""
650
 
651
- #: testimonials-widget.php:1613
652
  msgid ""
653
  "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
654
  "\"%2$s\">Preview testimonial</a>"
655
  msgstr ""
656
 
657
- #: testimonials-widget.php:1614
658
  msgid ""
659
  "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
660
  "testimonial</a>"
2
  # This file is distributed under the same license as the Testimonials Widget package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Testimonials Widget 2.13.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
+ "POT-Creation-Date: 2013-09-23 17:14:02+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: lib/class-testimonials-widget-settings.php:82
16
+ #: lib/class-testimonials-widget-settings.php:652
17
+ msgid "Testimonials Widget Settings"
18
+ msgstr ""
19
+
20
+ #: lib/class-testimonials-widget-settings.php:82 testimonials-widget.php:73
21
+ msgid "Settings"
22
+ msgstr ""
23
+
24
+ #: lib/class-testimonials-widget-settings.php:112
25
+ #: lib/class-testimonials-widget-settings.php:1211
26
  msgid "General"
27
  msgstr ""
28
 
29
+ #: lib/class-testimonials-widget-settings.php:113
30
+ #: lib/class-testimonials-widget-settings.php:1219
31
  msgid "Selection"
32
  msgstr ""
33
 
34
+ #: lib/class-testimonials-widget-settings.php:114
35
+ #: lib/class-testimonials-widget-settings.php:1227
36
  msgid "Ordering"
37
  msgstr ""
38
 
39
+ #: lib/class-testimonials-widget-settings.php:115
40
+ #: lib/class-testimonials-widget-settings.php:1235
41
  msgid "Widget"
42
  msgstr ""
43
 
44
+ #: lib/class-testimonials-widget-settings.php:116
45
+ #: lib/class-testimonials-widget-settings.php:1243
46
  msgid "Post Type"
47
  msgstr ""
48
 
49
+ #: lib/class-testimonials-widget-settings.php:117
50
+ #: lib/class-testimonials-widget-settings.php:1251
51
  msgid "Compatibility & Reset"
52
  msgstr ""
53
 
54
+ #: lib/class-testimonials-widget-settings.php:118
55
  msgid "About Testimonials Widget"
56
  msgstr ""
57
 
58
+ #: lib/class-testimonials-widget-settings.php:133
59
  msgid "Widget Title"
60
  msgstr ""
61
 
62
+ #: lib/class-testimonials-widget-settings.php:134 testimonials-widget.php:498
63
+ #: testimonials-widget.php:543
64
  msgid "Testimonials"
65
  msgstr ""
66
 
67
+ #: lib/class-testimonials-widget-settings.php:140
68
  msgid "Title Link"
69
  msgstr ""
70
 
71
+ #: lib/class-testimonials-widget-settings.php:141
72
  msgid ""
73
  "URL, path, or post ID to link widget title to. Ex: http://example.com/"
74
  "stuff, /testimonials, 123 or "
75
  msgstr ""
76
 
77
+ #: lib/class-testimonials-widget-settings.php:147
78
  msgid "Character Limit"
79
  msgstr ""
80
 
81
+ #: lib/class-testimonials-widget-settings.php:148
82
  msgid "Number of characters to limit non-single testimonial views to"
83
  msgstr ""
84
 
85
+ #: lib/class-testimonials-widget-settings.php:154
86
  msgid "Height"
87
  msgstr ""
88
 
89
+ #: lib/class-testimonials-widget-settings.php:155
90
  msgid "Testimonials height, in pixels. Overrides minimum and maximum height"
91
  msgstr ""
92
 
93
+ #: lib/class-testimonials-widget-settings.php:161
94
  msgid "Rotation Speed"
95
  msgstr ""
96
 
97
+ #: lib/class-testimonials-widget-settings.php:162
98
  msgid ""
99
  "Number of seconds between testimonial rotations or 0 for no rotation at all "
100
  "refresh"
101
  msgstr ""
102
 
103
+ #: lib/class-testimonials-widget-settings.php:169
104
  msgid "Additional Widget Options"
105
  msgstr ""
106
 
107
+ #: lib/class-testimonials-widget-settings.php:175
108
  msgid "Keep Whitespace?"
109
  msgstr ""
110
 
111
+ #: lib/class-testimonials-widget-settings.php:176
112
  msgid "Keeps testimonials looking as entered than sans auto-formatting"
113
  msgstr ""
114
 
115
+ #: lib/class-testimonials-widget-settings.php:182
116
  msgid "Disable animation?"
117
  msgstr ""
118
 
119
+ #: lib/class-testimonials-widget-settings.php:183
120
  msgid ""
121
  "Disable animation between testimonial transitions. Useful when stacking "
122
  "widgets."
123
  msgstr ""
124
 
125
+ #: lib/class-testimonials-widget-settings.php:190
126
+ msgid "Fade Out Speed"
127
+ msgstr ""
128
+
129
+ #: lib/class-testimonials-widget-settings.php:191
130
+ #: lib/class-testimonials-widget-settings.php:199
131
+ msgid ""
132
+ "Transition duration in milliseconds; higher values indicate slower "
133
+ "animations, not faster ones."
134
+ msgstr ""
135
+
136
+ #: lib/class-testimonials-widget-settings.php:198
137
+ msgid "Fade In Speed"
138
+ msgstr ""
139
+
140
+ #: lib/class-testimonials-widget-settings.php:206
141
  msgid "Minimum Height"
142
  msgstr ""
143
 
144
+ #: lib/class-testimonials-widget-settings.php:207
145
  msgid "Set for minimum display height, in pixels"
146
  msgstr ""
147
 
148
+ #: lib/class-testimonials-widget-settings.php:213
149
  msgid "Maximum Height"
150
  msgstr ""
151
 
152
+ #: lib/class-testimonials-widget-settings.php:214
153
  msgid "Set for maximum display height, in pixels"
154
  msgstr ""
155
 
156
+ #: lib/class-testimonials-widget-settings.php:220
157
  msgid "Testimonial Bottom Text"
158
  msgstr ""
159
 
160
+ #: lib/class-testimonials-widget-settings.php:221
161
  msgid "Custom text or HTML for bottom of testimonials"
162
  msgstr ""
163
 
164
+ #: lib/class-testimonials-widget-settings.php:233
165
  msgid "General Options"
166
  msgstr ""
167
 
168
+ #: lib/class-testimonials-widget-settings.php:238
169
  msgid "Hide built-in quotes?"
170
  msgstr ""
171
 
172
+ #: lib/class-testimonials-widget-settings.php:239
173
  msgid "Remove open and close quote span tags surrounding testimonial content"
174
  msgstr ""
175
 
176
+ #: lib/class-testimonials-widget-settings.php:244
177
  msgid "Hide \"Testimonials Not Found\"?"
178
  msgstr ""
179
 
180
+ #: lib/class-testimonials-widget-settings.php:249
181
  msgid "Hide Gravatar Image?"
182
  msgstr ""
183
 
184
+ #: lib/class-testimonials-widget-settings.php:254
185
  msgid "Hide Image?"
186
  msgstr ""
187
 
188
+ #: lib/class-testimonials-widget-settings.php:259
189
  msgid "Hide Image in Single View?"
190
  msgstr ""
191
 
192
+ #: lib/class-testimonials-widget-settings.php:265
193
  msgid "Hide Testimonial Content?"
194
  msgstr ""
195
 
196
+ #: lib/class-testimonials-widget-settings.php:270
197
  msgid "Hide Author/Source?"
198
  msgstr ""
199
 
200
+ #: lib/class-testimonials-widget-settings.php:272
201
  msgid "Don't display \"Post Title\" in cite"
202
  msgstr ""
203
 
204
+ #: lib/class-testimonials-widget-settings.php:276
205
  msgid "Hide Email?"
206
  msgstr ""
207
 
208
+ #: lib/class-testimonials-widget-settings.php:282
209
  msgid "Hide Job Title?"
210
  msgstr ""
211
 
212
+ #: lib/class-testimonials-widget-settings.php:287
213
  msgid "Hide Location?"
214
  msgstr ""
215
 
216
+ #: lib/class-testimonials-widget-settings.php:292
217
  msgid "Hide Company?"
218
  msgstr ""
219
 
220
+ #: lib/class-testimonials-widget-settings.php:297
221
  msgid "Hide URL?"
222
  msgstr ""
223
 
224
+ #: lib/class-testimonials-widget-settings.php:302
225
  msgid "URL Target"
226
  msgstr ""
227
 
228
+ #: lib/class-testimonials-widget-settings.php:303
229
  msgid "Add target to all URLs; leave blank if none"
230
  msgstr ""
231
 
232
+ #: lib/class-testimonials-widget-settings.php:308
233
  msgid "Enable Paging?"
234
  msgstr ""
235
 
236
+ #: lib/class-testimonials-widget-settings.php:309
237
  msgid "For `[testimonialswidget_list]`"
238
  msgstr ""
239
 
240
+ #: lib/class-testimonials-widget-settings.php:312
241
  msgid "Disable"
242
  msgstr ""
243
 
244
+ #: lib/class-testimonials-widget-settings.php:313
245
  msgid "Enable"
246
  msgstr ""
247
 
248
+ #: lib/class-testimonials-widget-settings.php:314
249
  msgid "Before testimonials"
250
  msgstr ""
251
 
252
+ #: lib/class-testimonials-widget-settings.php:315
253
  msgid "After testimonials"
254
  msgstr ""
255
 
256
+ #: lib/class-testimonials-widget-settings.php:322
257
  msgid "Do [shortcodes]?"
258
  msgstr ""
259
 
260
+ #: lib/class-testimonials-widget-settings.php:323
261
  msgid "If unchecked, shortcodes are stripped."
262
  msgstr ""
263
 
264
+ #: lib/class-testimonials-widget-settings.php:334
265
  msgid "Selection Options"
266
  msgstr ""
267
 
268
+ #: lib/class-testimonials-widget-settings.php:340
269
  msgid "Category Filter"
270
  msgstr ""
271
 
272
+ #: lib/class-testimonials-widget-settings.php:341
273
  msgid "Comma separated category slug-names. Ex: category-a, another-category"
274
  msgstr ""
275
 
276
+ #: lib/class-testimonials-widget-settings.php:347
277
  msgid "Tags Filter"
278
  msgstr ""
279
 
280
+ #: lib/class-testimonials-widget-settings.php:348
281
  msgid "Comma separated tag slug-names. Ex: tag-a, another-tag"
282
  msgstr ""
283
 
284
+ #: lib/class-testimonials-widget-settings.php:354
285
  msgid "Require All Tags?"
286
  msgstr ""
287
 
288
+ #: lib/class-testimonials-widget-settings.php:355
289
  msgid "Select only testimonials with all of the given tags"
290
  msgstr ""
291
 
292
+ #: lib/class-testimonials-widget-settings.php:361
293
  msgid "Include IDs Filter"
294
  msgstr ""
295
 
296
+ #: lib/class-testimonials-widget-settings.php:362
297
+ #: lib/class-testimonials-widget-settings.php:369
298
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
299
  msgstr ""
300
 
301
+ #: lib/class-testimonials-widget-settings.php:368
302
  msgid "Exclude IDs Filter"
303
  msgstr ""
304
 
305
+ #: lib/class-testimonials-widget-settings.php:375
306
  msgid "Limit"
307
  msgstr ""
308
 
309
+ #: lib/class-testimonials-widget-settings.php:376
310
  msgid "Number of testimonials to select per instance"
311
  msgstr ""
312
 
313
+ #: lib/class-testimonials-widget-settings.php:389
314
  msgid "Ordering Options"
315
  msgstr ""
316
 
317
+ #: lib/class-testimonials-widget-settings.php:395
318
  msgid "Random Order?"
319
  msgstr ""
320
 
321
+ #: lib/class-testimonials-widget-settings.php:396
322
  msgid ""
323
  "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets "
324
  "are random by default automatically"
325
  msgstr ""
326
 
327
+ #: lib/class-testimonials-widget-settings.php:402
328
  msgid "ORDER BY"
329
  msgstr ""
330
 
331
+ #: lib/class-testimonials-widget-settings.php:403
332
  msgid "Used when \"Random Order\" is disabled"
333
  msgstr ""
334
 
335
+ #: lib/class-testimonials-widget-settings.php:406
336
  msgid "Testimonial ID"
337
  msgstr ""
338
 
339
+ #: lib/class-testimonials-widget-settings.php:407
340
  msgid "Author"
341
  msgstr ""
342
 
343
+ #: lib/class-testimonials-widget-settings.php:408 testimonials-widget.php:475
344
  msgid "Date"
345
  msgstr ""
346
 
347
+ #: lib/class-testimonials-widget-settings.php:409
348
  msgid "Menu Order"
349
  msgstr ""
350
 
351
+ #: lib/class-testimonials-widget-settings.php:410 testimonials-widget.php:467
352
  msgid "Source"
353
  msgstr ""
354
 
355
+ #: lib/class-testimonials-widget-settings.php:411
356
  msgid "No order"
357
  msgstr ""
358
 
359
+ #: lib/class-testimonials-widget-settings.php:419
360
  msgid "ORDER BY meta_key"
361
  msgstr ""
362
 
363
+ #: lib/class-testimonials-widget-settings.php:420
364
  msgid ""
365
  "Used when \"Random Order\" is disabled and sorting by a testimonials meta "
366
  "key is needed. Overrides ORDER BY"
367
  msgstr ""
368
 
369
+ #: lib/class-testimonials-widget-settings.php:423
370
  msgid "None"
371
  msgstr ""
372
 
373
+ #: lib/class-testimonials-widget-settings.php:424 testimonials-widget.php:469
374
+ #: testimonials-widget.php:1535
375
  msgid "Job Title"
376
  msgstr ""
377
 
378
+ #: lib/class-testimonials-widget-settings.php:425 testimonials-widget.php:471
379
+ #: testimonials-widget.php:1547
380
  msgid "Email"
381
  msgstr ""
382
 
383
+ #: lib/class-testimonials-widget-settings.php:426 testimonials-widget.php:470
384
+ #: testimonials-widget.php:1541
385
  msgid "Location"
386
  msgstr ""
387
 
388
+ #: lib/class-testimonials-widget-settings.php:427 testimonials-widget.php:472
389
+ #: testimonials-widget.php:1553
390
  msgid "Company"
391
  msgstr ""
392
 
393
+ #: lib/class-testimonials-widget-settings.php:428 testimonials-widget.php:473
394
+ #: testimonials-widget.php:1559
395
  msgid "URL"
396
  msgstr ""
397
 
398
+ #: lib/class-testimonials-widget-settings.php:435
399
  msgid "ORDER BY Order"
400
  msgstr ""
401
 
402
+ #: lib/class-testimonials-widget-settings.php:438
403
  msgid "Descending"
404
  msgstr ""
405
 
406
+ #: lib/class-testimonials-widget-settings.php:439
407
  msgid "Ascending"
408
  msgstr ""
409
 
410
+ #: lib/class-testimonials-widget-settings.php:453
411
  msgid "Allow Comments?"
412
  msgstr ""
413
 
414
+ #: lib/class-testimonials-widget-settings.php:454
415
  msgid ""
416
  "Only affects the Testimonials Widget post edit page. Your theme controls the "
417
  "front-end view."
418
  msgstr ""
419
 
420
+ #: lib/class-testimonials-widget-settings.php:459
421
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
422
  msgstr ""
423
 
424
+ #: lib/class-testimonials-widget-settings.php:465
425
  msgid "Archive Page URL"
426
  msgstr ""
427
 
428
+ #: lib/class-testimonials-widget-settings.php:472
429
  msgid ""
430
  "URL slug-name for testimonial view pages. Shouldn't be the same as Archive "
431
  "Page URL."
432
  msgstr ""
433
 
434
+ #: lib/class-testimonials-widget-settings.php:476
435
  msgid "Testimonial Page URL"
436
  msgstr ""
437
 
438
+ #: lib/class-testimonials-widget-settings.php:486
439
  msgid "Compatiblity Options"
440
  msgstr ""
441
 
442
+ #: lib/class-testimonials-widget-settings.php:492
443
+ msgid "Include IE7 CSS?"
444
+ msgstr ""
445
+
446
+ #: lib/class-testimonials-widget-settings.php:493
447
+ msgid "IE7 specific CSS moved to separate CSS file in version 2.13.6."
448
+ msgstr ""
449
+
450
+ #: lib/class-testimonials-widget-settings.php:504
451
  msgid "Remove `.hentry` CSS?"
452
  msgstr ""
453
 
454
+ #: lib/class-testimonials-widget-settings.php:505
455
  msgid ""
456
  "Pre 2.6.4. Some themes use class `.hentry` in a manner that breaks "
457
  "Testimonials Widgets CSS"
458
  msgstr ""
459
 
460
+ #: lib/class-testimonials-widget-settings.php:515
461
  msgid "Use `&lt;q&gt;` tag?"
462
  msgstr ""
463
 
464
+ #: lib/class-testimonials-widget-settings.php:516
465
  msgid "Pre 2.11.0. Not HTML5 compliant"
466
  msgstr ""
467
 
468
+ #: lib/class-testimonials-widget-settings.php:526
469
  msgid "Don't Use Default Taxonomies?"
470
  msgstr ""
471
 
472
+ #: lib/class-testimonials-widget-settings.php:528
473
  msgid ""
474
  "If checked, use Testimonials Widget's own category and tag taxonomies instead"
475
  msgstr ""
476
 
477
+ #: lib/class-testimonials-widget-settings.php:539
478
  msgid "Export Settings"
479
  msgstr ""
480
 
481
+ #: lib/class-testimonials-widget-settings.php:541
482
  msgid ""
483
  "These are your current settings in a serialized format. Copy the contents to "
484
  "make a backup of your settings."
485
  msgstr ""
486
 
487
+ #: lib/class-testimonials-widget-settings.php:549
488
  msgid "Import Settings"
489
  msgstr ""
490
 
491
+ #: lib/class-testimonials-widget-settings.php:551
492
  msgid ""
493
  "Paste new serialized settings here to overwrite your current configuration."
494
  msgstr ""
495
 
496
+ #: lib/class-testimonials-widget-settings.php:557
497
  msgid "Remove Plugin Data on Deletion?"
498
  msgstr ""
499
 
500
+ #: lib/class-testimonials-widget-settings.php:560
501
  msgid ""
502
  "Delete all Testimonials Widget data and options from database on plugin "
503
  "deletion"
504
  msgstr ""
505
 
506
+ #: lib/class-testimonials-widget-settings.php:566
507
  msgid "Reset to Defaults?"
508
  msgstr ""
509
 
510
+ #: lib/class-testimonials-widget-settings.php:569
511
  msgid "Check this box to reset options to their defaults"
512
  msgstr ""
513
 
514
+ #: lib/class-testimonials-widget-settings.php:669
515
+ msgid "Save Changes"
 
516
  msgstr ""
517
 
518
+ #: lib/class-testimonials-widget-settings.php:676
519
+ msgid ""
520
+ "When ready, <a href=\"%1$s\">view</a> or <a href=\"%2$s\">add</a> "
521
+ "testimonials."
522
  msgstr ""
523
 
524
+ #: lib/class-testimonials-widget-settings.php:686
525
+ msgid ""
526
+ "If you like this plugin, please <a href=\"%1$s\" title=\"Donate for Good "
527
+ "Karma\"><img src=\"%2$s\" border=\"0\" alt=\"Donate for Good Karma\" /></a> "
528
+ "or <a href=\"%3$s\" title=\"purchase Testimonials Widget Premium\">purchase "
529
+ "Testimonials Widget Premium</a> to help fund further development and <a href="
530
+ "\"%4$s\" title=\"Support forums\">support</a>."
531
+ msgstr ""
532
+
533
+ #: lib/class-testimonials-widget-settings.php:697
534
+ msgid "Copyright &copy;%1$s <a href=\"%2$s\">Aihrus</a>."
535
+ msgstr ""
536
+
537
+ #: lib/class-testimonials-widget-settings.php:1097
538
+ msgid "Required"
539
+ msgstr ""
540
+
541
+ #: lib/class-testimonials-widget-settings.php:1198
542
+ msgid "For more information:"
543
+ msgstr ""
544
+
545
+ #: lib/class-testimonials-widget-settings.php:1199
546
  msgid ""
547
  "These Testimonials Widget Settings establish the default option values for "
548
  "shortcodes, theme functions, and widget instances. Widgets, once created no "
551
  "then recreate it."
552
  msgstr ""
553
 
554
+ #: lib/class-testimonials-widget-settings.php:1202
555
+ msgid "View the <a href=\"%s\">Testimonials Widget documentation</a>."
556
  msgstr ""
557
 
558
+ #: lib/class-testimonials-widget-settings.php:1212
559
+ msgid "Show or hide optional fields."
560
  msgstr ""
561
 
562
+ #: lib/class-testimonials-widget-settings.php:1220
563
+ msgid "Options used to select testimonials."
564
+ msgstr ""
565
+
566
+ #: lib/class-testimonials-widget-settings.php:1228
567
+ msgid "Options used to determine displayed testimonials ordering."
568
+ msgstr ""
569
+
570
+ #: lib/class-testimonials-widget-settings.php:1236
571
+ msgid "Options related to showing testimonials in widgets."
572
+ msgstr ""
573
+
574
+ #: lib/class-testimonials-widget-settings.php:1244
575
+ msgid "Archive and singular page URL related testimonials options."
576
+ msgstr ""
577
+
578
+ #: lib/class-testimonials-widget-settings.php:1252
579
+ msgid "Backwards compatibility, import/export options, and reset options."
580
  msgstr ""
581
 
582
  #: lib/class-testimonials-widget-widget.php:26
583
  msgid "Display testimonials with multiple selection and display options"
584
  msgstr ""
585
 
586
+ #. #-#-#-#-# testimonials-widget.pot (Testimonials Widget 2.13.6) #-#-#-#-#
587
  #. Plugin Name of the plugin/theme
588
  #: lib/class-testimonials-widget-widget.php:37
589
  msgid "Testimonials Widget"
613
  "plugin. %s"
614
  msgstr ""
615
 
616
+ #: testimonials-widget.php:465
617
+ msgid "ID"
618
+ msgstr ""
619
+
620
+ #: testimonials-widget.php:466
621
  msgid "Image"
622
  msgstr ""
623
 
624
+ #: testimonials-widget.php:468
625
  msgid "Shortcodes"
626
  msgstr ""
627
 
628
+ #: testimonials-widget.php:474
629
  msgid "Published by"
630
  msgstr ""
631
 
632
+ #: testimonials-widget.php:480 testimonials-widget.php:483
633
  msgid "Category"
634
  msgstr ""
635
 
636
+ #: testimonials-widget.php:481 testimonials-widget.php:484
637
  msgid "Tags"
638
  msgstr ""
639
 
640
+ #: testimonials-widget.php:495
641
  msgid "Add New"
642
  msgstr ""
643
 
644
+ #: testimonials-widget.php:496 testimonials-widget.php:499
645
  msgid "Add New Testimonial"
646
  msgstr ""
647
 
648
+ #: testimonials-widget.php:497
649
  msgid "Edit Testimonial"
650
  msgstr ""
651
 
652
+ #: testimonials-widget.php:500 testimonials-widget.php:846
653
  msgid "No testimonials found"
654
  msgstr ""
655
 
656
+ #: testimonials-widget.php:501
657
  msgid "No testimonials found in Trash"
658
  msgstr ""
659
 
660
+ #: testimonials-widget.php:503
661
  msgid "Search Testimonials"
662
  msgstr ""
663
 
664
+ #: testimonials-widget.php:504 testimonials-widget.php:1647
665
  msgid "Testimonial"
666
  msgstr ""
667
 
668
+ #: testimonials-widget.php:505
669
  msgid "View Testimonial"
670
  msgstr ""
671
 
672
+ #: testimonials-widget.php:957
673
  msgid "…"
674
  msgstr ""
675
 
676
+ #: testimonials-widget.php:1277
677
  msgid "&laquo;"
678
  msgstr ""
679
 
680
+ #: testimonials-widget.php:1286
681
  msgid "&raquo;"
682
  msgstr ""
683
 
684
+ #: testimonials-widget.php:1571
685
  msgid "Testimonial Data"
686
  msgstr ""
687
 
688
+ #: testimonials-widget.php:1596
689
  msgid "Enter title here"
690
  msgstr ""
691
 
692
+ #: testimonials-widget.php:1597
693
  msgid "Enter testimonial source here"
694
  msgstr ""
695
 
696
+ #: testimonials-widget.php:1622
697
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
698
  msgstr ""
699
 
700
+ #: testimonials-widget.php:1623
701
  msgid "Custom field updated."
702
  msgstr ""
703
 
704
+ #: testimonials-widget.php:1624
705
  msgid "Custom field deleted."
706
  msgstr ""
707
 
708
+ #: testimonials-widget.php:1625
709
  msgid "Testimonial updated."
710
  msgstr ""
711
 
712
  #. translators: %s: date and time of the revision
713
+ #: testimonials-widget.php:1627
714
  msgid "Testimonial restored to revision from %s"
715
  msgstr ""
716
 
717
+ #: testimonials-widget.php:1628
718
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
719
  msgstr ""
720
 
721
+ #: testimonials-widget.php:1629
722
  msgid "Testimonial saved."
723
  msgstr ""
724
 
725
+ #: testimonials-widget.php:1630
726
  msgid ""
727
  "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</"
728
  "a>"
729
  msgstr ""
730
 
731
+ #: testimonials-widget.php:1631
732
  msgid ""
733
  "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href="
734
  "\"%2$s\">Preview testimonial</a>"
735
  msgstr ""
736
 
737
+ #: testimonials-widget.php:1632
738
  msgid ""
739
  "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview "
740
  "testimonial</a>"
lib/class-redrokk-metabox-class.php CHANGED
@@ -131,20 +131,20 @@ if ( !class_exists( 'redrokk_metabox_class' ) ):
131
  $this->setOptionHooks();
132
 
133
  if ( !$this->callback ) {
134
- $this->callback = array( &$this, 'show' );
135
  }
136
  if ( !$this->title ) {
137
  $this->title = ucfirst( $this->_id );
138
  }
139
 
140
  //registering this metabox
141
- add_action( 'add_meta_boxes', array( &$this, '_register' ) );
142
 
143
  // backwards compatible (before WP 3.0)
144
  // add_action( 'admin_init', array($this, '_register'), 1 );
145
 
146
- add_action( 'save_post', array( &$this, '_save' ) );
147
- add_filter( 'wp_redirect', array( &$this, '_redirectIntervention' ), 40, 1 );
148
  }
149
 
150
 
@@ -203,8 +203,8 @@ if ( !class_exists( 'redrokk_metabox_class' ) ):
203
  switch ( $this->_type ) {
204
  default:
205
  case 'default':
206
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderForm' ), 20, 1 );
207
- add_action( 'metabox-save-'.$this->_id, array( &$this, 'saveAsPostMeta' ), 10, 2 );
208
  break;
209
  case 'image':
210
  case 'images':
@@ -233,9 +233,9 @@ if ( !class_exists( 'redrokk_metabox_class' ) ):
233
  'type' => 'submit',
234
  ),
235
  );
236
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderListImageAttachments' ), 20, 1 );
237
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderForm' ), 20, 1 );
238
- add_action( 'metabox-save-'.$this->_id, array( &$this, 'saveAsAttachment' ), 1, 2 );
239
  break;
240
  case 'video':
241
  case 'videos':
@@ -280,10 +280,10 @@ if ( !class_exists( 'redrokk_metabox_class' ) ):
280
  'type' => 'submit',
281
  ),
282
  );
283
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderListAttachments' ), 20, 1 );
284
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderListVideoAttachments' ), 20, 1 );
285
- add_action( 'metabox-show-'.$this->_id, array( &$this, '_renderForm' ), 20, 1 );
286
- add_action( 'metabox-save-'.$this->_id, array( &$this, 'saveAsPostMeta' ), 1, 2 );
287
  break;
288
  }
289
  }
131
  $this->setOptionHooks();
132
 
133
  if ( !$this->callback ) {
134
+ $this->callback = array( $this, 'show' );
135
  }
136
  if ( !$this->title ) {
137
  $this->title = ucfirst( $this->_id );
138
  }
139
 
140
  //registering this metabox
141
+ add_action( 'add_meta_boxes', array( $this, '_register' ) );
142
 
143
  // backwards compatible (before WP 3.0)
144
  // add_action( 'admin_init', array($this, '_register'), 1 );
145
 
146
+ add_action( 'save_post', array( $this, '_save' ) );
147
+ add_filter( 'wp_redirect', array( $this, '_redirectIntervention' ), 40, 1 );
148
  }
149
 
150
 
203
  switch ( $this->_type ) {
204
  default:
205
  case 'default':
206
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderForm' ), 20, 1 );
207
+ add_action( 'metabox-save-'.$this->_id, array( $this, 'saveAsPostMeta' ), 10, 2 );
208
  break;
209
  case 'image':
210
  case 'images':
233
  'type' => 'submit',
234
  ),
235
  );
236
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderListImageAttachments' ), 20, 1 );
237
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderForm' ), 20, 1 );
238
+ add_action( 'metabox-save-'.$this->_id, array( $this, 'saveAsAttachment' ), 1, 2 );
239
  break;
240
  case 'video':
241
  case 'videos':
280
  'type' => 'submit',
281
  ),
282
  );
283
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderListAttachments' ), 20, 1 );
284
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderListVideoAttachments' ), 20, 1 );
285
+ add_action( 'metabox-show-'.$this->_id, array( $this, '_renderForm' ), 20, 1 );
286
+ add_action( 'metabox-save-'.$this->_id, array( $this, 'saveAsPostMeta' ), 1, 2 );
287
  break;
288
  }
289
  }
lib/class-testimonials-widget-settings.php CHANGED
@@ -26,7 +26,8 @@
26
  class Testimonials_Widget_Settings {
27
  const ID = 'testimonialswidget_settings';
28
 
29
- public static $default = array(
 
30
  'backwards' => array(
31
  'version' => '', // below this version number, use std
32
  'std' => '',
@@ -42,6 +43,7 @@ class Testimonials_Widget_Settings {
42
  'validate' => '', // required, term, slug, slugs, ids, order, single paramater PHP functions
43
  'widget' => 1, // show in widget options, 0 off
44
  );
 
45
  public static $defaults = array();
46
  public static $sections = array();
47
  public static $settings = array();
@@ -51,14 +53,58 @@ class Testimonials_Widget_Settings {
51
  public function __construct() {
52
  add_action( 'admin_init', array( $this, 'admin_init' ) );
53
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
54
- add_action( 'init', array( $this, 'init' ) );
55
  load_plugin_textdomain( 'testimonials-widget', false, '/testimonials-widget/languages/' );
56
  }
57
 
58
 
59
- public function init() {
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  self::sections();
61
  self::settings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
 
64
 
@@ -139,6 +185,22 @@ class Testimonials_Widget_Settings {
139
  'std' => 1,
140
  );
141
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  self::$settings['min_height'] = array(
143
  'section' => 'widget',
144
  'title' => esc_html__( 'Minimum Height', 'testimonials-widget' ),
@@ -425,6 +487,18 @@ class Testimonials_Widget_Settings {
425
  'type' => 'expand_begin',
426
  );
427
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  self::$settings['remove_hentry'] = array(
429
  'section' => 'reset',
430
  'title' => esc_html__( 'Remove `.hentry` CSS?', 'testimonials-widget' ),
@@ -545,26 +619,6 @@ class Testimonials_Widget_Settings {
545
  }
546
 
547
 
548
- public function admin_init() {
549
- $version = tw_get_option( 'version' );
550
- self::$version = Testimonials_Widget::VERSION;
551
- self::$version = apply_filters( 'testimonials_widget_version', self::$version );
552
-
553
- if ( $version != self::$version )
554
- $this->initialize_settings();
555
-
556
- $this->register_settings();
557
- }
558
-
559
-
560
- public function admin_menu() {
561
- $admin_page = add_submenu_page( 'edit.php?post_type=' . Testimonials_Widget::PT, esc_html__( 'Testimonials Widget Settings', 'testimonials-widget' ), esc_html__( 'Settings', 'testimonials-widget' ), 'manage_options', self::ID, array( 'Testimonials_Widget_Settings', 'display_page' ) );
562
-
563
- add_action( 'admin_print_scripts-' . $admin_page, array( $this, 'scripts' ) );
564
- add_action( 'admin_print_styles-' . $admin_page, array( $this, 'styles' ) );
565
- }
566
-
567
-
568
  /**
569
  *
570
  *
@@ -597,8 +651,6 @@ class Testimonials_Widget_Settings {
597
  <div class="icon32" id="icon-options-general"></div>
598
  <h2>' . esc_html__( 'Testimonials Widget Settings', 'testimonials-widget' ) . '</h2>';
599
 
600
- echo '<div class="notice"><p><b>' . esc_html__( 'These Testimonials Widget Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you\'ll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it.', 'testimonials-widget' ) . '</b></p></div>';
601
-
602
  echo '<form action="options.php" method="post">';
603
 
604
  settings_fields( self::ID );
@@ -616,24 +668,37 @@ class Testimonials_Widget_Settings {
616
  echo '
617
  <p class="submit"><input name="Submit" type="submit" class="button-primary" value="' . esc_html__( 'Save Changes', 'testimonials-widget' ) . '" /></p>
618
  </form>
619
- </div>
620
- ';
621
 
622
- echo '
623
- <p>When ready, <a href="'.get_admin_url().'edit.php?post_type=testimonials-widget">view</a>
624
- or <a href="'.get_admin_url().'post-new.php?post_type=testimonials-widget">add</a> testimonials.</p>
625
- ';
 
 
 
626
 
627
  $disable_donate = tw_get_option( 'disable_donate' );
628
  if ( ! $disable_donate ) {
629
- echo '
630
- <p>If you like this plugin, please <a href="http://aihr.us/about-aihrus/donate/" title="Donate for Good Karma"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" alt="Donate for Good Karma" /></a> or <a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/" title="purchase Testimonials Widget Premium">purchase Testimonials Widget Premium</a> to help fund further development and <a href="http://wordpress.org/support/plugin/testimonials-widget" title="Support forums">support</a>.</p>
631
- ';
 
 
 
 
 
 
632
  }
633
 
634
- $text = esc_html__( 'Copyright &copy;%1$s %2$s.', 'testimonials-widget' );
635
- $link = '<a href="http://aihr.us">Aihrus</a>';
636
- echo '<p class="copyright">' . sprintf( $text, date( 'Y' ), $link ) . '</p>';
 
 
 
 
637
 
638
  self::section_scripts();
639
 
@@ -929,15 +994,17 @@ class Testimonials_Widget_Settings {
929
  }
930
  }
931
 
932
- // same has_archive and rewrite_slug causes problems
933
- if ( $input['has_archive'] == $input['rewrite_slug'] )
934
- $input['rewrite_slug'] = $defaults['rewrite_slug'];
 
935
 
936
- // did URL slugs change?
937
- $has_archive = tw_get_option( 'has_archive' );
938
- $rewrite_slug = tw_get_option( 'rewrite_slug' );
939
- if ( $has_archive != $input['has_archive'] || $rewrite_slug != $input['rewrite_slug'] )
940
- flush_rewrite_rules();
 
941
 
942
  $input['version'] = self::$version;
943
  $input['donate_version'] = Testimonials_Widget::VERSION;
@@ -959,6 +1026,42 @@ class Testimonials_Widget_Settings {
959
  }
960
 
961
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
962
  public static function validators( $validate, $id, &$input, $default, &$errors ) {
963
  switch ( $validate ) {
964
  case 'absint':
@@ -1009,6 +1112,10 @@ class Testimonials_Widget_Settings {
1009
  $input[ $id ] = strtolower( $input[ $id ] );
1010
  break;
1011
 
 
 
 
 
1012
  default:
1013
  $input[ $id ] = $validate( $input[ $id ] );
1014
  break;
@@ -1056,6 +1163,14 @@ class Testimonials_Widget_Settings {
1056
  }
1057
 
1058
 
 
 
 
 
 
 
 
 
1059
  /**
1060
  * Let values like "true, 'true', 1, and 'yes'" to be true. Else, false
1061
  */
@@ -1074,6 +1189,74 @@ class Testimonials_Widget_Settings {
1074
  }
1075
 
1076
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1077
  }
1078
 
1079
 
26
  class Testimonials_Widget_Settings {
27
  const ID = 'testimonialswidget_settings';
28
 
29
+ public static $admin_page = '';
30
+ public static $default = array(
31
  'backwards' => array(
32
  'version' => '', // below this version number, use std
33
  'std' => '',
43
  'validate' => '', // required, term, slug, slugs, ids, order, single paramater PHP functions
44
  'widget' => 1, // show in widget options, 0 off
45
  );
46
+
47
  public static $defaults = array();
48
  public static $sections = array();
49
  public static $settings = array();
53
  public function __construct() {
54
  add_action( 'admin_init', array( $this, 'admin_init' ) );
55
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
 
56
  load_plugin_textdomain( 'testimonials-widget', false, '/testimonials-widget/languages/' );
57
  }
58
 
59
 
60
+ public function admin_init() {
61
+ add_filter( 'wp_unique_post_slug_is_bad_hierarchical_slug', array( $this, 'is_bad_hierarchical_slug' ), 10, 4 );
62
+ add_filter( 'wp_unique_post_slug_is_bad_flat_slug', array( $this, 'is_bad_flat_slug' ), 10, 3 );
63
+
64
+ $version = tw_get_option( 'version' );
65
+ self::$version = Testimonials_Widget::VERSION;
66
+ self::$version = apply_filters( 'testimonials_widget_version', self::$version );
67
+
68
+ if ( $version != self::$version )
69
+ $this->initialize_settings();
70
+
71
+ if ( ! self::do_load() )
72
+ return;
73
+
74
  self::sections();
75
  self::settings();
76
+
77
+ $this->register_settings();
78
+ }
79
+
80
+
81
+ public function admin_menu() {
82
+ self::$admin_page = add_submenu_page( 'edit.php?post_type=' . Testimonials_Widget::PT, esc_html__( 'Testimonials Widget Settings', 'testimonials-widget' ), esc_html__( 'Settings', 'testimonials-widget' ), 'manage_options', self::ID, array( 'Testimonials_Widget_Settings', 'display_page' ) );
83
+
84
+ add_action( 'admin_print_scripts-' . self::$admin_page, array( $this, 'scripts' ) );
85
+ add_action( 'admin_print_styles-' . self::$admin_page, array( $this, 'styles' ) );
86
+ add_action( 'load-' . self::$admin_page, array( $this, 'settings_add_help_tabs' ) );
87
+ }
88
+
89
+
90
+ /**
91
+ *
92
+ *
93
+ * @SuppressWarnings(PHPMD.Superglobals)
94
+ */
95
+ public static function do_load() {
96
+ $do_load = false;
97
+ if ( ! empty( $GLOBALS['pagenow'] ) && in_array( $GLOBALS['pagenow'], array( 'options.php' ) ) ) {
98
+ $do_load = true;
99
+ } elseif ( ! empty( $_REQUEST['post_type'] ) && Testimonials_Widget::PT == $_REQUEST['post_type'] ) {
100
+ if ( ! empty( $GLOBALS['pagenow'] ) && in_array( $GLOBALS['pagenow'], array( 'edit.php' ) ) ) {
101
+ $do_load = true;
102
+ } elseif ( ! empty( $_REQUEST['page'] ) && self::ID == $_REQUEST['page'] ) {
103
+ $do_load = true;
104
+ }
105
+ }
106
+
107
+ return $do_load;
108
  }
109
 
110
 
185
  'std' => 1,
186
  );
187
 
188
+ self::$settings['fade_out_speed'] = array(
189
+ 'section' => 'widget',
190
+ 'title' => esc_html__( 'Fade Out Speed', 'testimonials-widget' ),
191
+ 'desc' => esc_html__( 'Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
192
+ 'std' => 1250,
193
+ 'validate' => 'absint',
194
+ );
195
+
196
+ self::$settings['fade_in_speed'] = array(
197
+ 'section' => 'widget',
198
+ 'title' => esc_html__( 'Fade In Speed', 'testimonials-widget' ),
199
+ 'desc' => esc_html__( 'Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
200
+ 'std' => 500,
201
+ 'validate' => 'absint',
202
+ );
203
+
204
  self::$settings['min_height'] = array(
205
  'section' => 'widget',
206
  'title' => esc_html__( 'Minimum Height', 'testimonials-widget' ),
487
  'type' => 'expand_begin',
488
  );
489
 
490
+ self::$settings['include_ie7_css'] = array(
491
+ 'section' => 'reset',
492
+ 'title' => esc_html__( 'Include IE7 CSS?', 'testimonials-widget' ),
493
+ 'desc' => esc_html__( 'IE7 specific CSS moved to separate CSS file in version 2.13.6.', 'testimonials-widget' ),
494
+ 'type' => 'checkbox',
495
+ 'backwards' => array(
496
+ 'version' => '2.13.6',
497
+ 'std' => 1,
498
+ ),
499
+ 'widget' => 1,
500
+ );
501
+
502
  self::$settings['remove_hentry'] = array(
503
  'section' => 'reset',
504
  'title' => esc_html__( 'Remove `.hentry` CSS?', 'testimonials-widget' ),
619
  }
620
 
621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  /**
623
  *
624
  *
651
  <div class="icon32" id="icon-options-general"></div>
652
  <h2>' . esc_html__( 'Testimonials Widget Settings', 'testimonials-widget' ) . '</h2>';
653
 
 
 
654
  echo '<form action="options.php" method="post">';
655
 
656
  settings_fields( self::ID );
668
  echo '
669
  <p class="submit"><input name="Submit" type="submit" class="button-primary" value="' . esc_html__( 'Save Changes', 'testimonials-widget' ) . '" /></p>
670
  </form>
671
+ </div>
672
+ ';
673
 
674
+ echo '<p>' .
675
+ sprintf(
676
+ __( 'When ready, <a href="%1$s">view</a> or <a href="%2$s">add</a> testimonials.', 'testimonials-widget' ),
677
+ esc_url( get_admin_url() . 'edit.php?post_type=testimonials-widget' ),
678
+ esc_url( get_admin_url() . 'post-new.php?post_type=testimonials-widget' )
679
+ ) .
680
+ '</p>';
681
 
682
  $disable_donate = tw_get_option( 'disable_donate' );
683
  if ( ! $disable_donate ) {
684
+ echo '<p>' .
685
+ sprintf(
686
+ __( 'If you like this plugin, please <a href="%1$s" title="Donate for Good Karma"><img src="%2$s" border="0" alt="Donate for Good Karma" /></a> or <a href="%3$s" title="purchase Testimonials Widget Premium">purchase Testimonials Widget Premium</a> to help fund further development and <a href="%4$s" title="Support forums">support</a>.', 'testimonials-widget' ),
687
+ esc_url( 'http://aihr.us/about-aihrus/donate/' ),
688
+ esc_url( 'https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif' ),
689
+ esc_url( 'http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/' ),
690
+ esc_url( 'https://aihrus.zendesk.com/categories/20104507-Testimonials-Widget' )
691
+ ) .
692
+ '</p>';
693
  }
694
 
695
+ echo '<p class="copyright">' .
696
+ sprintf(
697
+ __( 'Copyright &copy;%1$s <a href="%2$s">Aihrus</a>.', 'testimonials-widget' ),
698
+ date( 'Y' ),
699
+ esc_url( 'http://aihr.us' )
700
+ ) .
701
+ '</p>';
702
 
703
  self::section_scripts();
704
 
994
  }
995
  }
996
 
997
+ if ( isset( $input['has_archive'] ) && isset( $input['rewrite_slug'] ) ) {
998
+ // same has_archive and rewrite_slug causes problems
999
+ if ( $input['has_archive'] == $input['rewrite_slug'] )
1000
+ $input['rewrite_slug'] = $defaults['rewrite_slug'];
1001
 
1002
+ // did URL slugs change?
1003
+ $has_archive = tw_get_option( 'has_archive' );
1004
+ $rewrite_slug = tw_get_option( 'rewrite_slug' );
1005
+ if ( $has_archive != $input['has_archive'] || $rewrite_slug != $input['rewrite_slug'] )
1006
+ flush_rewrite_rules();
1007
+ }
1008
 
1009
  $input['version'] = self::$version;
1010
  $input['donate_version'] = Testimonials_Widget::VERSION;
1026
  }
1027
 
1028
 
1029
+ /**
1030
+ *
1031
+ *
1032
+ * @SuppressWarnings(PHPMD.LongVariable)
1033
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
1034
+ */
1035
+ public function is_bad_hierarchical_slug( $is_bad_hierarchical_slug, $slug, $post_type, $post_parent ) {
1036
+ // This post has no parent and is a "base" post
1037
+ if ( ! $post_parent && self::is_cpt_slug( $slug ) )
1038
+ return true;
1039
+
1040
+ return $is_bad_hierarchical_slug;
1041
+ }
1042
+
1043
+
1044
+ /**
1045
+ *
1046
+ *
1047
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
1048
+ */
1049
+ public function is_bad_flat_slug( $is_bad_flat_slug, $slug, $post_type ) {
1050
+ if ( self::is_cpt_slug( $slug ) )
1051
+ return true;
1052
+
1053
+ return $is_bad_flat_slug;
1054
+ }
1055
+
1056
+
1057
+ public static function is_cpt_slug( $slug ) {
1058
+ $has_archive = tw_get_option( 'has_archive' );
1059
+ $rewrite_slug = tw_get_option( 'rewrite_slug' );
1060
+
1061
+ return in_array( $slug, array( $has_archive, $rewrite_slug ) );
1062
+ }
1063
+
1064
+
1065
  public static function validators( $validate, $id, &$input, $default, &$errors ) {
1066
  switch ( $validate ) {
1067
  case 'absint':
1112
  $input[ $id ] = strtolower( $input[ $id ] );
1113
  break;
1114
 
1115
+ case 'url':
1116
+ $input[ $id ] = self::validate_url( $input[ $id ], $default );
1117
+ break;
1118
+
1119
  default:
1120
  $input[ $id ] = $validate( $input[ $id ] );
1121
  break;
1163
  }
1164
 
1165
 
1166
+ public static function validate_url( $input, $default ) {
1167
+ if ( filter_var( $input, FILTER_VALIDATE_URL ) )
1168
+ return $input;
1169
+
1170
+ return $default;
1171
+ }
1172
+
1173
+
1174
  /**
1175
  * Let values like "true, 'true', 1, and 'yes'" to be true. Else, false
1176
  */
1189
  }
1190
 
1191
 
1192
+ public function settings_add_help_tabs() {
1193
+ $screen = get_current_screen();
1194
+ if ( self::$admin_page != $screen->id )
1195
+ return;
1196
+
1197
+ $screen->set_help_sidebar(
1198
+ '<p><strong>' . esc_html__( 'For more information:', 'testimonials-widget' ) . '</strong></p><p>' .
1199
+ esc_html__( 'These Testimonials Widget Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you\'ll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it.', 'testimonials-widget' ) .
1200
+ '</p><p>' .
1201
+ sprintf(
1202
+ __( 'View the <a href="%s">Testimonials Widget documentation</a>.', 'testimonials-widget' ),
1203
+ esc_url( 'http://wordpress.org/plugins/testimonials-widget/' )
1204
+ ) .
1205
+ '</p>'
1206
+ );
1207
+
1208
+ $screen->add_help_tab(
1209
+ array(
1210
+ 'id' => 'tw-general',
1211
+ 'title' => esc_html__( 'General', 'testimonials-widget' ),
1212
+ 'content' => '<p>' . esc_html__( 'Show or hide optional fields.', 'testimonials-widget' ) . '</p>'
1213
+ )
1214
+ );
1215
+
1216
+ $screen->add_help_tab(
1217
+ array(
1218
+ 'id' => 'tw-selection',
1219
+ 'title' => esc_html__( 'Selection', 'testimonials-widget' ),
1220
+ 'content' => '<p>' . esc_html__( 'Options used to select testimonials.', 'testimonials-widget' ) . '</p>'
1221
+ )
1222
+ );
1223
+
1224
+ $screen->add_help_tab(
1225
+ array(
1226
+ 'id' => 'tw-ordering',
1227
+ 'title' => esc_html__( 'Ordering', 'testimonials-widget' ),
1228
+ 'content' => '<p>' . esc_html__( 'Options used to determine displayed testimonials ordering.', 'testimonials-widget' ) . '</p>'
1229
+ )
1230
+ );
1231
+
1232
+ $screen->add_help_tab(
1233
+ array(
1234
+ 'id' => 'tw-widget',
1235
+ 'title' => esc_html__( 'Widget', 'testimonials-widget' ),
1236
+ 'content' => '<p>' . esc_html__( 'Options related to showing testimonials in widgets.', 'testimonials-widget' ) . '</p>'
1237
+ )
1238
+ );
1239
+
1240
+ $screen->add_help_tab(
1241
+ array(
1242
+ 'id' => 'tw-post_type',
1243
+ 'title' => esc_html__( 'Post Type', 'testimonials-widget' ),
1244
+ 'content' => '<p>' . esc_html__( 'Archive and singular page URL related testimonials options.', 'testimonials-widget' ) . '</p>'
1245
+ )
1246
+ );
1247
+
1248
+ $screen->add_help_tab(
1249
+ array(
1250
+ 'id' => 'tw-reset',
1251
+ 'title' => esc_html__( 'Compatibility & Reset', 'testimonials-widget' ),
1252
+ 'content' => '<p>' . esc_html__( 'Backwards compatibility, import/export options, and reset options.', 'testimonials-widget' ) . '</p>'
1253
+ )
1254
+ );
1255
+
1256
+ do_action( 'testimonials_widget_settings_add_help_tabs', $screen );
1257
+ }
1258
+
1259
+
1260
  }
1261
 
1262
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://aihr.us/about-aihrus/donate/
5
  Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
6
  Requires at least: 3.4
7
  Tested up to: 3.6.1
8
- Stable tag: 2.13.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -48,15 +48,21 @@ The single testimonial view supports image, source, title, location, email, comp
48
  Testimonials Widget Premium plugin extends the best [Testimonials Widget](http://wordpress.org/extend/plugins/testimonials-widget/) plugin for WordPress with [caching, excerpts, filters, read more links](http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/), more selection options, and advanced capabilities like selecting posts, pages and other custom post types as testimonials. Additionally, users can add testimonials via a front-end form shortcode or widget.
49
 
50
  * "Read more" link column on testimonial posts admin page
 
51
  * Akismet anti-spam checking
52
  * Alternate destinations for "Read more" links
53
  * Alternating `.even` and `.odd` CSS classes for styling testimonial list entries
 
54
  * Built-in update notification
 
55
  * Caching of testimonials queries and content to decrease server load time improve page loading speed by 1/10 to 1/2 a second
 
 
56
  * Deactivates self if no active or incorrect version of Testimonials Widget plugin
57
  * Default post author, category, and status options for user testimonial submissions
58
  * Deletes old and related testimonial cache entries automatically
59
  * Disable caching for widget, shortcode or theme functions
 
60
  * Email notification for user submitted testimonials
61
  * Excerpts for widget view, with read more link to complete testimonial
62
  * Filters for caching and more link control, text replacement, and more
@@ -78,12 +84,21 @@ Testimonials Widget Premium plugin extends the best [Testimonials Widget](http:/
78
  * Show excerpts with list and single views
79
  * Show unique testimonials on page with multiple testimonial instances
80
  * Testimonial links listing with image, source, title, location, company, and URL fields
 
 
81
  * WPML compatible
82
 
 
 
 
 
 
 
83
  [Buy Testimonials Widget Premium](http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/) plugin for WordPress.
84
 
85
  = Additional Testimonials Widget Features =
86
 
 
87
  * Auto-migration from pre-2.0.0 custom table to new Testimonials Widget custom post type
88
  * Automatic linking of email and URL fields via source or company fields
89
  * Clickable widget titles
@@ -101,13 +116,16 @@ Testimonials Widget Premium plugin extends the best [Testimonials Widget](http:/
101
  * Easy to configure Next and Previous page indicators
102
  * Editors and admins can edit testimonial publisher
103
  * Flush URLs on deactivation
 
104
  * IE7 CSS hacks for quotes and join parts
105
  * Image, email based Gravatar, category and tag enabled
106
  * Internal version tracking for compatibility checks and automatic settings update
107
  * Localizable via `languages/testimonials-widget.pot`
108
  * Optional commenting on testimonial single-view pages
 
109
  * Respects meta capabilities
110
  * Rotation JavaScript in footer than body
 
111
  * Shortcodes allowed inside of testimonials content
112
  * Supports [WP-PageNavi](http://wordpress.org/extend/plugins/wp-pagenavi/)
113
  * Testimonial content supports HTML
@@ -212,6 +230,10 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
212
  * `height` - default none; height=300
213
  * Disable animation? - Disable animation between testimonial transitions. Useful when stacking.
214
  * `disable_animation` - default false; disable_animation=true
 
 
 
 
215
  * Minimum Height - Set for minimum display height, in pixels
216
  * `min_height` - default none; min_height=100
217
  * Maximum Height - Set for maximum display height, in pixels
@@ -229,6 +251,7 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
229
 
230
  **Compatibility & Reset**
231
 
 
232
  * Remove `.hentry` CSS? – Some themes use class `.hentry` in a manner that breaks Testimonials Widgets CSS
233
  * `remove_hentry` - default none; remove_hentry=true
234
  * Use `<q>` tag? – Pre 2.11.0. Not HTML5 compliant
@@ -375,6 +398,10 @@ See [Changelog](https://github.com/michael-cannon/testimonials-widget/blob/maste
375
 
376
  == Upgrade Notice ==
377
 
 
 
 
 
378
  = 2.12.0 =
379
 
380
  * CSS and JavaScript renaming
5
  Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
6
  Requires at least: 3.4
7
  Tested up to: 3.6.1
8
+ Stable tag: 2.13.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
48
  Testimonials Widget Premium plugin extends the best [Testimonials Widget](http://wordpress.org/extend/plugins/testimonials-widget/) plugin for WordPress with [caching, excerpts, filters, read more links](http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/), more selection options, and advanced capabilities like selecting posts, pages and other custom post types as testimonials. Additionally, users can add testimonials via a front-end form shortcode or widget.
49
 
50
  * "Read more" link column on testimonial posts admin page
51
+ * Admin mode only anti-spam debug help text
52
  * Akismet anti-spam checking
53
  * Alternate destinations for "Read more" links
54
  * Alternating `.even` and `.odd` CSS classes for styling testimonial list entries
55
+ * Automatically change to the next testimonial, per the sort order, whenever a user navigates to another page.
56
  * Built-in update notification
57
+ * Cache per page when you use custom testimonials instance per page
58
  * Caching of testimonials queries and content to decrease server load time improve page loading speed by 1/10 to 1/2 a second
59
+ * Clear cache when WP Super Cache, FlexiCache, Hyper Cache, DB Cache Reloaded Fix does
60
+ * CSS or HTML table based testimonials submissions form layout
61
  * Deactivates self if no active or incorrect version of Testimonials Widget plugin
62
  * Default post author, category, and status options for user testimonial submissions
63
  * Deletes old and related testimonial cache entries automatically
64
  * Disable caching for widget, shortcode or theme functions
65
+ * Disable donate and purchase related text and links
66
  * Email notification for user submitted testimonials
67
  * Excerpts for widget view, with read more link to complete testimonial
68
  * Filters for caching and more link control, text replacement, and more
84
  * Show excerpts with list and single views
85
  * Show unique testimonials on page with multiple testimonial instances
86
  * Testimonial links listing with image, source, title, location, company, and URL fields
87
+ * Upload images by browsing or URL
88
+ * WP Admin > Testmonials > Clear Cache menu link
89
  * WPML compatible
90
 
91
+ = Premium Shortcodes =
92
+
93
+ * Count of testimonials `[[testimonialswidgetpremium_count]]`
94
+ * List of testimonial source and title linking to full entry `[[testimonialswidgetpremium_link_list]]`
95
+ * Testimonials entry form `[[testimonialswidgetpremium_form]]`
96
+
97
  [Buy Testimonials Widget Premium](http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/) plugin for WordPress.
98
 
99
  = Additional Testimonials Widget Features =
100
 
101
+ * Adjustable animation speed
102
  * Auto-migration from pre-2.0.0 custom table to new Testimonials Widget custom post type
103
  * Automatic linking of email and URL fields via source or company fields
104
  * Clickable widget titles
116
  * Easy to configure Next and Previous page indicators
117
  * Editors and admins can edit testimonial publisher
118
  * Flush URLs on deactivation
119
+ * IDs column shown in testimonials edit page
120
  * IE7 CSS hacks for quotes and join parts
121
  * Image, email based Gravatar, category and tag enabled
122
  * Internal version tracking for compatibility checks and automatic settings update
123
  * Localizable via `languages/testimonials-widget.pot`
124
  * Optional commenting on testimonial single-view pages
125
+ * Performance optimizations
126
  * Respects meta capabilities
127
  * Rotation JavaScript in footer than body
128
+ * Settings page contextual help
129
  * Shortcodes allowed inside of testimonials content
130
  * Supports [WP-PageNavi](http://wordpress.org/extend/plugins/wp-pagenavi/)
131
  * Testimonial content supports HTML
230
  * `height` - default none; height=300
231
  * Disable animation? - Disable animation between testimonial transitions. Useful when stacking.
232
  * `disable_animation` - default false; disable_animation=true
233
+ * Fade Out Speed - Transition duration in milliseconds; higher values indicate slower animations, not faster ones.
234
+ * `fade_out_speed` - default 1250; fade_out_speed=400
235
+ * Fade In Speed - Transition duration in milliseconds; higher values indicate slower animations, not faster ones.
236
+ * `fade_in_speed` - default 500; fade_in_speed=800
237
  * Minimum Height - Set for minimum display height, in pixels
238
  * `min_height` - default none; min_height=100
239
  * Maximum Height - Set for maximum display height, in pixels
251
 
252
  **Compatibility & Reset**
253
 
254
+ * Include IE7 CSS? - IE7 specific CSS moved to separate CSS file in version 2.13.6.
255
  * Remove `.hentry` CSS? – Some themes use class `.hentry` in a manner that breaks Testimonials Widgets CSS
256
  * `remove_hentry` - default none; remove_hentry=true
257
  * Use `<q>` tag? – Pre 2.11.0. Not HTML5 compliant
398
 
399
  == Upgrade Notice ==
400
 
401
+ = 2.13.6 =
402
+
403
+ * IE 7 CSS moved to separate file. Include via Testimonials > Settings if needed
404
+
405
  = 2.12.0 =
406
 
407
  * CSS and JavaScript renaming
testimonials-widget-ie7.css ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*csslint star-property-hack: false*/
2
+ .testimonials-widget-testimonial .open-quote {
3
+ *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '“' );
4
+ }
5
+
6
+ .testimonials-widget-testimonial .close-quote {
7
+ *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '”' );
8
+ }
9
+
10
+ .testimonials-widget-testimonial .join-title,
11
+ .testimonials-widget-testimonial .join-location,
12
+ .testimonials-widget-testimonial .join {
13
+ /* section between source and company information */
14
+ *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ', ' );
15
+ }
testimonials-widget.css CHANGED
@@ -37,7 +37,7 @@
37
 
38
  .widget .testimonials-widget-testimonial .image {
39
  display: block;
40
- float: initial;
41
  }
42
 
43
  .testimonials-widget-testimonial q,
@@ -46,18 +46,10 @@
46
  quotes: none;
47
  }
48
 
49
- .testimonials-widget-testimonial .open-quote {
50
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '“' );
51
- }
52
-
53
  .testimonials-widget-testimonial .open-quote:before {
54
  content: '\201C';
55
  }
56
 
57
- .testimonials-widget-testimonial .close-quote {
58
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '”' );
59
- }
60
-
61
  .testimonials-widget-testimonial .close-quote:after {
62
  content: '\201D';
63
  }
@@ -87,13 +79,6 @@
87
  content: "– "
88
  }
89
 
90
- .testimonials-widget-testimonial .join-title,
91
- .testimonials-widget-testimonial .join-location,
92
- .testimonials-widget-testimonial .join {
93
- /* section between source and company information */
94
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ', ' );
95
- }
96
-
97
  .testimonials-widget-testimonial .join-title:before,
98
  .testimonials-widget-testimonial .join-location:before,
99
  .testimonials-widget-testimonial .join:before {
37
 
38
  .widget .testimonials-widget-testimonial .image {
39
  display: block;
40
+ float: none;
41
  }
42
 
43
  .testimonials-widget-testimonial q,
46
  quotes: none;
47
  }
48
 
 
 
 
 
49
  .testimonials-widget-testimonial .open-quote:before {
50
  content: '\201C';
51
  }
52
 
 
 
 
 
53
  .testimonials-widget-testimonial .close-quote:after {
54
  content: '\201D';
55
  }
79
  content: "– "
80
  }
81
 
 
 
 
 
 
 
 
82
  .testimonials-widget-testimonial .join-title:before,
83
  .testimonials-widget-testimonial .join-location:before,
84
  .testimonials-widget-testimonial .join:before {
testimonials-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Testimonials Widget
4
  * Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
5
  * Description: Testimonials Widget plugin allows you to display random or selected portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
6
- * Version: 2.13.5
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
9
  * License: GPLv2 or later
@@ -28,7 +28,7 @@ class Testimonials_Widget {
28
  const OLD_NAME = 'testimonialswidget';
29
  const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
30
  const PT = 'testimonials-widget';
31
- const VERSION = '2.13.5';
32
 
33
  private static $base = null;
34
  private static $max_num_pages = 0;
@@ -61,6 +61,15 @@ class Testimonials_Widget {
61
 
62
 
63
  public function admin_init() {
 
 
 
 
 
 
 
 
 
64
  self::$settings_link = '<a href="' . get_admin_url() . 'edit.php?post_type=' . Testimonials_Widget::PT . '&page=' . Testimonials_Widget_Settings::ID . '">' . esc_html__( 'Settings', 'testimonials-widget' ) . '</a>';
65
 
66
  $this->add_meta_box_testimonials_widget();
@@ -80,18 +89,9 @@ class Testimonials_Widget {
80
  public function init() {
81
  add_filter( 'the_content', array( $this, 'get_single' ) );
82
  load_plugin_textdomain( self::PT, false, 'testimonials-widget/languages' );
83
- self::$base = plugin_basename( __FILE__ );
84
- self::$cpt_category = self::PT . '-category';
85
- self::$cpt_tags = self::PT . '-post_tag';
86
- self::$donate_button = <<<EOD
87
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
88
- <input type="hidden" name="cmd" value="_s-xclick">
89
- <input type="hidden" name="hosted_button_id" value="WM4F995W9LHXE">
90
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
91
- <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
92
- </form>
93
- EOD;
94
-
95
  self::init_post_type();
96
  self::styles();
97
  }
@@ -238,7 +238,7 @@ EOD;
238
 
239
  $disable_donate = tw_get_option( 'disable_donate' );
240
  if ( $disable_donate )
241
- return;
242
 
243
  $links = array(
244
  '<a href="http://aihr.us/about-aihrus/donate/"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" alt="PayPal - The safer, easier way to pay online!" /></a>',
@@ -396,6 +396,10 @@ EOD;
396
  $result = false;
397
 
398
  switch ( $column ) {
 
 
 
 
399
  case 'shortcode':
400
  $result = '[testimonialswidget_list ids="';
401
  $result .= $post_id;
@@ -458,6 +462,7 @@ EOD;
458
  // order of keys matches column ordering
459
  $columns = array(
460
  'cb' => '<input type="checkbox" />',
 
461
  'thumbnail' => esc_html__( 'Image', 'testimonials-widget' ),
462
  'title' => esc_html__( 'Source', 'testimonials-widget' ),
463
  'shortcode' => esc_html__( 'Shortcodes', 'testimonials-widget' ),
@@ -672,6 +677,9 @@ EOD;
672
 
673
 
674
  public static function scripts( $atts ) {
 
 
 
675
  wp_enqueue_script( 'jquery' );
676
 
677
  do_action( 'testimonials_widget_scripts', $atts );
@@ -679,8 +687,17 @@ EOD;
679
 
680
 
681
  public static function styles() {
 
 
 
682
  wp_register_style( 'testimonials-widget', plugins_url( 'testimonials-widget.css', __FILE__ ) );
683
  wp_enqueue_style( 'testimonials-widget' );
 
 
 
 
 
 
684
  }
685
 
686
 
@@ -734,6 +751,8 @@ EOF;
734
  $tw_wrapper = 'tw_wrapper' . $widget_number;
735
 
736
  $disable_animation = $atts['disable_animation'];
 
 
737
  $height = $atts['height'];
738
  $max_height = $atts['max_height'];
739
  $min_height = $atts['min_height'];
@@ -758,9 +777,9 @@ function nextTestimonial{$widget_number}() {
758
  var active = jQuery('.{$id_base} .active');
759
  var next = (jQuery('.{$id_base} .active').next().length > 0) ? jQuery('.{$id_base} .active').next() : jQuery('.{$id_base} .testimonials-widget-testimonial:first-child');
760
 
761
- active.fadeOut(1250, function(){
762
  active.removeClass('active');
763
- next.fadeIn(500);
764
  next.removeClass('display-none');
765
  next.addClass('active');
766
 
@@ -1360,8 +1379,7 @@ EOF;
1360
  }
1361
 
1362
  if ( $exclude ) {
1363
- $exclude = explode( ',', $exclude );
1364
-
1365
  $args['post__not_in'] = $exclude;
1366
  }
1367
 
3
  * Plugin Name: Testimonials Widget
4
  * Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
5
  * Description: Testimonials Widget plugin allows you to display random or selected portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
6
+ * Version: 2.13.6
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
9
  * License: GPLv2 or later
28
  const OLD_NAME = 'testimonialswidget';
29
  const PLUGIN_FILE = 'testimonials-widget/testimonials-widget.php';
30
  const PT = 'testimonials-widget';
31
+ const VERSION = '2.13.6';
32
 
33
  private static $base = null;
34
  private static $max_num_pages = 0;
61
 
62
 
63
  public function admin_init() {
64
+ self::$donate_button = <<<EOD
65
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
66
+ <input type="hidden" name="cmd" value="_s-xclick">
67
+ <input type="hidden" name="hosted_button_id" value="WM4F995W9LHXE">
68
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
69
+ <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
70
+ </form>
71
+ EOD;
72
+
73
  self::$settings_link = '<a href="' . get_admin_url() . 'edit.php?post_type=' . Testimonials_Widget::PT . '&page=' . Testimonials_Widget_Settings::ID . '">' . esc_html__( 'Settings', 'testimonials-widget' ) . '</a>';
74
 
75
  $this->add_meta_box_testimonials_widget();
89
  public function init() {
90
  add_filter( 'the_content', array( $this, 'get_single' ) );
91
  load_plugin_textdomain( self::PT, false, 'testimonials-widget/languages' );
92
+ self::$base = plugin_basename( __FILE__ );
93
+ self::$cpt_category = self::PT . '-category';
94
+ self::$cpt_tags = self::PT . '-post_tag';
 
 
 
 
 
 
 
 
 
95
  self::init_post_type();
96
  self::styles();
97
  }
238
 
239
  $disable_donate = tw_get_option( 'disable_donate' );
240
  if ( $disable_donate )
241
+ return $input;
242
 
243
  $links = array(
244
  '<a href="http://aihr.us/about-aihrus/donate/"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" alt="PayPal - The safer, easier way to pay online!" /></a>',
396
  $result = false;
397
 
398
  switch ( $column ) {
399
+ case 'id':
400
+ $result = $post_id;
401
+ break;
402
+
403
  case 'shortcode':
404
  $result = '[testimonialswidget_list ids="';
405
  $result .= $post_id;
462
  // order of keys matches column ordering
463
  $columns = array(
464
  'cb' => '<input type="checkbox" />',
465
+ 'id' => esc_html__( 'ID', 'testimonials-widget' ),
466
  'thumbnail' => esc_html__( 'Image', 'testimonials-widget' ),
467
  'title' => esc_html__( 'Source', 'testimonials-widget' ),
468
  'shortcode' => esc_html__( 'Shortcodes', 'testimonials-widget' ),
677
 
678
 
679
  public static function scripts( $atts ) {
680
+ if ( is_admin() )
681
+ return;
682
+
683
  wp_enqueue_script( 'jquery' );
684
 
685
  do_action( 'testimonials_widget_scripts', $atts );
687
 
688
 
689
  public static function styles() {
690
+ if ( is_admin() )
691
+ return;
692
+
693
  wp_register_style( 'testimonials-widget', plugins_url( 'testimonials-widget.css', __FILE__ ) );
694
  wp_enqueue_style( 'testimonials-widget' );
695
+
696
+ $include_ie7_css = tw_get_option( 'include_ie7_css' );
697
+ if ( $include_ie7_css ) {
698
+ wp_register_style( 'testimonials-widget-ie7', plugins_url( 'testimonials-widget-ie7.css', __FILE__ ) );
699
+ wp_enqueue_style( 'testimonials-widget-ie7' );
700
+ }
701
  }
702
 
703
 
751
  $tw_wrapper = 'tw_wrapper' . $widget_number;
752
 
753
  $disable_animation = $atts['disable_animation'];
754
+ $fade_in_speed = $atts['fade_in_speed'];
755
+ $fade_out_speed = $atts['fade_out_speed'];
756
  $height = $atts['height'];
757
  $max_height = $atts['max_height'];
758
  $min_height = $atts['min_height'];
777
  var active = jQuery('.{$id_base} .active');
778
  var next = (jQuery('.{$id_base} .active').next().length > 0) ? jQuery('.{$id_base} .active').next() : jQuery('.{$id_base} .testimonials-widget-testimonial:first-child');
779
 
780
+ active.fadeOut({$fade_out_speed}, function(){
781
  active.removeClass('active');
782
+ next.fadeIn({$fade_in_speed});
783
  next.removeClass('display-none');
784
  next.addClass('active');
785
 
1379
  }
1380
 
1381
  if ( $exclude ) {
1382
+ $exclude = explode( ',', $exclude );
 
1383
  $args['post__not_in'] = $exclude;
1384
  }
1385