Testimonials Widget - Version 2.17.1

Version Description

= 2.16.0 =

  • Requires PHP 5.3+

= 2.15.0 =

  • If upgrading, bxSlider will not be enabled by default. You must enable it in your widget and global settings. CSS customizations must be reviewed to have the .active and .display-none classes removed. The main .testimonials-widget-testimonial class also need the display: none; and clear: left; removed.

= 2.14.0 =

  • 60 modifications See Changelog
  • CSS wp_register_style and wp_enqueue_style slug changed from 'testimonials-widget' to 'Testimonials_Widget'
  • Gravatar image size now based upon Thumbnail size in Media Settings
  • Scripts ksort removed. Use array_unshift in your testimonials_widget_testimonials_js filters instead.
  • Testimonials > Settings, General tab, option Enable Review Schema? is enabled by default.

= 2.13.6 =

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

= 2.12.0 =

  • CSS and JavaScript renaming
    • bottom_text renamed to bottom-text
    • close_quote renamed to close-quote
    • display_none renamed to display-none
    • join_location renamed to join-location
    • join_title renamed to join-title
    • open_quote renamed to open-quote
    • testimonialswidget_testimonial renamed to testimonials-widget-testimonial
    • testimonialswidget_testimonials renamed to testimonials-widget-testimonials

= 2.11.3 =

  • Correct filter name testimonials_widget_next_posts_link to testimonials_widget_next_posts_link_text

= 2.11.0 =

  • CSS class names are simplified. For the most part, other than testimonialswidget_testimonial remove testimonialswidget_ from the CSS class name in your CSS customizations.
    • Ex: .testimonialswidget_join becomes .join
    • Ex: .testimonialswidget_author becomes .author
  • Testimonials are now formatted using blockquote than q for HTML5 compliance. If you need q tag formatting, enable it at WP Admin > Testimonials > Settings, Compatibility & Reset tab
    • cite is now div.credit

= 2.8.0 =

  • Deprecated
    • hide_author now hide_source
  • Removed filters testimonials_widget_options_update, testimonials_widget_options_form
    • Use testimonials_widget_validate_settings and testimonials_widget_settings instead
  • Renamed variable and related class widget_text to bottom_text

= 2.7.3 =

  • Quotes are no longer handled via q, p:before, or p:after CSS. It's handled via .testimonialswidget_testimonial .testimonialswidget_open_quote:before and .testimonialswidget_testimonial .testimonialswidget_close_quote:after
  • This change was made to keep consistency in how quotes were managed and to reduce the number of exception cases. In the end, this is simpler.

= 2.7.0 =

  • Quotes with keep_whitespace=true aren't applied via CSS .testimonialswidget_testimonial q tag anymore, but .testimonialswidget_testimonial q p:first-child:before and .testimonialswidget_testimonial q p:last-child:after
  • Widget testimonial p tags are no longer CSS display: inline, display: block as expected

= 2.4.1 =

  • Paging is on by default, except for widgets

= 2.0.0 =

  • CSS
    • Class testimonialswidget_company replaces testimonialswidget_source
    • Class testimonialswidget_source replaces testimonialswidget_author
    • The tighten widget display up, p tags within q are displayed inline.
  • JavaScript
    • The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires wp_footer() in the footer.
  • Shortcode options
    • hide_source replaced by hide_url
    • hide_author replaced by hide_source
  • Testimonials
    • Migration from the old custom table to new custom post type is automatically done. Import might take a few moments to complete.
    • Company, URL and email details are attempted to be identified and placed properly based upon the original author and source fields. The company is "guessed" from the author field when there's a ", " or " of " context. If the source is an email, it's saved as such. Otherwise, it's assumed to be a URL.
    • Public testimonials are saved as Published. Non-public testimonials are marked as Private.
  • Widget options
    • "Show author" and "Show source" options are replaced by "Hide source" and "Hide URL" respectively. There's no backwards compatibility for these changes.
    • Default min-height is now 250px than 150px.
Download this release

Release Info

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

Code changes from version 2.17.0 to 2.17.1

CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
- # CHANGELOG Testimonials
2
 
3
  ## master
4
 
 
 
 
 
 
 
 
5
  ## 2.17.0
6
  * BUGFIX No notices on deactivation
7
  * Convert TODO to https://github.com/michael-cannon/testimonials-widget/issues
1
+ # CHANGELOG Testimonials by Aihrus
2
 
3
  ## master
4
 
5
+ ## 2.17.1
6
+ * No show premium link when it's installed
7
+ * RESOLVE #34 Non-SSL protocol used for image inclusion
8
+ * Use Aihrus Framework 1.0.1
9
+ * Use aihr_check_aihrus_framework
10
+ * Use strip_protocol
11
+
12
  ## 2.17.0
13
  * BUGFIX No notices on deactivation
14
  * Convert TODO to https://github.com/michael-cannon/testimonials-widget/issues
languages/testimonials-widget.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Testimonials by Aihrus package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Testimonials by Aihrus 2.17.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
- "POT-Creation-Date: 2013-12-13 22:07:16+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -84,51 +84,67 @@ msgstr ""
84
  msgid "Expand/Collapse"
85
  msgstr ""
86
 
87
- #: lib/aihrus/requirements.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  msgid "`aihr_check_php` requires $file argument"
89
  msgstr ""
90
 
91
- #: lib/aihrus/requirements.php:66
92
  msgid "Plugin \"%1$s\" has been deactivated as it requires PHP %2$s or newer. You're running PHP %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">More information</a>."
93
  msgstr ""
94
 
95
- #: lib/aihrus/requirements.php:76
96
  msgid "`aihr_check_wp` requires $file argument"
97
  msgstr ""
98
 
99
- #: lib/aihrus/requirements.php:122
100
  msgid "Plugin \"%1$s\" has been deactivated as it requires WordPress %2$s or newer. You're running WordPress %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">Update WordPress</a>."
101
  msgstr ""
102
 
103
- #: lib/aihrus/requirements.php:154
104
  msgid "<a href=\"%1$s\">update to</a>"
105
  msgstr ""
106
 
107
- #: lib/aihrus/requirements.php:159
108
  msgid "<a href=\"%1$s\">install</a>"
109
  msgstr ""
110
 
111
- #: lib/aihrus/requirements.php:162
112
  msgid "<a href=\"%1$s\">activate</a>"
113
  msgstr ""
114
 
115
- #: lib/aihrus/requirements.php:166
116
  msgid "Plugin \"%3$s\" has been deactivated. Please %1$s \"%4$s\" version %2$s or newer before activating \"%3$s\"."
117
  msgstr ""
118
 
119
- #: lib/aihrus/requirements.php:179
120
  msgid "<a href=\"%1$s\">%2$s &gt; Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry"
121
  msgstr ""
122
 
123
- #: lib/aihrus/requirements.php:184
124
  msgid "<a href=\"%s\">Where's my license key?</a>"
125
  msgstr ""
126
 
127
- #: lib/aihrus/requirements.php:189
128
  msgid "<a href=\"%1$s\">%2$s</a>"
129
  msgstr ""
130
 
131
- #: lib/aihrus/requirements.php:193
132
  msgid "Plugin \"%1$s\" requires license activation before updating will work. Please activate the license key through %2$s. No license key? See \"%3$s\" or purchase \"%4$s\"."
133
  msgstr ""
134
 
@@ -136,553 +152,553 @@ msgstr ""
136
  msgid "Testimonials Settings"
137
  msgstr ""
138
 
139
- #: lib/class-testimonials-widget-settings.php:91 testimonials-widget.php:129
140
  msgid "Settings"
141
  msgstr ""
142
 
143
- #: lib/class-testimonials-widget-settings.php:107
144
- #: lib/class-testimonials-widget-settings.php:876
145
  msgid "General"
146
  msgstr ""
147
 
148
- #: lib/class-testimonials-widget-settings.php:108
149
- #: lib/class-testimonials-widget-settings.php:884
150
  msgid "Selection"
151
  msgstr ""
152
 
153
- #: lib/class-testimonials-widget-settings.php:109
154
- #: lib/class-testimonials-widget-settings.php:892
155
  msgid "Ordering"
156
  msgstr ""
157
 
158
- #: lib/class-testimonials-widget-settings.php:110
159
- #: lib/class-testimonials-widget-settings.php:900
160
  msgid "Widget"
161
  msgstr ""
162
 
163
- #: lib/class-testimonials-widget-settings.php:111
164
- #: lib/class-testimonials-widget-settings.php:908
165
  msgid "Post Type"
166
  msgstr ""
167
 
168
- #: lib/class-testimonials-widget-settings.php:128
169
  msgid "Widget Title"
170
  msgstr ""
171
 
172
- #: lib/class-testimonials-widget-settings.php:129
173
- #: lib/class-testimonials-widget-widget.php:32 testimonials-widget.php:588
174
- #: testimonials-widget.php:633
175
  msgid "Testimonials"
176
  msgstr ""
177
 
178
- #: lib/class-testimonials-widget-settings.php:135
179
  msgid "Title Link"
180
  msgstr ""
181
 
182
- #: lib/class-testimonials-widget-settings.php:136
183
  msgid "URL, path, or post ID to link widget title to. Ex: http://example.com/stuff, /testimonials, 123 or "
184
  msgstr ""
185
 
186
- #: lib/class-testimonials-widget-settings.php:142
187
  msgid "Character Limit"
188
  msgstr ""
189
 
190
- #: lib/class-testimonials-widget-settings.php:143
191
  msgid "Number of characters to limit non-single testimonial views to"
192
  msgstr ""
193
 
194
- #: lib/class-testimonials-widget-settings.php:149
195
  msgid "Rotation Speed"
196
  msgstr ""
197
 
198
- #: lib/class-testimonials-widget-settings.php:150
199
  msgid "Number of seconds between testimonial rotations or 0 for no rotation at all refresh"
200
  msgstr ""
201
 
202
- #: lib/class-testimonials-widget-settings.php:162
203
  msgid "Additional Widget Options"
204
  msgstr ""
205
 
206
- #: lib/class-testimonials-widget-settings.php:168
207
  msgid "Transition Mode?"
208
  msgstr ""
209
 
210
- #: lib/class-testimonials-widget-settings.php:169
211
  msgid "Type of transition between slides"
212
  msgstr ""
213
 
214
- #: lib/class-testimonials-widget-settings.php:172
215
  msgid "Fade"
216
  msgstr ""
217
 
218
- #: lib/class-testimonials-widget-settings.php:173
219
  msgid "Horizontal"
220
  msgstr ""
221
 
222
- #: lib/class-testimonials-widget-settings.php:174
223
  msgid "Vertical"
224
  msgstr ""
225
 
226
- #: lib/class-testimonials-widget-settings.php:181
227
  msgid "Show Play/Pause?"
228
  msgstr ""
229
 
230
- #: lib/class-testimonials-widget-settings.php:182
231
  msgid "Display start and stop buttons underneath the testimonial slider."
232
  msgstr ""
233
 
234
- #: lib/class-testimonials-widget-settings.php:190
235
  msgid "Enable Video?"
236
  msgstr ""
237
 
238
- #: lib/class-testimonials-widget-settings.php:191
239
  msgid "Only enable when displaying video content."
240
  msgstr ""
241
 
242
- #: lib/class-testimonials-widget-settings.php:198
243
  msgid "Keep Whitespace?"
244
  msgstr ""
245
 
246
- #: lib/class-testimonials-widget-settings.php:199
247
  msgid "Keeps testimonials looking as entered than sans auto-formatting"
248
  msgstr ""
249
 
250
- #: lib/class-testimonials-widget-settings.php:206
251
  msgid "Testimonial Bottom Text"
252
  msgstr ""
253
 
254
- #: lib/class-testimonials-widget-settings.php:207
255
  msgid "Custom text or HTML for bottom of testimonials"
256
  msgstr ""
257
 
258
- #: lib/class-testimonials-widget-settings.php:219
259
  msgid "General Options"
260
  msgstr ""
261
 
262
- #: lib/class-testimonials-widget-settings.php:223
263
  msgid "Adds HTML tag markup per the <a href=\"%s\">Review schema</a> to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results."
264
  msgstr ""
265
 
266
- #: lib/class-testimonials-widget-settings.php:226
267
  msgid "Enable Review Schema?"
268
  msgstr ""
269
 
270
- #: lib/class-testimonials-widget-settings.php:234
271
  msgid "Reviewed Item?"
272
  msgstr ""
273
 
274
- #: lib/class-testimonials-widget-settings.php:235
275
  msgid "Name of thing being referenced in testimonials"
276
  msgstr ""
277
 
278
- #: lib/class-testimonials-widget-settings.php:241
279
  msgid "Reviewed Item URL?"
280
  msgstr ""
281
 
282
- #: lib/class-testimonials-widget-settings.php:242
283
  msgid "URL of thing being referenced in testimonials"
284
  msgstr ""
285
 
286
- #: lib/class-testimonials-widget-settings.php:249
287
  msgid "Hide built-in quotes?"
288
  msgstr ""
289
 
290
- #: lib/class-testimonials-widget-settings.php:250
291
  msgid "Remove open and close quote span tags surrounding testimonial content"
292
  msgstr ""
293
 
294
- #: lib/class-testimonials-widget-settings.php:256
295
  msgid "Hide \"Testimonials Not Found\"?"
296
  msgstr ""
297
 
298
- #: lib/class-testimonials-widget-settings.php:262
299
  msgid "Hide Gravatar Image?"
300
  msgstr ""
301
 
302
- #: lib/class-testimonials-widget-settings.php:268
303
  msgid "Hide Image?"
304
  msgstr ""
305
 
306
- #: lib/class-testimonials-widget-settings.php:274
307
  msgid "Hide Image in Single View?"
308
  msgstr ""
309
 
310
- #: lib/class-testimonials-widget-settings.php:281
311
  msgid "Hide Testimonial Content?"
312
  msgstr ""
313
 
314
- #: lib/class-testimonials-widget-settings.php:287
315
  msgid "Hide Author/Source?"
316
  msgstr ""
317
 
318
- #: lib/class-testimonials-widget-settings.php:290
319
  msgid "Don't display \"Post Title\" in cite"
320
  msgstr ""
321
 
322
- #: lib/class-testimonials-widget-settings.php:294
323
  msgid "Hide Email?"
324
  msgstr ""
325
 
326
- #: lib/class-testimonials-widget-settings.php:301
327
  msgid "Hide Job Title?"
328
  msgstr ""
329
 
330
- #: lib/class-testimonials-widget-settings.php:307
331
  msgid "Hide Location?"
332
  msgstr ""
333
 
334
- #: lib/class-testimonials-widget-settings.php:313
335
  msgid "Hide Company?"
336
  msgstr ""
337
 
338
- #: lib/class-testimonials-widget-settings.php:319
339
  msgid "Hide URL?"
340
  msgstr ""
341
 
342
- #: lib/class-testimonials-widget-settings.php:325
343
  msgid "URL Target"
344
  msgstr ""
345
 
346
- #: lib/class-testimonials-widget-settings.php:326
347
  msgid "Add target to all URLs; leave blank if none"
348
  msgstr ""
349
 
350
- #: lib/class-testimonials-widget-settings.php:331
351
  msgid "Enable Paging?"
352
  msgstr ""
353
 
354
- #: lib/class-testimonials-widget-settings.php:332
355
  msgid "For `[testimonialswidget_list]`"
356
  msgstr ""
357
 
358
- #: lib/class-testimonials-widget-settings.php:335
359
  msgid "Disable"
360
  msgstr ""
361
 
362
- #: lib/class-testimonials-widget-settings.php:336
363
  msgid "Enable"
364
  msgstr ""
365
 
366
- #: lib/class-testimonials-widget-settings.php:337
367
  msgid "Before testimonials"
368
  msgstr ""
369
 
370
- #: lib/class-testimonials-widget-settings.php:338
371
  msgid "After testimonials"
372
  msgstr ""
373
 
374
- #: lib/class-testimonials-widget-settings.php:345
375
  msgid "Do [shortcodes]?"
376
  msgstr ""
377
 
378
- #: lib/class-testimonials-widget-settings.php:346
379
  msgid "If unchecked, shortcodes are stripped."
380
  msgstr ""
381
 
382
- #: lib/class-testimonials-widget-settings.php:359
383
  msgid "Selection Options"
384
  msgstr ""
385
 
386
- #: lib/class-testimonials-widget-settings.php:365
387
  msgid "Category Filter"
388
  msgstr ""
389
 
390
- #: lib/class-testimonials-widget-settings.php:366
391
  msgid "Comma separated category names. Ex: Category A, Another category"
392
  msgstr ""
393
 
394
- #: lib/class-testimonials-widget-settings.php:373
395
  msgid "Tags Filter"
396
  msgstr ""
397
 
398
- #: lib/class-testimonials-widget-settings.php:374
399
  msgid "Comma separated tag names. Ex: Tag A, Another tag"
400
  msgstr ""
401
 
402
- #: lib/class-testimonials-widget-settings.php:381
403
  msgid "Require All Tags?"
404
  msgstr ""
405
 
406
- #: lib/class-testimonials-widget-settings.php:382
407
  msgid "Select only testimonials with all of the given tags"
408
  msgstr ""
409
 
410
- #: lib/class-testimonials-widget-settings.php:389
411
  msgid "Include IDs Filter"
412
  msgstr ""
413
 
414
- #: lib/class-testimonials-widget-settings.php:390
415
- #: lib/class-testimonials-widget-settings.php:397
416
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
417
  msgstr ""
418
 
419
- #: lib/class-testimonials-widget-settings.php:396
420
  msgid "Exclude IDs Filter"
421
  msgstr ""
422
 
423
- #: lib/class-testimonials-widget-settings.php:403
424
  msgid "Limit"
425
  msgstr ""
426
 
427
- #: lib/class-testimonials-widget-settings.php:404
428
  msgid "Number of testimonials to select per instance"
429
  msgstr ""
430
 
431
- #: lib/class-testimonials-widget-settings.php:417
432
  msgid "Ordering Options"
433
  msgstr ""
434
 
435
- #: lib/class-testimonials-widget-settings.php:423
436
  msgid "Random Order?"
437
  msgstr ""
438
 
439
- #: lib/class-testimonials-widget-settings.php:424
440
  msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
441
  msgstr ""
442
 
443
- #: lib/class-testimonials-widget-settings.php:431
444
  msgid "ORDER BY"
445
  msgstr ""
446
 
447
- #: lib/class-testimonials-widget-settings.php:432
448
  msgid "Used when \"Random Order\" is disabled"
449
  msgstr ""
450
 
451
- #: lib/class-testimonials-widget-settings.php:435
452
  msgid "Testimonial ID"
453
  msgstr ""
454
 
455
- #: lib/class-testimonials-widget-settings.php:436
456
  msgid "Author"
457
  msgstr ""
458
 
459
- #: lib/class-testimonials-widget-settings.php:437 testimonials-widget.php:565
460
  msgid "Date"
461
  msgstr ""
462
 
463
- #: lib/class-testimonials-widget-settings.php:438
464
  msgid "Menu Order"
465
  msgstr ""
466
 
467
- #: lib/class-testimonials-widget-settings.php:439 testimonials-widget.php:557
468
  msgid "Source"
469
  msgstr ""
470
 
471
- #: lib/class-testimonials-widget-settings.php:440
472
  msgid "No order"
473
  msgstr ""
474
 
475
- #: lib/class-testimonials-widget-settings.php:448
476
  msgid "ORDER BY meta_key"
477
  msgstr ""
478
 
479
- #: lib/class-testimonials-widget-settings.php:449
480
  msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
481
  msgstr ""
482
 
483
- #: lib/class-testimonials-widget-settings.php:452
484
  msgid "None"
485
  msgstr ""
486
 
487
- #: lib/class-testimonials-widget-settings.php:453 testimonials-widget.php:559
488
- #: testimonials-widget.php:1620
489
  msgid "Job Title"
490
  msgstr ""
491
 
492
- #: lib/class-testimonials-widget-settings.php:454 testimonials-widget.php:561
493
- #: testimonials-widget.php:1632
494
  msgid "Email"
495
  msgstr ""
496
 
497
- #: lib/class-testimonials-widget-settings.php:455 testimonials-widget.php:560
498
- #: testimonials-widget.php:1626
499
  msgid "Location"
500
  msgstr ""
501
 
502
- #: lib/class-testimonials-widget-settings.php:456 testimonials-widget.php:562
503
- #: testimonials-widget.php:1638
504
  msgid "Company"
505
  msgstr ""
506
 
507
- #: lib/class-testimonials-widget-settings.php:457 testimonials-widget.php:563
508
- #: testimonials-widget.php:1644
509
  msgid "URL"
510
  msgstr ""
511
 
512
- #: lib/class-testimonials-widget-settings.php:464
513
  msgid "ORDER BY Order"
514
  msgstr ""
515
 
516
- #: lib/class-testimonials-widget-settings.php:467
517
  msgid "Descending"
518
  msgstr ""
519
 
520
- #: lib/class-testimonials-widget-settings.php:468
521
  msgid "Ascending"
522
  msgstr ""
523
 
524
- #: lib/class-testimonials-widget-settings.php:482
525
  msgid "Allow Comments?"
526
  msgstr ""
527
 
528
- #: lib/class-testimonials-widget-settings.php:483
529
  msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
530
  msgstr ""
531
 
532
- #: lib/class-testimonials-widget-settings.php:489
533
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
534
  msgstr ""
535
 
536
- #: lib/class-testimonials-widget-settings.php:495
537
  msgid "Archive Page URL"
538
  msgstr ""
539
 
540
- #: lib/class-testimonials-widget-settings.php:502
541
  msgid "URL slug-name for testimonial view pages. Shouldn't be the same as the Archive Page URL nor should it match a page URL slug."
542
  msgstr ""
543
 
544
- #: lib/class-testimonials-widget-settings.php:506
545
  msgid "Testimonial Page URL"
546
  msgstr ""
547
 
548
- #: lib/class-testimonials-widget-settings.php:516
549
  msgid "Reset & Compatiblity Options"
550
  msgstr ""
551
 
552
- #: lib/class-testimonials-widget-settings.php:522
553
  msgid "Don't Use Default Taxonomies?"
554
  msgstr ""
555
 
556
- #: lib/class-testimonials-widget-settings.php:525
557
  msgid "If checked, use Testimonials' own category and tag taxonomies instead"
558
  msgstr ""
559
 
560
- #: lib/class-testimonials-widget-settings.php:533
561
  msgid "Version Based Options"
562
  msgstr ""
563
 
564
- #: lib/class-testimonials-widget-settings.php:539
565
  msgid "Use bxSlider?"
566
  msgstr ""
567
 
568
- #: lib/class-testimonials-widget-settings.php:540
569
  msgid "Pre 2.15.0, Testimonials' used custom JavaScript for transitions."
570
  msgstr ""
571
 
572
- #: lib/class-testimonials-widget-settings.php:552
573
  msgid "Disable Animation?"
574
  msgstr ""
575
 
576
- #: lib/class-testimonials-widget-settings.php:553
577
  msgid "Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
578
  msgstr ""
579
 
580
- #: lib/class-testimonials-widget-settings.php:561
581
  msgid "Fade Out Speed"
582
  msgstr ""
583
 
584
- #: lib/class-testimonials-widget-settings.php:562
585
- #: lib/class-testimonials-widget-settings.php:570
586
  msgid "Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
587
  msgstr ""
588
 
589
- #: lib/class-testimonials-widget-settings.php:569
590
  msgid "Fade In Speed"
591
  msgstr ""
592
 
593
- #: lib/class-testimonials-widget-settings.php:577
594
  msgid "Height"
595
  msgstr ""
596
 
597
- #: lib/class-testimonials-widget-settings.php:578
598
  msgid "Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
599
  msgstr ""
600
 
601
- #: lib/class-testimonials-widget-settings.php:584
602
  msgid "Minimum Height"
603
  msgstr ""
604
 
605
- #: lib/class-testimonials-widget-settings.php:585
606
  msgid "Pre 2.15.0, Set for minimum display height, in pixels"
607
  msgstr ""
608
 
609
- #: lib/class-testimonials-widget-settings.php:591
610
  msgid "Maximum Height"
611
  msgstr ""
612
 
613
- #: lib/class-testimonials-widget-settings.php:592
614
  msgid "Pre 2.15.0, Set for maximum display height, in pixels"
615
  msgstr ""
616
 
617
- #: lib/class-testimonials-widget-settings.php:598
618
  msgid "Always Load CSS?"
619
  msgstr ""
620
 
621
- #: lib/class-testimonials-widget-settings.php:599
622
  msgid "Pre 2.14.0, Testimonials' CSS was always loaded, whether needed or not"
623
  msgstr ""
624
 
625
- #: lib/class-testimonials-widget-settings.php:610
626
  msgid "Include IE7 CSS?"
627
  msgstr ""
628
 
629
- #: lib/class-testimonials-widget-settings.php:611
630
  msgid "IE7 specific CSS moved to separate CSS file in version 2.13.6."
631
  msgstr ""
632
 
633
- #: lib/class-testimonials-widget-settings.php:623
634
  msgid "Use `&lt;q&gt;` tag?"
635
  msgstr ""
636
 
637
- #: lib/class-testimonials-widget-settings.php:624
638
  msgid "Pre 2.11.0, not HTML5 compliant"
639
  msgstr ""
640
 
641
- #: lib/class-testimonials-widget-settings.php:635
642
  msgid "Remove `.hentry` CSS?"
643
  msgstr ""
644
 
645
- #: lib/class-testimonials-widget-settings.php:636
646
  msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
647
  msgstr ""
648
 
649
- #: lib/class-testimonials-widget-settings.php:862
650
  msgid "These Testimonials 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."
651
  msgstr ""
652
 
653
- #: lib/class-testimonials-widget-settings.php:864
654
  msgid "Shortcode option names are listed below each entry."
655
  msgstr ""
656
 
657
- #: lib/class-testimonials-widget-settings.php:867
658
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
659
  msgstr ""
660
 
661
- #: lib/class-testimonials-widget-settings.php:877
662
  msgid "Show or hide optional fields."
663
  msgstr ""
664
 
665
- #: lib/class-testimonials-widget-settings.php:885
666
  msgid "Options used to select testimonials."
667
  msgstr ""
668
 
669
- #: lib/class-testimonials-widget-settings.php:893
670
  msgid "Options used to determine displayed testimonials ordering."
671
  msgstr ""
672
 
673
- #: lib/class-testimonials-widget-settings.php:901
674
  msgid "Options related to showing testimonials in widgets."
675
  msgstr ""
676
 
677
- #: lib/class-testimonials-widget-settings.php:909
678
  msgid "Archive and singular page URL related testimonials options."
679
  msgstr ""
680
 
681
- #: lib/class-testimonials-widget-settings.php:916
682
  msgid "Compatibility & Reset"
683
  msgstr ""
684
 
685
- #: lib/class-testimonials-widget-settings.php:917
686
  msgid "Backwards compatibility, import/export options, and reset options."
687
  msgstr ""
688
 
@@ -698,141 +714,145 @@ msgstr ""
698
  msgid "This widget's unique CSS class for styling"
699
  msgstr ""
700
 
701
- #: testimonials-widget.php:146 testimonials-widget.php:1972
 
 
 
 
702
  msgid "Testimonials Shortcode Examples"
703
  msgstr ""
704
 
705
- #: testimonials-widget.php:146
706
  msgid "E.g. Shortcodes"
707
  msgstr ""
708
 
709
- #: testimonials-widget.php:344
710
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
711
  msgstr ""
712
 
713
- #: testimonials-widget.php:555
714
  msgid "ID"
715
  msgstr ""
716
 
717
- #: testimonials-widget.php:556
718
  msgid "Image"
719
  msgstr ""
720
 
721
- #: testimonials-widget.php:558
722
  msgid "Shortcodes"
723
  msgstr ""
724
 
725
- #: testimonials-widget.php:564
726
  msgid "Published by"
727
  msgstr ""
728
 
729
- #: testimonials-widget.php:570 testimonials-widget.php:573
730
  msgid "Category"
731
  msgstr ""
732
 
733
- #: testimonials-widget.php:571 testimonials-widget.php:574
734
  msgid "Tags"
735
  msgstr ""
736
 
737
- #: testimonials-widget.php:585
738
  msgid "Add New"
739
  msgstr ""
740
 
741
- #: testimonials-widget.php:586 testimonials-widget.php:589
742
  msgid "Add New Testimonial"
743
  msgstr ""
744
 
745
- #: testimonials-widget.php:587
746
  msgid "Edit Testimonial"
747
  msgstr ""
748
 
749
- #: testimonials-widget.php:590 testimonials-widget.php:997
750
  msgid "No testimonials found"
751
  msgstr ""
752
 
753
- #: testimonials-widget.php:591
754
  msgid "No testimonials found in Trash"
755
  msgstr ""
756
 
757
- #: testimonials-widget.php:593
758
  msgid "Search Testimonials"
759
  msgstr ""
760
 
761
- #: testimonials-widget.php:594 testimonials-widget.php:1732
762
  msgid "Testimonial"
763
  msgstr ""
764
 
765
- #: testimonials-widget.php:595
766
  msgid "View Testimonial"
767
  msgstr ""
768
 
769
- #: testimonials-widget.php:1146
770
  msgid "…"
771
  msgstr ""
772
 
773
- #: testimonials-widget.php:1355
774
  msgid "&laquo;"
775
  msgstr ""
776
 
777
- #: testimonials-widget.php:1364
778
  msgid "&raquo;"
779
  msgstr ""
780
 
781
- #: testimonials-widget.php:1656
782
  msgid "Testimonial Data"
783
  msgstr ""
784
 
785
- #: testimonials-widget.php:1681
786
  msgid "Enter title here"
787
  msgstr ""
788
 
789
- #: testimonials-widget.php:1682
790
  msgid "Enter testimonial source here"
791
  msgstr ""
792
 
793
- #: testimonials-widget.php:1707
794
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
795
  msgstr ""
796
 
797
- #: testimonials-widget.php:1708
798
  msgid "Custom field updated."
799
  msgstr ""
800
 
801
- #: testimonials-widget.php:1709
802
  msgid "Custom field deleted."
803
  msgstr ""
804
 
805
- #: testimonials-widget.php:1710
806
  msgid "Testimonial updated."
807
  msgstr ""
808
 
809
  #. translators: %s: date and time of the revision
810
 
811
- #: testimonials-widget.php:1712
812
  msgid "Testimonial restored to revision from %s"
813
  msgstr ""
814
 
815
- #: testimonials-widget.php:1713
816
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
817
  msgstr ""
818
 
819
- #: testimonials-widget.php:1714
820
  msgid "Testimonial saved."
821
  msgstr ""
822
 
823
- #: testimonials-widget.php:1715
824
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
825
  msgstr ""
826
 
827
- #: testimonials-widget.php:1716
828
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
829
  msgstr ""
830
 
831
- #: testimonials-widget.php:1717
832
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
833
  msgstr ""
834
 
835
- #: testimonials-widget.php:1963
836
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
837
  msgstr ""
838
  #. Plugin Name of the plugin/theme
2
  # This file is distributed under the same license as the Testimonials by Aihrus package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Testimonials by Aihrus 2.17.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
+ "POT-Creation-Date: 2013-12-30 04:29:48+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
84
  msgid "Expand/Collapse"
85
  msgstr ""
86
 
87
+ #: lib/aihrus/requirements.php:30
88
+ msgid "`aihr_check_aihrus_framework` requires $file argument"
89
+ msgstr ""
90
+
91
+ #: lib/aihrus/requirements.php:75 lib/requirements.php:49
92
+ msgid "<a href=\"%1$s\">Update plugins</a>. <a href=\"%2$s\">More information</a>."
93
+ msgstr ""
94
+
95
+ #: lib/aihrus/requirements.php:86
96
+ msgid "Plugin \"%1$s\" is causing the out of date issue."
97
+ msgstr ""
98
+
99
+ #: lib/aihrus/requirements.php:91
100
+ msgid "Plugin \"%1$s\" has been deactivated as it requires Aihrus Framework %2$s or newer. You're running Aihrus Framework %4$s. Once corrected, \"%1$s\" can be activated. %5$s %3$s"
101
+ msgstr ""
102
+
103
+ #: lib/aihrus/requirements.php:100
104
  msgid "`aihr_check_php` requires $file argument"
105
  msgstr ""
106
 
107
+ #: lib/aihrus/requirements.php:141
108
  msgid "Plugin \"%1$s\" has been deactivated as it requires PHP %2$s or newer. You're running PHP %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">More information</a>."
109
  msgstr ""
110
 
111
+ #: lib/aihrus/requirements.php:150
112
  msgid "`aihr_check_wp` requires $file argument"
113
  msgstr ""
114
 
115
+ #: lib/aihrus/requirements.php:195
116
  msgid "Plugin \"%1$s\" has been deactivated as it requires WordPress %2$s or newer. You're running WordPress %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">Update WordPress</a>."
117
  msgstr ""
118
 
119
+ #: lib/aihrus/requirements.php:225
120
  msgid "<a href=\"%1$s\">update to</a>"
121
  msgstr ""
122
 
123
+ #: lib/aihrus/requirements.php:230
124
  msgid "<a href=\"%1$s\">install</a>"
125
  msgstr ""
126
 
127
+ #: lib/aihrus/requirements.php:233
128
  msgid "<a href=\"%1$s\">activate</a>"
129
  msgstr ""
130
 
131
+ #: lib/aihrus/requirements.php:237
132
  msgid "Plugin \"%3$s\" has been deactivated. Please %1$s \"%4$s\" version %2$s or newer before activating \"%3$s\"."
133
  msgstr ""
134
 
135
+ #: lib/aihrus/requirements.php:250
136
  msgid "<a href=\"%1$s\">%2$s &gt; Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry"
137
  msgstr ""
138
 
139
+ #: lib/aihrus/requirements.php:255
140
  msgid "<a href=\"%s\">Where's my license key?</a>"
141
  msgstr ""
142
 
143
+ #: lib/aihrus/requirements.php:260
144
  msgid "<a href=\"%1$s\">%2$s</a>"
145
  msgstr ""
146
 
147
+ #: lib/aihrus/requirements.php:264
148
  msgid "Plugin \"%1$s\" requires license activation before updating will work. Please activate the license key through %2$s. No license key? See \"%3$s\" or purchase \"%4$s\"."
149
  msgstr ""
150
 
152
  msgid "Testimonials Settings"
153
  msgstr ""
154
 
155
+ #: lib/class-testimonials-widget-settings.php:91 testimonials-widget.php:131
156
  msgid "Settings"
157
  msgstr ""
158
 
159
+ #: lib/class-testimonials-widget-settings.php:110
160
+ #: lib/class-testimonials-widget-settings.php:879
161
  msgid "General"
162
  msgstr ""
163
 
164
+ #: lib/class-testimonials-widget-settings.php:111
165
+ #: lib/class-testimonials-widget-settings.php:887
166
  msgid "Selection"
167
  msgstr ""
168
 
169
+ #: lib/class-testimonials-widget-settings.php:112
170
+ #: lib/class-testimonials-widget-settings.php:895
171
  msgid "Ordering"
172
  msgstr ""
173
 
174
+ #: lib/class-testimonials-widget-settings.php:113
175
+ #: lib/class-testimonials-widget-settings.php:903
176
  msgid "Widget"
177
  msgstr ""
178
 
179
+ #: lib/class-testimonials-widget-settings.php:114
180
+ #: lib/class-testimonials-widget-settings.php:911
181
  msgid "Post Type"
182
  msgstr ""
183
 
184
+ #: lib/class-testimonials-widget-settings.php:131
185
  msgid "Widget Title"
186
  msgstr ""
187
 
188
+ #: lib/class-testimonials-widget-settings.php:132
189
+ #: lib/class-testimonials-widget-widget.php:32 testimonials-widget.php:593
190
+ #: testimonials-widget.php:638
191
  msgid "Testimonials"
192
  msgstr ""
193
 
194
+ #: lib/class-testimonials-widget-settings.php:138
195
  msgid "Title Link"
196
  msgstr ""
197
 
198
+ #: lib/class-testimonials-widget-settings.php:139
199
  msgid "URL, path, or post ID to link widget title to. Ex: http://example.com/stuff, /testimonials, 123 or "
200
  msgstr ""
201
 
202
+ #: lib/class-testimonials-widget-settings.php:145
203
  msgid "Character Limit"
204
  msgstr ""
205
 
206
+ #: lib/class-testimonials-widget-settings.php:146
207
  msgid "Number of characters to limit non-single testimonial views to"
208
  msgstr ""
209
 
210
+ #: lib/class-testimonials-widget-settings.php:152
211
  msgid "Rotation Speed"
212
  msgstr ""
213
 
214
+ #: lib/class-testimonials-widget-settings.php:153
215
  msgid "Number of seconds between testimonial rotations or 0 for no rotation at all refresh"
216
  msgstr ""
217
 
218
+ #: lib/class-testimonials-widget-settings.php:165
219
  msgid "Additional Widget Options"
220
  msgstr ""
221
 
222
+ #: lib/class-testimonials-widget-settings.php:171
223
  msgid "Transition Mode?"
224
  msgstr ""
225
 
226
+ #: lib/class-testimonials-widget-settings.php:172
227
  msgid "Type of transition between slides"
228
  msgstr ""
229
 
230
+ #: lib/class-testimonials-widget-settings.php:175
231
  msgid "Fade"
232
  msgstr ""
233
 
234
+ #: lib/class-testimonials-widget-settings.php:176
235
  msgid "Horizontal"
236
  msgstr ""
237
 
238
+ #: lib/class-testimonials-widget-settings.php:177
239
  msgid "Vertical"
240
  msgstr ""
241
 
242
+ #: lib/class-testimonials-widget-settings.php:184
243
  msgid "Show Play/Pause?"
244
  msgstr ""
245
 
246
+ #: lib/class-testimonials-widget-settings.php:185
247
  msgid "Display start and stop buttons underneath the testimonial slider."
248
  msgstr ""
249
 
250
+ #: lib/class-testimonials-widget-settings.php:193
251
  msgid "Enable Video?"
252
  msgstr ""
253
 
254
+ #: lib/class-testimonials-widget-settings.php:194
255
  msgid "Only enable when displaying video content."
256
  msgstr ""
257
 
258
+ #: lib/class-testimonials-widget-settings.php:201
259
  msgid "Keep Whitespace?"
260
  msgstr ""
261
 
262
+ #: lib/class-testimonials-widget-settings.php:202
263
  msgid "Keeps testimonials looking as entered than sans auto-formatting"
264
  msgstr ""
265
 
266
+ #: lib/class-testimonials-widget-settings.php:209
267
  msgid "Testimonial Bottom Text"
268
  msgstr ""
269
 
270
+ #: lib/class-testimonials-widget-settings.php:210
271
  msgid "Custom text or HTML for bottom of testimonials"
272
  msgstr ""
273
 
274
+ #: lib/class-testimonials-widget-settings.php:222
275
  msgid "General Options"
276
  msgstr ""
277
 
278
+ #: lib/class-testimonials-widget-settings.php:226
279
  msgid "Adds HTML tag markup per the <a href=\"%s\">Review schema</a> to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results."
280
  msgstr ""
281
 
282
+ #: lib/class-testimonials-widget-settings.php:229
283
  msgid "Enable Review Schema?"
284
  msgstr ""
285
 
286
+ #: lib/class-testimonials-widget-settings.php:237
287
  msgid "Reviewed Item?"
288
  msgstr ""
289
 
290
+ #: lib/class-testimonials-widget-settings.php:238
291
  msgid "Name of thing being referenced in testimonials"
292
  msgstr ""
293
 
294
+ #: lib/class-testimonials-widget-settings.php:244
295
  msgid "Reviewed Item URL?"
296
  msgstr ""
297
 
298
+ #: lib/class-testimonials-widget-settings.php:245
299
  msgid "URL of thing being referenced in testimonials"
300
  msgstr ""
301
 
302
+ #: lib/class-testimonials-widget-settings.php:252
303
  msgid "Hide built-in quotes?"
304
  msgstr ""
305
 
306
+ #: lib/class-testimonials-widget-settings.php:253
307
  msgid "Remove open and close quote span tags surrounding testimonial content"
308
  msgstr ""
309
 
310
+ #: lib/class-testimonials-widget-settings.php:259
311
  msgid "Hide \"Testimonials Not Found\"?"
312
  msgstr ""
313
 
314
+ #: lib/class-testimonials-widget-settings.php:265
315
  msgid "Hide Gravatar Image?"
316
  msgstr ""
317
 
318
+ #: lib/class-testimonials-widget-settings.php:271
319
  msgid "Hide Image?"
320
  msgstr ""
321
 
322
+ #: lib/class-testimonials-widget-settings.php:277
323
  msgid "Hide Image in Single View?"
324
  msgstr ""
325
 
326
+ #: lib/class-testimonials-widget-settings.php:284
327
  msgid "Hide Testimonial Content?"
328
  msgstr ""
329
 
330
+ #: lib/class-testimonials-widget-settings.php:290
331
  msgid "Hide Author/Source?"
332
  msgstr ""
333
 
334
+ #: lib/class-testimonials-widget-settings.php:293
335
  msgid "Don't display \"Post Title\" in cite"
336
  msgstr ""
337
 
338
+ #: lib/class-testimonials-widget-settings.php:297
339
  msgid "Hide Email?"
340
  msgstr ""
341
 
342
+ #: lib/class-testimonials-widget-settings.php:304
343
  msgid "Hide Job Title?"
344
  msgstr ""
345
 
346
+ #: lib/class-testimonials-widget-settings.php:310
347
  msgid "Hide Location?"
348
  msgstr ""
349
 
350
+ #: lib/class-testimonials-widget-settings.php:316
351
  msgid "Hide Company?"
352
  msgstr ""
353
 
354
+ #: lib/class-testimonials-widget-settings.php:322
355
  msgid "Hide URL?"
356
  msgstr ""
357
 
358
+ #: lib/class-testimonials-widget-settings.php:328
359
  msgid "URL Target"
360
  msgstr ""
361
 
362
+ #: lib/class-testimonials-widget-settings.php:329
363
  msgid "Add target to all URLs; leave blank if none"
364
  msgstr ""
365
 
366
+ #: lib/class-testimonials-widget-settings.php:334
367
  msgid "Enable Paging?"
368
  msgstr ""
369
 
370
+ #: lib/class-testimonials-widget-settings.php:335
371
  msgid "For `[testimonialswidget_list]`"
372
  msgstr ""
373
 
374
+ #: lib/class-testimonials-widget-settings.php:338
375
  msgid "Disable"
376
  msgstr ""
377
 
378
+ #: lib/class-testimonials-widget-settings.php:339
379
  msgid "Enable"
380
  msgstr ""
381
 
382
+ #: lib/class-testimonials-widget-settings.php:340
383
  msgid "Before testimonials"
384
  msgstr ""
385
 
386
+ #: lib/class-testimonials-widget-settings.php:341
387
  msgid "After testimonials"
388
  msgstr ""
389
 
390
+ #: lib/class-testimonials-widget-settings.php:348
391
  msgid "Do [shortcodes]?"
392
  msgstr ""
393
 
394
+ #: lib/class-testimonials-widget-settings.php:349
395
  msgid "If unchecked, shortcodes are stripped."
396
  msgstr ""
397
 
398
+ #: lib/class-testimonials-widget-settings.php:362
399
  msgid "Selection Options"
400
  msgstr ""
401
 
402
+ #: lib/class-testimonials-widget-settings.php:368
403
  msgid "Category Filter"
404
  msgstr ""
405
 
406
+ #: lib/class-testimonials-widget-settings.php:369
407
  msgid "Comma separated category names. Ex: Category A, Another category"
408
  msgstr ""
409
 
410
+ #: lib/class-testimonials-widget-settings.php:376
411
  msgid "Tags Filter"
412
  msgstr ""
413
 
414
+ #: lib/class-testimonials-widget-settings.php:377
415
  msgid "Comma separated tag names. Ex: Tag A, Another tag"
416
  msgstr ""
417
 
418
+ #: lib/class-testimonials-widget-settings.php:384
419
  msgid "Require All Tags?"
420
  msgstr ""
421
 
422
+ #: lib/class-testimonials-widget-settings.php:385
423
  msgid "Select only testimonials with all of the given tags"
424
  msgstr ""
425
 
426
+ #: lib/class-testimonials-widget-settings.php:392
427
  msgid "Include IDs Filter"
428
  msgstr ""
429
 
430
+ #: lib/class-testimonials-widget-settings.php:393
431
+ #: lib/class-testimonials-widget-settings.php:400
432
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
433
  msgstr ""
434
 
435
+ #: lib/class-testimonials-widget-settings.php:399
436
  msgid "Exclude IDs Filter"
437
  msgstr ""
438
 
439
+ #: lib/class-testimonials-widget-settings.php:406
440
  msgid "Limit"
441
  msgstr ""
442
 
443
+ #: lib/class-testimonials-widget-settings.php:407
444
  msgid "Number of testimonials to select per instance"
445
  msgstr ""
446
 
447
+ #: lib/class-testimonials-widget-settings.php:420
448
  msgid "Ordering Options"
449
  msgstr ""
450
 
451
+ #: lib/class-testimonials-widget-settings.php:426
452
  msgid "Random Order?"
453
  msgstr ""
454
 
455
+ #: lib/class-testimonials-widget-settings.php:427
456
  msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
457
  msgstr ""
458
 
459
+ #: lib/class-testimonials-widget-settings.php:434
460
  msgid "ORDER BY"
461
  msgstr ""
462
 
463
+ #: lib/class-testimonials-widget-settings.php:435
464
  msgid "Used when \"Random Order\" is disabled"
465
  msgstr ""
466
 
467
+ #: lib/class-testimonials-widget-settings.php:438
468
  msgid "Testimonial ID"
469
  msgstr ""
470
 
471
+ #: lib/class-testimonials-widget-settings.php:439
472
  msgid "Author"
473
  msgstr ""
474
 
475
+ #: lib/class-testimonials-widget-settings.php:440 testimonials-widget.php:570
476
  msgid "Date"
477
  msgstr ""
478
 
479
+ #: lib/class-testimonials-widget-settings.php:441
480
  msgid "Menu Order"
481
  msgstr ""
482
 
483
+ #: lib/class-testimonials-widget-settings.php:442 testimonials-widget.php:562
484
  msgid "Source"
485
  msgstr ""
486
 
487
+ #: lib/class-testimonials-widget-settings.php:443
488
  msgid "No order"
489
  msgstr ""
490
 
491
+ #: lib/class-testimonials-widget-settings.php:451
492
  msgid "ORDER BY meta_key"
493
  msgstr ""
494
 
495
+ #: lib/class-testimonials-widget-settings.php:452
496
  msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
497
  msgstr ""
498
 
499
+ #: lib/class-testimonials-widget-settings.php:455
500
  msgid "None"
501
  msgstr ""
502
 
503
+ #: lib/class-testimonials-widget-settings.php:456 testimonials-widget.php:564
504
+ #: testimonials-widget.php:1628
505
  msgid "Job Title"
506
  msgstr ""
507
 
508
+ #: lib/class-testimonials-widget-settings.php:457 testimonials-widget.php:566
509
+ #: testimonials-widget.php:1640
510
  msgid "Email"
511
  msgstr ""
512
 
513
+ #: lib/class-testimonials-widget-settings.php:458 testimonials-widget.php:565
514
+ #: testimonials-widget.php:1634
515
  msgid "Location"
516
  msgstr ""
517
 
518
+ #: lib/class-testimonials-widget-settings.php:459 testimonials-widget.php:567
519
+ #: testimonials-widget.php:1646
520
  msgid "Company"
521
  msgstr ""
522
 
523
+ #: lib/class-testimonials-widget-settings.php:460 testimonials-widget.php:568
524
+ #: testimonials-widget.php:1652
525
  msgid "URL"
526
  msgstr ""
527
 
528
+ #: lib/class-testimonials-widget-settings.php:467
529
  msgid "ORDER BY Order"
530
  msgstr ""
531
 
532
+ #: lib/class-testimonials-widget-settings.php:470
533
  msgid "Descending"
534
  msgstr ""
535
 
536
+ #: lib/class-testimonials-widget-settings.php:471
537
  msgid "Ascending"
538
  msgstr ""
539
 
540
+ #: lib/class-testimonials-widget-settings.php:485
541
  msgid "Allow Comments?"
542
  msgstr ""
543
 
544
+ #: lib/class-testimonials-widget-settings.php:486
545
  msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
546
  msgstr ""
547
 
548
+ #: lib/class-testimonials-widget-settings.php:492
549
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
550
  msgstr ""
551
 
552
+ #: lib/class-testimonials-widget-settings.php:498
553
  msgid "Archive Page URL"
554
  msgstr ""
555
 
556
+ #: lib/class-testimonials-widget-settings.php:505
557
  msgid "URL slug-name for testimonial view pages. Shouldn't be the same as the Archive Page URL nor should it match a page URL slug."
558
  msgstr ""
559
 
560
+ #: lib/class-testimonials-widget-settings.php:509
561
  msgid "Testimonial Page URL"
562
  msgstr ""
563
 
564
+ #: lib/class-testimonials-widget-settings.php:519
565
  msgid "Reset & Compatiblity Options"
566
  msgstr ""
567
 
568
+ #: lib/class-testimonials-widget-settings.php:525
569
  msgid "Don't Use Default Taxonomies?"
570
  msgstr ""
571
 
572
+ #: lib/class-testimonials-widget-settings.php:528
573
  msgid "If checked, use Testimonials' own category and tag taxonomies instead"
574
  msgstr ""
575
 
576
+ #: lib/class-testimonials-widget-settings.php:536
577
  msgid "Version Based Options"
578
  msgstr ""
579
 
580
+ #: lib/class-testimonials-widget-settings.php:542
581
  msgid "Use bxSlider?"
582
  msgstr ""
583
 
584
+ #: lib/class-testimonials-widget-settings.php:543
585
  msgid "Pre 2.15.0, Testimonials' used custom JavaScript for transitions."
586
  msgstr ""
587
 
588
+ #: lib/class-testimonials-widget-settings.php:555
589
  msgid "Disable Animation?"
590
  msgstr ""
591
 
592
+ #: lib/class-testimonials-widget-settings.php:556
593
  msgid "Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
594
  msgstr ""
595
 
596
+ #: lib/class-testimonials-widget-settings.php:564
597
  msgid "Fade Out Speed"
598
  msgstr ""
599
 
600
+ #: lib/class-testimonials-widget-settings.php:565
601
+ #: lib/class-testimonials-widget-settings.php:573
602
  msgid "Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
603
  msgstr ""
604
 
605
+ #: lib/class-testimonials-widget-settings.php:572
606
  msgid "Fade In Speed"
607
  msgstr ""
608
 
609
+ #: lib/class-testimonials-widget-settings.php:580
610
  msgid "Height"
611
  msgstr ""
612
 
613
+ #: lib/class-testimonials-widget-settings.php:581
614
  msgid "Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
615
  msgstr ""
616
 
617
+ #: lib/class-testimonials-widget-settings.php:587
618
  msgid "Minimum Height"
619
  msgstr ""
620
 
621
+ #: lib/class-testimonials-widget-settings.php:588
622
  msgid "Pre 2.15.0, Set for minimum display height, in pixels"
623
  msgstr ""
624
 
625
+ #: lib/class-testimonials-widget-settings.php:594
626
  msgid "Maximum Height"
627
  msgstr ""
628
 
629
+ #: lib/class-testimonials-widget-settings.php:595
630
  msgid "Pre 2.15.0, Set for maximum display height, in pixels"
631
  msgstr ""
632
 
633
+ #: lib/class-testimonials-widget-settings.php:601
634
  msgid "Always Load CSS?"
635
  msgstr ""
636
 
637
+ #: lib/class-testimonials-widget-settings.php:602
638
  msgid "Pre 2.14.0, Testimonials' CSS was always loaded, whether needed or not"
639
  msgstr ""
640
 
641
+ #: lib/class-testimonials-widget-settings.php:613
642
  msgid "Include IE7 CSS?"
643
  msgstr ""
644
 
645
+ #: lib/class-testimonials-widget-settings.php:614
646
  msgid "IE7 specific CSS moved to separate CSS file in version 2.13.6."
647
  msgstr ""
648
 
649
+ #: lib/class-testimonials-widget-settings.php:626
650
  msgid "Use `&lt;q&gt;` tag?"
651
  msgstr ""
652
 
653
+ #: lib/class-testimonials-widget-settings.php:627
654
  msgid "Pre 2.11.0, not HTML5 compliant"
655
  msgstr ""
656
 
657
+ #: lib/class-testimonials-widget-settings.php:638
658
  msgid "Remove `.hentry` CSS?"
659
  msgstr ""
660
 
661
+ #: lib/class-testimonials-widget-settings.php:639
662
  msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
663
  msgstr ""
664
 
665
+ #: lib/class-testimonials-widget-settings.php:865
666
  msgid "These Testimonials 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."
667
  msgstr ""
668
 
669
+ #: lib/class-testimonials-widget-settings.php:867
670
  msgid "Shortcode option names are listed below each entry."
671
  msgstr ""
672
 
673
+ #: lib/class-testimonials-widget-settings.php:870
674
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
675
  msgstr ""
676
 
677
+ #: lib/class-testimonials-widget-settings.php:880
678
  msgid "Show or hide optional fields."
679
  msgstr ""
680
 
681
+ #: lib/class-testimonials-widget-settings.php:888
682
  msgid "Options used to select testimonials."
683
  msgstr ""
684
 
685
+ #: lib/class-testimonials-widget-settings.php:896
686
  msgid "Options used to determine displayed testimonials ordering."
687
  msgstr ""
688
 
689
+ #: lib/class-testimonials-widget-settings.php:904
690
  msgid "Options related to showing testimonials in widgets."
691
  msgstr ""
692
 
693
+ #: lib/class-testimonials-widget-settings.php:912
694
  msgid "Archive and singular page URL related testimonials options."
695
  msgstr ""
696
 
697
+ #: lib/class-testimonials-widget-settings.php:919
698
  msgid "Compatibility & Reset"
699
  msgstr ""
700
 
701
+ #: lib/class-testimonials-widget-settings.php:920
702
  msgid "Backwards compatibility, import/export options, and reset options."
703
  msgstr ""
704
 
714
  msgid "This widget's unique CSS class for styling"
715
  msgstr ""
716
 
717
+ #: lib/requirements.php:51
718
+ msgid "Plugin \"%1$s\" has been deactivated as it requires a current Aihrus Framework. Once corrected, \"%1$s\" can be activated. %2$s"
719
+ msgstr ""
720
+
721
+ #: testimonials-widget.php:148 testimonials-widget.php:1980
722
  msgid "Testimonials Shortcode Examples"
723
  msgstr ""
724
 
725
+ #: testimonials-widget.php:148
726
  msgid "E.g. Shortcodes"
727
  msgstr ""
728
 
729
+ #: testimonials-widget.php:349
730
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
731
  msgstr ""
732
 
733
+ #: testimonials-widget.php:560
734
  msgid "ID"
735
  msgstr ""
736
 
737
+ #: testimonials-widget.php:561
738
  msgid "Image"
739
  msgstr ""
740
 
741
+ #: testimonials-widget.php:563
742
  msgid "Shortcodes"
743
  msgstr ""
744
 
745
+ #: testimonials-widget.php:569
746
  msgid "Published by"
747
  msgstr ""
748
 
749
+ #: testimonials-widget.php:575 testimonials-widget.php:578
750
  msgid "Category"
751
  msgstr ""
752
 
753
+ #: testimonials-widget.php:576 testimonials-widget.php:579
754
  msgid "Tags"
755
  msgstr ""
756
 
757
+ #: testimonials-widget.php:590
758
  msgid "Add New"
759
  msgstr ""
760
 
761
+ #: testimonials-widget.php:591 testimonials-widget.php:594
762
  msgid "Add New Testimonial"
763
  msgstr ""
764
 
765
+ #: testimonials-widget.php:592
766
  msgid "Edit Testimonial"
767
  msgstr ""
768
 
769
+ #: testimonials-widget.php:595 testimonials-widget.php:1002
770
  msgid "No testimonials found"
771
  msgstr ""
772
 
773
+ #: testimonials-widget.php:596
774
  msgid "No testimonials found in Trash"
775
  msgstr ""
776
 
777
+ #: testimonials-widget.php:598
778
  msgid "Search Testimonials"
779
  msgstr ""
780
 
781
+ #: testimonials-widget.php:599 testimonials-widget.php:1740
782
  msgid "Testimonial"
783
  msgstr ""
784
 
785
+ #: testimonials-widget.php:600
786
  msgid "View Testimonial"
787
  msgstr ""
788
 
789
+ #: testimonials-widget.php:1151
790
  msgid "…"
791
  msgstr ""
792
 
793
+ #: testimonials-widget.php:1360
794
  msgid "&laquo;"
795
  msgstr ""
796
 
797
+ #: testimonials-widget.php:1369
798
  msgid "&raquo;"
799
  msgstr ""
800
 
801
+ #: testimonials-widget.php:1664
802
  msgid "Testimonial Data"
803
  msgstr ""
804
 
805
+ #: testimonials-widget.php:1689
806
  msgid "Enter title here"
807
  msgstr ""
808
 
809
+ #: testimonials-widget.php:1690
810
  msgid "Enter testimonial source here"
811
  msgstr ""
812
 
813
+ #: testimonials-widget.php:1715
814
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
815
  msgstr ""
816
 
817
+ #: testimonials-widget.php:1716
818
  msgid "Custom field updated."
819
  msgstr ""
820
 
821
+ #: testimonials-widget.php:1717
822
  msgid "Custom field deleted."
823
  msgstr ""
824
 
825
+ #: testimonials-widget.php:1718
826
  msgid "Testimonial updated."
827
  msgstr ""
828
 
829
  #. translators: %s: date and time of the revision
830
 
831
+ #: testimonials-widget.php:1720
832
  msgid "Testimonial restored to revision from %s"
833
  msgstr ""
834
 
835
+ #: testimonials-widget.php:1721
836
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
837
  msgstr ""
838
 
839
+ #: testimonials-widget.php:1722
840
  msgid "Testimonial saved."
841
  msgstr ""
842
 
843
+ #: testimonials-widget.php:1723
844
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
845
  msgstr ""
846
 
847
+ #: testimonials-widget.php:1724
848
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
849
  msgstr ""
850
 
851
+ #: testimonials-widget.php:1725
852
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
853
  msgstr ""
854
 
855
+ #: testimonials-widget.php:1971
856
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
857
  msgstr ""
858
  #. Plugin Name of the plugin/theme
lib/aihrus/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
  # CHANGELOG Aihrus Framework
2
 
 
 
 
 
 
 
 
 
3
  ## master
4
- * FEATURE #3 Add WordPress version check
5
  * Abstract notice helper methods as functions
6
  * Add TODO
7
  * Add `add_media` post attachment helper
@@ -22,11 +29,15 @@
22
  * Allow reset_defaults in widget
23
  * BUGFIX Method version not static
24
  * BUGFIX Widget title is same as link
 
25
  * Check for PHP 5.3
26
  * Convert TODO to https://github.com/michael-cannon/aihrus-framework/issues
 
27
  * Encase pronouns in double-quotes
28
- * FEATURE #1 PHP Version checking
 
29
  * Remove unused methods
 
30
  * Rename no_code to show_code
31
  * Revise create_link parameters
32
  * Settings link with null post_type
1
  # CHANGELOG Aihrus Framework
2
 
3
+ ## 1.0.1-alpha
4
+ * Add strip_protocol
5
+ * Add valid_hash check
6
+ * Move relicensing to plugin level
7
+
8
+ ## 1.0.0
9
+ * Enable aihr_check_aihrus_framework
10
+
11
  ## master
 
12
  * Abstract notice helper methods as functions
13
  * Add TODO
14
  * Add `add_media` post attachment helper
29
  * Allow reset_defaults in widget
30
  * BUGFIX Method version not static
31
  * BUGFIX Widget title is same as link
32
+ * CLOSES #2 Disable purchase premium links if premium is active
33
  * Check for PHP 5.3
34
  * Convert TODO to https://github.com/michael-cannon/aihrus-framework/issues
35
+ * Display option values as is
36
  * Encase pronouns in double-quotes
37
+ * RESOLVES #1 PHP Version checking
38
+ * RESOLVES #3 Add WordPress version check
39
  * Remove unused methods
40
+ * Rename $options[$id] to $field_value
41
  * Rename no_code to show_code
42
  * Revise create_link parameters
43
  * Settings link with null post_type
lib/aihrus/class-aihrus-common.php CHANGED
@@ -19,7 +19,7 @@
19
  if ( class_exists( 'Aihrus_Common' ) )
20
  return;
21
 
22
- require 'interface-aihrus-common.php';
23
 
24
 
25
  abstract class Aihrus_Common implements Aihrus_Common_Interface {
@@ -313,6 +313,7 @@ EOD;
313
  $doc->loadHTML( $image );
314
  $xpath = new DOMXPath( $doc );
315
  $src = $xpath->evaluate( 'string(//img/@src)' );
 
316
 
317
  return $src;
318
  }
@@ -444,6 +445,15 @@ EOD;
444
  }
445
 
446
 
 
 
 
 
 
 
 
 
 
447
  }
448
 
449
 
19
  if ( class_exists( 'Aihrus_Common' ) )
20
  return;
21
 
22
+ require_once 'interface-aihrus-common.php';
23
 
24
 
25
  abstract class Aihrus_Common implements Aihrus_Common_Interface {
313
  $doc->loadHTML( $image );
314
  $xpath = new DOMXPath( $doc );
315
  $src = $xpath->evaluate( 'string(//img/@src)' );
316
+ $src = self::strip_protocol( $src );
317
 
318
  return $src;
319
  }
445
  }
446
 
447
 
448
+ public static function strip_protocol( $link ) {
449
+ if ( ! empty( $link ) ) {
450
+ $link = preg_replace( '#https?:#', '', $link );
451
+ }
452
+
453
+ return $link;
454
+ }
455
+
456
+
457
  }
458
 
459
 
lib/aihrus/class-aihrus-licensing.php CHANGED
@@ -19,7 +19,7 @@
19
  if ( class_exists( 'Aihrus_Licensing' ) )
20
  return;
21
 
22
- require 'interface-aihrus-licensing.php';
23
 
24
 
25
  abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
@@ -57,18 +57,18 @@ abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
57
  if ( $license === $value )
58
  return $value;
59
 
60
- if ( empty( $value ) ) {
 
 
 
 
 
 
61
  $this->deactivate_license();
62
  $this->delete_license();
63
 
64
  return '';
65
  }
66
-
67
- $this->set_license( $value );
68
- $value = $this->activate_license();
69
- $this->set_license( $value );
70
-
71
- return $value;
72
  }
73
 
74
 
@@ -84,16 +84,10 @@ abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
84
 
85
  public function valid_license() {
86
  $license = $this->get_license();
87
- if ( 32 === strlen( $license ) )
88
  return true;
89
-
90
- $license_data = $this->get_license_data();
91
- if ( false !== $license_data ) {
92
- if ( $license_data->license == 'valid' )
93
- return true;
94
- }
95
-
96
- return false;
97
  }
98
 
99
 
@@ -130,7 +124,7 @@ abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
130
  public function activate_license() {
131
  $license_data = $this->get_license_data( 'activate_license' );
132
  if ( false !== $license_data ) {
133
- if ( $license_data->license == 'valid' ) {
134
  $license = $this->get_license();
135
 
136
  return $license;
@@ -158,7 +152,7 @@ abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
158
  public function deactivate_license() {
159
  $license_data = $this->get_license_data( 'deactivate_license' );
160
  if ( false !== $license_data ) {
161
- if ( $license_data->license == 'deactivated' )
162
  return true;
163
 
164
  return $license_data->license;
@@ -180,6 +174,14 @@ abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
180
  }
181
 
182
 
 
 
 
 
 
 
 
 
183
  }
184
 
185
 
19
  if ( class_exists( 'Aihrus_Licensing' ) )
20
  return;
21
 
22
+ require_once 'interface-aihrus-licensing.php';
23
 
24
 
25
  abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
57
  if ( $license === $value )
58
  return $value;
59
 
60
+ if ( $this->valid_hash( $value ) ) {
61
+ $this->set_license( $value );
62
+ $value = $this->activate_license();
63
+ $this->set_license( $value );
64
+
65
+ return $value;
66
+ } else {
67
  $this->deactivate_license();
68
  $this->delete_license();
69
 
70
  return '';
71
  }
 
 
 
 
 
 
72
  }
73
 
74
 
84
 
85
  public function valid_license() {
86
  $license = $this->get_license();
87
+ if ( $this->valid_hash( $license ) )
88
  return true;
89
+ else
90
+ return false;
 
 
 
 
 
 
91
  }
92
 
93
 
124
  public function activate_license() {
125
  $license_data = $this->get_license_data( 'activate_license' );
126
  if ( false !== $license_data ) {
127
+ if ( 'valid' == $license_data->license ) {
128
  $license = $this->get_license();
129
 
130
  return $license;
152
  public function deactivate_license() {
153
  $license_data = $this->get_license_data( 'deactivate_license' );
154
  if ( false !== $license_data ) {
155
+ if ( 'deactivated' == $license_data->license )
156
  return true;
157
 
158
  return $license_data->license;
174
  }
175
 
176
 
177
+ public function valid_hash( $value = null ) {
178
+ if ( is_string( $value ) && preg_match( '#^[0-9a-f]{32}$#i', $value ) )
179
+ return true;
180
+
181
+ return false;
182
+ }
183
+
184
+
185
  }
186
 
187
 
lib/aihrus/class-aihrus-settings.php CHANGED
@@ -328,15 +328,15 @@ abstract class Aihrus_Settings {
328
  $field_class = ' ' . $class;
329
 
330
  // desc isn't escaped because it's might contain allowed html
331
- $choices = array_map( 'esc_attr', $choices );
332
- $field_class = esc_attr( $field_class );
333
- $id = esc_attr( $id );
334
- $options[$id] = esc_attr( $options[$id] );
335
- $std = esc_attr( $std );
336
 
337
  switch ( $type ) {
338
  case 'checkbox':
339
- $content .= '<input class="checkbox' . $field_class . '" type="checkbox" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="1" ' . checked( $options[$id], 1, false ) . ' /> ';
340
 
341
  if ( ! empty( $desc ) )
342
  $content .= '<label for="' . $id . '"><span class="description">' . $desc . '</span></label>';
@@ -358,12 +358,12 @@ abstract class Aihrus_Settings {
358
  break;
359
 
360
  case 'hidden':
361
- $content .= '<input type="hidden" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $options[$id] . '" />';
362
 
363
  break;
364
 
365
  case 'password':
366
- $content .= '<input class="regular-text' . $field_class . '" type="password" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $options[$id] . '" />';
367
 
368
  if ( ! empty( $desc ) )
369
  $content .= '<br /><span class="description">' . $desc . '</span>';
@@ -374,7 +374,7 @@ abstract class Aihrus_Settings {
374
  $i = 1;
375
  $count_choices = count( $choices );
376
  foreach ( $choices as $value => $label ) {
377
- $content .= '<input class="radio' . $field_class . '" type="radio" name="' . static::ID . '[' . $id . ']" id="' . $id . $i . '" value="' . $value . '" ' . checked( $options[$id], $value, false ) . '> <label for="' . $id . $i . '">' . $label . '</label>';
378
 
379
  if ( $i < $count_choices )
380
  $content .= '<br />';
@@ -390,7 +390,7 @@ abstract class Aihrus_Settings {
390
  break;
391
 
392
  case 'readonly':
393
- $content .= '<input class="regular-text' . $field_class . '" type="text" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $options[$id] . '" readonly="readonly" />';
394
 
395
  if ( ! empty( $desc ) )
396
  $content .= '<br /><span class="description">' . $desc . '</span>';
@@ -401,7 +401,7 @@ abstract class Aihrus_Settings {
401
  $content .= '<select class="select' . $field_class . '" id="' . $id . '" name="' . static::ID . '[' . $id . ']">';
402
 
403
  foreach ( $choices as $value => $label )
404
- $content .= '<option value="' . $value . '"' . selected( $options[$id], $value, false ) . '>' . $label . '</option>';
405
 
406
  $content .= '</select>';
407
 
@@ -413,7 +413,7 @@ abstract class Aihrus_Settings {
413
  break;
414
 
415
  case 'text':
416
- $content .= '<input class="regular-text' . $field_class . '" type="text" id="' . $id . '" name="' . static::ID . '[' . $id . ']" placeholder="' . $std . '" value="' . $options[$id] . '" />';
417
 
418
  if ( ! empty( $desc ) )
419
  $content .= '<br /><span class="description">' . $desc . '</span>';
@@ -423,7 +423,7 @@ abstract class Aihrus_Settings {
423
  break;
424
 
425
  case 'textarea':
426
- $content .= '<textarea class="' . $field_class . '" id="' . $id . '" name="' . static::ID . '[' . $id . ']" placeholder="' . $std . '" rows="5" cols="30">' . wp_htmledit_pre( $options[$id] ) . '</textarea>';
427
 
428
  if ( ! empty( $desc ) )
429
  $content .= '<br /><span class="description">' . $desc . '</span>';
328
  $field_class = ' ' . $class;
329
 
330
  // desc isn't escaped because it's might contain allowed html
331
+ $choices = array_map( 'esc_attr', $choices );
332
+ $field_class = esc_attr( $field_class );
333
+ $id = esc_attr( $id );
334
+ $field_value = esc_attr( $options[$id] );
335
+ $std = esc_attr( $std );
336
 
337
  switch ( $type ) {
338
  case 'checkbox':
339
+ $content .= '<input class="checkbox' . $field_class . '" type="checkbox" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="1" ' . checked( $field_value, 1, false ) . ' /> ';
340
 
341
  if ( ! empty( $desc ) )
342
  $content .= '<label for="' . $id . '"><span class="description">' . $desc . '</span></label>';
358
  break;
359
 
360
  case 'hidden':
361
+ $content .= '<input type="hidden" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $field_value . '" />';
362
 
363
  break;
364
 
365
  case 'password':
366
+ $content .= '<input class="regular-text' . $field_class . '" type="password" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $field_value . '" />';
367
 
368
  if ( ! empty( $desc ) )
369
  $content .= '<br /><span class="description">' . $desc . '</span>';
374
  $i = 1;
375
  $count_choices = count( $choices );
376
  foreach ( $choices as $value => $label ) {
377
+ $content .= '<input class="radio' . $field_class . '" type="radio" name="' . static::ID . '[' . $id . ']" id="' . $id . $i . '" value="' . $value . '" ' . checked( $field_value, $value, false ) . '> <label for="' . $id . $i . '">' . $label . '</label>';
378
 
379
  if ( $i < $count_choices )
380
  $content .= '<br />';
390
  break;
391
 
392
  case 'readonly':
393
+ $content .= '<input class="regular-text' . $field_class . '" type="text" id="' . $id . '" name="' . static::ID . '[' . $id . ']" value="' . $field_value . '" readonly="readonly" />';
394
 
395
  if ( ! empty( $desc ) )
396
  $content .= '<br /><span class="description">' . $desc . '</span>';
401
  $content .= '<select class="select' . $field_class . '" id="' . $id . '" name="' . static::ID . '[' . $id . ']">';
402
 
403
  foreach ( $choices as $value => $label )
404
+ $content .= '<option value="' . $value . '"' . selected( $field_value, $value, false ) . '>' . $label . '</option>';
405
 
406
  $content .= '</select>';
407
 
413
  break;
414
 
415
  case 'text':
416
+ $content .= '<input class="regular-text' . $field_class . '" type="text" id="' . $id . '" name="' . static::ID . '[' . $id . ']" placeholder="' . $std . '" value="' . $field_value . '" />';
417
 
418
  if ( ! empty( $desc ) )
419
  $content .= '<br /><span class="description">' . $desc . '</span>';
423
  break;
424
 
425
  case 'textarea':
426
+ $content .= '<textarea class="' . $field_class . '" id="' . $id . '" name="' . static::ID . '[' . $id . ']" placeholder="' . $std . '" rows="5" cols="30">' . $field_value . '</textarea>';
427
 
428
  if ( ! empty( $desc ) )
429
  $content .= '<br /><span class="description">' . $desc . '</span>';
lib/aihrus/class-aihrus-widget.php CHANGED
@@ -19,7 +19,7 @@
19
  if ( class_exists( 'Aihrus_Widget' ) )
20
  return;
21
 
22
- require 'interface-aihrus-widget.php';
23
 
24
 
25
  abstract class Aihrus_Widget extends WP_Widget implements Aihrus_Widget_Interface {
19
  if ( class_exists( 'Aihrus_Widget' ) )
20
  return;
21
 
22
+ require_once 'interface-aihrus-widget.php';
23
 
24
 
25
  abstract class Aihrus_Widget extends WP_Widget implements Aihrus_Widget_Interface {
lib/aihrus/requirements.php CHANGED
@@ -16,8 +16,84 @@
16
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
  */
18
 
 
 
 
 
 
 
19
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  if ( ! function_exists( 'aihr_check_php' ) ) {
22
  function aihr_check_php( $file = null, $name = null, $php_min = '5.3.0' ) {
23
  if ( is_null( $file ) ) {
@@ -50,7 +126,6 @@ if ( ! function_exists( 'aihr_check_php' ) ) {
50
  }
51
  }
52
 
53
-
54
  if ( ! function_exists( 'aihr_notice_php' ) ) {
55
  function aihr_notice_php() {
56
  if ( defined( 'AIHR_PHP_VERSION_NAME' ) ) {
@@ -69,7 +144,6 @@ if ( ! function_exists( 'aihr_notice_php' ) ) {
69
  }
70
  }
71
 
72
-
73
  if ( ! function_exists( 'aihr_check_wp' ) ) {
74
  function aihr_check_wp( $file = null, $name = null, $wp_min = '3.6.0' ) {
75
  if ( is_null( $file ) ) {
@@ -104,7 +178,6 @@ if ( ! function_exists( 'aihr_check_wp' ) ) {
104
  }
105
  }
106
 
107
-
108
  if ( ! function_exists( 'aihr_notice_wp' ) ) {
109
  function aihr_notice_wp() {
110
  global $wp_version;
@@ -125,14 +198,12 @@ if ( ! function_exists( 'aihr_notice_wp' ) ) {
125
  }
126
  }
127
 
128
-
129
  if ( ! function_exists( 'aihr_notice_error' ) ) {
130
  function aihr_notice_error( $text ) {
131
  aihr_notice_updated( $text, 'error' );
132
  }
133
  }
134
 
135
-
136
  if ( ! function_exists( 'aihr_notice_updated' ) ) {
137
  function aihr_notice_updated( $text, $class = 'updated' ) {
138
  if ( 'updated' == $class )
16
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
  */
18
 
19
+ if ( ! defined( 'AIHR_BASE' ) )
20
+ define( 'AIHR_BASE', __FILE__ );
21
+
22
+ if ( ! defined( 'AIHR_VERSION' ) )
23
+ define( 'AIHR_VERSION', '1.0.1' );
24
+
25
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
26
 
27
+ if ( ! function_exists( 'aihr_check_aihrus_framework' ) ) {
28
+ function aihr_check_aihrus_framework( $file = null, $name = null, $aihr_min = '1.0.0' ) {
29
+ if ( is_null( $file ) ) {
30
+ aihr_notice_error( __( '`aihr_check_aihrus_framework` requires $file argument', 'testimonials-widget' ) );
31
+
32
+ return false;
33
+ }
34
+
35
+ if ( ! defined( 'AIHR_VERSION' ) ) {
36
+ $check_okay = false;
37
+ } else {
38
+ $check_okay = version_compare( AIHR_VERSION, $aihr_min, '>=' );
39
+ }
40
+
41
+ $file = plugin_basename( $file );
42
+ if ( ! $check_okay && __FILE__ != $file ) {
43
+ deactivate_plugins( $file );
44
+
45
+ if ( ! defined( 'AIHR_VERSION_FILE' ) ) {
46
+ define( 'AIHR_VERSION_FILE', $file );
47
+ }
48
+
49
+ if ( ! is_null( $name ) && ! defined( 'AIHR_VERSION_NAME' ) ) {
50
+ define( 'AIHR_VERSION_NAME', $name );
51
+ }
52
+
53
+ if ( ! defined( 'AIHR_VERSION_MIN' ) ) {
54
+ define( 'AIHR_VERSION_MIN', $aihr_min );
55
+ }
56
+
57
+ add_action( 'admin_notices', 'aihr_notice_aihrus_framework' );
58
+ }
59
+
60
+ return $check_okay;
61
+ }
62
+ }
63
+
64
+ if ( ! function_exists( 'aihr_notice_aihrus_framework' ) ) {
65
+ function aihr_notice_aihrus_framework() {
66
+ if ( defined( 'AIHR_VERSION_NAME' ) ) {
67
+ $name = AIHR_VERSION_NAME;
68
+ } else {
69
+ $name = basename( dirname( AIHR_VERSION_FILE ) );
70
+ $name = str_replace( '-', ' ', $name );
71
+ $name = ucwords( $name );
72
+ }
73
+
74
+ $help_url = esc_url( 'https://aihrus.zendesk.com/entries/35689458' );
75
+ $help_link = sprintf( __( '<a href="%1$s">Update plugins</a>. <a href="%2$s">More information</a>.', 'testimonials-widget' ), self_admin_url( 'update-core.php' ), $help_url );
76
+
77
+ $note = '';
78
+ if ( defined( 'AIHR_BASE' ) ) {
79
+ $plugin = plugin_basename( AIHR_BASE );
80
+ $plugin = explode( '/', $plugin );
81
+
82
+ $plugin_name = $plugin[0];
83
+ $plugin_name = str_replace( '-', ' ', $plugin_name );
84
+ $plugin_name = ucwords( $plugin_name );
85
+
86
+ $note = sprintf( esc_html__( 'Plugin "%1$s" is causing the out of date issue.', 'testimonials-widget' ), $plugin_name );
87
+ }
88
+
89
+ $aihr_version = defined( 'AIHR_VERSION' ) ? AIHR_VERSION : '0.0.0';
90
+
91
+ $text = sprintf( esc_html__( 'Plugin "%1$s" has been deactivated as it requires Aihrus Framework %2$s or newer. You\'re running Aihrus Framework %4$s. Once corrected, "%1$s" can be activated. %5$s %3$s', 'testimonials-widget' ), $name, AIHR_VERSION_MIN, $help_link, $aihr_version, $note );
92
+
93
+ aihr_notice_error( $text );
94
+ }
95
+ }
96
+
97
  if ( ! function_exists( 'aihr_check_php' ) ) {
98
  function aihr_check_php( $file = null, $name = null, $php_min = '5.3.0' ) {
99
  if ( is_null( $file ) ) {
126
  }
127
  }
128
 
 
129
  if ( ! function_exists( 'aihr_notice_php' ) ) {
130
  function aihr_notice_php() {
131
  if ( defined( 'AIHR_PHP_VERSION_NAME' ) ) {
144
  }
145
  }
146
 
 
147
  if ( ! function_exists( 'aihr_check_wp' ) ) {
148
  function aihr_check_wp( $file = null, $name = null, $wp_min = '3.6.0' ) {
149
  if ( is_null( $file ) ) {
178
  }
179
  }
180
 
 
181
  if ( ! function_exists( 'aihr_notice_wp' ) ) {
182
  function aihr_notice_wp() {
183
  global $wp_version;
198
  }
199
  }
200
 
 
201
  if ( ! function_exists( 'aihr_notice_error' ) ) {
202
  function aihr_notice_error( $text ) {
203
  aihr_notice_updated( $text, 'error' );
204
  }
205
  }
206
 
 
207
  if ( ! function_exists( 'aihr_notice_updated' ) ) {
208
  function aihr_notice_updated( $text, $class = 'updated' ) {
209
  if ( 'updated' == $class )
lib/class-testimonials-widget-settings.php CHANGED
@@ -32,14 +32,14 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
32
  const ID = 'testimonialswidget_settings';
33
  const NAME = 'Testimonials Settings';
34
 
35
- public static $admin_page = '';
36
- public static $class = __CLASS__;
37
- public static $defaults = array();
38
- public static $plugin_path = array();
39
- public static $plugin_url = 'http://wordpress.org/plugins/testimonials-widget/';
40
- public static $sections = array();
41
- public static $settings = array();
42
- public static $suggest_id = 0;
43
  public static $version;
44
 
45
  public static $default = array(
@@ -99,7 +99,10 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
99
  public static function init() {
100
  load_plugin_textdomain( 'testimonials-widget', false, '/testimonials-widget/languages/' );
101
 
102
- self::$plugin_path = plugins_url( '', dirname( __FILE__ ) );
 
 
 
103
  }
104
 
105
 
32
  const ID = 'testimonialswidget_settings';
33
  const NAME = 'Testimonials Settings';
34
 
35
+ public static $admin_page;
36
+ public static $class = __CLASS__;
37
+ public static $defaults = array();
38
+ public static $plugin_path;
39
+ public static $plugin_url = 'http://wordpress.org/plugins/testimonials-widget/';
40
+ public static $sections = array();
41
+ public static $settings = array();
42
+ public static $suggest_id = 0;
43
  public static $version;
44
 
45
  public static $default = array(
99
  public static function init() {
100
  load_plugin_textdomain( 'testimonials-widget', false, '/testimonials-widget/languages/' );
101
 
102
+ $plugin_path = plugins_url( '', dirname( __FILE__ ) );
103
+ $plugin_path = Testimonials_Widget::strip_protocol( $plugin_path );
104
+
105
+ self::$plugin_path = $plugin_path;
106
  }
107
 
108
 
lib/requirements.php CHANGED
@@ -21,6 +21,13 @@ require_once TW_DIR_LIB . '/aihrus/requirements.php';
21
 
22
  function tw_requirements_check() {
23
  $valid_requirements = true;
 
 
 
 
 
 
 
24
  if ( ! aihr_check_php( TW_BASE, TW_NAME ) ) {
25
  $valid_requirements = false;
26
  }
@@ -36,4 +43,14 @@ function tw_requirements_check() {
36
  return $valid_requirements;
37
  }
38
 
 
 
 
 
 
 
 
 
 
 
39
  ?>
21
 
22
  function tw_requirements_check() {
23
  $valid_requirements = true;
24
+ if ( ! function_exists( 'aihr_check_aihrus_framework' ) ) {
25
+ $valid_requirements = false;
26
+ add_action( 'admin_notices', 'tw_notice_aihrus' );
27
+ } elseif ( ! aihr_check_aihrus_framework( TW_BASE, TW_NAME, TW_AIHR_VERSION ) ) {
28
+ $valid_requirements = false;
29
+ }
30
+
31
  if ( ! aihr_check_php( TW_BASE, TW_NAME ) ) {
32
  $valid_requirements = false;
33
  }
43
  return $valid_requirements;
44
  }
45
 
46
+
47
+ function tw_notice_aihrus() {
48
+ $help_url = esc_url( 'https://aihrus.zendesk.com/entries/35689458' );
49
+ $help_link = sprintf( __( '<a href="%1$s">Update plugins</a>. <a href="%2$s">More information</a>.', 'testimonials-widget' ), self_admin_url( 'update-core.php' ), $help_url );
50
+
51
+ $text = sprintf( esc_html__( 'Plugin "%1$s" has been deactivated as it requires a current Aihrus Framework. Once corrected, "%1$s" can be activated. %2$s', 'testimonials-widget' ), TW_NAME, $help_link );
52
+
53
+ aihr_notice_error( $text );
54
+ }
55
+
56
  ?>
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://aihr.us/about-aihrus/donate/
5
  Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
6
  Requires at least: 3.6
7
  Tested up to: 3.9.0
8
- Stable tag: 2.17.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -348,7 +348,7 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
348
  * Select plugins for update, click "Update Plugins"
349
  * Using FTP
350
  * Download and unzip [`testimonials-widget.zip`](http://downloads.wordpress.org/plugin/testimonials-widget.zip) locally
351
- * FTP, upload directory `testimonials-widget` to your website's `/wp-content/plugins/` directory
352
  * Be sure to overwrite your existing `testimonials-widget` folder contents
353
 
354
 
5
  Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
6
  Requires at least: 3.6
7
  Tested up to: 3.9.0
8
+ Stable tag: 2.17.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
348
  * Select plugins for update, click "Update Plugins"
349
  * Using FTP
350
  * Download and unzip [`testimonials-widget.zip`](http://downloads.wordpress.org/plugin/testimonials-widget.zip) locally
351
+ * Upload directory `testimonials-widget` to your website's `/wp-content/plugins/` directory
352
  * Be sure to overwrite your existing `testimonials-widget` folder contents
353
 
354
 
testimonials-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Testimonials by Aihrus
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Testimonials by Aihrus lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
6
- * Version: 2.17.0
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
@@ -24,11 +24,13 @@
24
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
 
27
  define( 'TW_BASE', plugin_basename( __FILE__ ) );
28
  define( 'TW_DIR', plugin_dir_path( __FILE__ ) );
29
  define( 'TW_DIR_LIB', TW_DIR . '/lib' );
30
  define( 'TW_NAME', 'Testimonials by Aihrus' );
31
- define( 'TW_VERSION', '2.17.0' );
 
32
 
33
  require_once TW_DIR_LIB . '/requirements.php';
34
 
@@ -331,9 +333,12 @@ class Testimonials_Widget extends Aihrus_Common {
331
 
332
  $links = array(
333
  self::$donate_link,
334
- '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Purchase Testimonials Premium</a>',
335
  );
336
 
 
 
 
 
337
  $input = array_merge( $input, $links );
338
 
339
  return $input;
@@ -1549,14 +1554,17 @@ EOF;
1549
  $post_id = $row->ID;
1550
  $email = get_post_meta( $post_id, 'testimonials-widget-email', true );
1551
 
1552
- if ( has_post_thumbnail( $post_id ) )
1553
  $image = get_the_post_thumbnail( $post_id, $image_size );
1554
- elseif ( ! $hide_gravatar && is_email( $email ) ) {
1555
  $image = get_avatar( $email, $gravatar_size );
1556
 
1557
  self::make_gravatar_featured( $post_id, $email );
1558
- } else
1559
  $image = false;
 
 
 
1560
 
1561
  $url = get_post_meta( $post_id, 'testimonials-widget-url', true );
1562
  if ( ! empty( $url ) && 0 === preg_match( '#https?://#', $url ) )
@@ -2039,8 +2047,6 @@ EOD;
2039
 
2040
  return $do_load;
2041
  }
2042
-
2043
-
2044
  }
2045
 
2046
 
3
  * Plugin Name: Testimonials by Aihrus
4
  * Plugin URI: http://wordpress.org/plugins/testimonials-widget/
5
  * Description: Testimonials by Aihrus lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
6
+ * Version: 2.17.1
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
24
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
27
+ define( 'TW_AIHR_VERSION', '1.0.1' );
28
  define( 'TW_BASE', plugin_basename( __FILE__ ) );
29
  define( 'TW_DIR', plugin_dir_path( __FILE__ ) );
30
  define( 'TW_DIR_LIB', TW_DIR . '/lib' );
31
  define( 'TW_NAME', 'Testimonials by Aihrus' );
32
+ define( 'TW_PREMIUM_LINK', '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Purchase Testimonials Premium</a>' );
33
+ define( 'TW_VERSION', '2.17.1' );
34
 
35
  require_once TW_DIR_LIB . '/requirements.php';
36
 
333
 
334
  $links = array(
335
  self::$donate_link,
 
336
  );
337
 
338
+ global $TW_Premium;
339
+ if ( ! isset( $TW_Premium ) )
340
+ $links[] = TW_PREMIUM_LINK;
341
+
342
  $input = array_merge( $input, $links );
343
 
344
  return $input;
1554
  $post_id = $row->ID;
1555
  $email = get_post_meta( $post_id, 'testimonials-widget-email', true );
1556
 
1557
+ if ( has_post_thumbnail( $post_id ) ) {
1558
  $image = get_the_post_thumbnail( $post_id, $image_size );
1559
+ } elseif ( ! $hide_gravatar && is_email( $email ) ) {
1560
  $image = get_avatar( $email, $gravatar_size );
1561
 
1562
  self::make_gravatar_featured( $post_id, $email );
1563
+ } else {
1564
  $image = false;
1565
+ }
1566
+
1567
+ $image = self::strip_protocol( $image );
1568
 
1569
  $url = get_post_meta( $post_id, 'testimonials-widget-url', true );
1570
  if ( ! empty( $url ) && 0 === preg_match( '#https?://#', $url ) )
2047
 
2048
  return $do_load;
2049
  }
 
 
2050
  }
2051
 
2052