Testimonials Widget - Version 2.19.4

Version Description

= 2.19.0 =

  • CSS class .title is now .job-title. Thank you Mark
  • Please resave your WordPress Admin > Testimonials > Settings so that missing aoptions are included again.
  • Shortcode and theme function testimonialswidget_list being deprecated by testimonials
  • Shortcode and theme function testimonialswidget_widget being deprecated by testimonials_slider

= 2.18.3 =

  • CSS class .hide renamed .display-none
  • This is the last version supporting pre-bxSlider options

= 2.18.2 =

  • CSS class .display-none renamed .hide

= 2.18.1 =

  • CSS is back to being always loaded in the header
  • Removed "Use bxSlider?" and "Include IE7 CSS" from widget options

= 2.18.0 =

  • remove_hentry is now true by default

= 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.19.4
Comparing to
See all releases

Code changes from version 2.19.3 to 2.19.4

CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
 
3
  ## master
4
 
 
 
 
 
 
 
 
 
 
 
5
  ## 2.19.3
6
  * Refactor get_defaults
7
  * Replace [[/]] with [/]
2
 
3
  ## master
4
 
5
+ ## 2.19.4
6
+ * Add Testimonials to Dashboard's At a Glance
7
+ * Hide version based options is bxSlider is enabled
8
+ * RELATED #78 Show revert link in deactivation admin notice
9
+ * RESOLVE #71 Permissions for Contributor
10
+ * RESOLVE Authors seeing more than own testimonials for editing
11
+ * Require Aihrus 1.1.3
12
+ * Revise readme options layout
13
+ * Revise screenshots
14
+
15
  ## 2.19.3
16
  * Refactor get_defaults
17
  * Replace [[/]] with [/]
includes/class-testimonials-widget-settings.php CHANGED
@@ -221,14 +221,30 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
221
  'type' => 'expand_begin',
222
  );
223
 
224
- self::$settings['exclude_bxslider_css'] = array(
225
- 'title' => esc_html__( 'Exclude bxSlider CSS?', 'testimonials-widget' ),
226
- 'desc' => esc_html__( 'For a bare-bones, unthemed slider.', 'testimonials-widget' ),
227
  'type' => 'checkbox',
228
  'validate' => 'is_true',
 
 
 
 
 
229
  'widget' => 0,
230
  );
231
 
 
 
 
 
 
 
 
 
 
 
 
232
  self::$settings['include_ie7_css'] = array(
233
  'title' => esc_html__( 'Include IE7 CSS?', 'testimonials-widget' ),
234
  'type' => 'checkbox',
@@ -625,7 +641,7 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
625
  // Reset
626
  self::$settings['reset_expand_begin'] = array(
627
  'section' => 'reset',
628
- 'desc' => esc_html__( 'Reset & Compatiblity Options', 'testimonials-widget' ),
629
  'type' => 'expand_begin',
630
  );
631
 
@@ -640,71 +656,59 @@ class Testimonials_Widget_Settings extends Aihrus_Settings {
640
 
641
  parent::settings();
642
 
643
- self::$settings['version_options_heading'] = array(
644
- 'section' => 'reset',
645
- 'desc' => esc_html__( 'Version Based Options', 'testimonials-widget' ),
646
- 'type' => 'heading',
647
- );
648
-
649
- self::$settings['use_bxslider'] = array(
650
- 'section' => 'reset',
651
- 'title' => esc_html__( 'Use bxSlider?', 'testimonials-widget' ),
652
- 'desc' => esc_html__( 'Pre 2.15.0, Testimonials\' used custom JavaScript for transitions.', 'testimonials-widget' ),
653
- 'type' => 'checkbox',
654
- 'validate' => 'is_true',
655
- 'backwards' => array(
656
- 'version' => '2.15.0',
657
- 'std' => 0,
658
- ),
659
- 'std' => 1,
660
- 'widget' => 0,
661
- );
662
 
663
- self::$settings['disable_animation'] = array(
664
- 'section' => 'reset',
665
- 'title' => esc_html__( 'Disable Animation?', 'testimonials-widget' ),
666
- 'desc' => esc_html__( 'Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets.', 'testimonials-widget' ),
667
- 'type' => 'checkbox',
668
- 'validate' => 'is_true',
669
- 'std' => 1,
670
- );
671
 
672
- self::$settings['fade_out_speed'] = array(
673
- 'section' => 'reset',
674
- 'title' => esc_html__( 'Fade Out Speed', 'testimonials-widget' ),
675
- 'desc' => esc_html__( 'Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
676
- 'std' => 1250,
677
- 'validate' => 'absint',
678
- );
679
 
680
- self::$settings['fade_in_speed'] = array(
681
- 'section' => 'reset',
682
- 'title' => esc_html__( 'Fade In Speed', 'testimonials-widget' ),
683
- 'desc' => esc_html__( 'Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
684
- 'std' => 500,
685
- 'validate' => 'absint',
686
- );
687
 
688
- self::$settings['height'] = array(
689
- 'section' => 'reset',
690
- 'title' => esc_html__( 'Height', 'testimonials-widget' ),
691
- 'desc' => esc_html__( 'Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height', 'testimonials-widget' ),
692
- 'validate' => 'min1',
693
- );
694
 
695
- self::$settings['min_height'] = array(
696
- 'section' => 'reset',
697
- 'title' => esc_html__( 'Minimum Height', 'testimonials-widget' ),
698
- 'desc' => esc_html__( 'Pre 2.15.0, Set for minimum display height, in pixels', 'testimonials-widget' ),
699
- 'validate' => 'min1',
700
- );
701
 
702
- self::$settings['max_height'] = array(
703
- 'section' => 'reset',
704
- 'title' => esc_html__( 'Maximum Height', 'testimonials-widget' ),
705
- 'desc' => esc_html__( 'Pre 2.15.0, Set for maximum display height, in pixels', 'testimonials-widget' ),
706
- 'validate' => 'min1',
707
- );
 
708
 
709
  self::$settings['reset_expand_end'] = array(
710
  'section' => 'reset',
221
  'type' => 'expand_begin',
222
  );
223
 
224
+ self::$settings['use_bxslider'] = array(
225
+ 'title' => esc_html__( 'Use bxSlider?', 'testimonials-widget' ),
226
+ 'desc' => esc_html__( 'Prior to 2.15.0, Testimonials\' used custom JavaScript for transitions.', 'testimonials-widget' ),
227
  'type' => 'checkbox',
228
  'validate' => 'is_true',
229
+ 'backwards' => array(
230
+ 'version' => '2.15.0',
231
+ 'std' => 0,
232
+ ),
233
+ 'std' => 1,
234
  'widget' => 0,
235
  );
236
 
237
+ $use_bxslider = tw_get_option( 'use_bxslider' );
238
+ if ( $use_bxslider ) {
239
+ self::$settings['exclude_bxslider_css'] = array(
240
+ 'title' => esc_html__( 'Exclude bxSlider CSS?', 'testimonials-widget' ),
241
+ 'desc' => esc_html__( 'For a bare-bones, unthemed slider.', 'testimonials-widget' ),
242
+ 'type' => 'checkbox',
243
+ 'validate' => 'is_true',
244
+ 'widget' => 0,
245
+ );
246
+ }
247
+
248
  self::$settings['include_ie7_css'] = array(
249
  'title' => esc_html__( 'Include IE7 CSS?', 'testimonials-widget' ),
250
  'type' => 'checkbox',
641
  // Reset
642
  self::$settings['reset_expand_begin'] = array(
643
  'section' => 'reset',
644
+ 'desc' => esc_html__( 'Reset', 'testimonials-widget' ),
645
  'type' => 'expand_begin',
646
  );
647
 
656
 
657
  parent::settings();
658
 
659
+ if ( empty( $use_bxslider ) ) {
660
+ self::$settings['version_options_heading'] = array(
661
+ 'section' => 'reset',
662
+ 'desc' => esc_html__( 'Version Based Options', 'testimonials-widget' ),
663
+ 'type' => 'heading',
664
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
665
 
666
+ self::$settings['disable_animation'] = array(
667
+ 'section' => 'reset',
668
+ 'title' => esc_html__( 'Disable Animation?', 'testimonials-widget' ),
669
+ 'desc' => esc_html__( 'Prior to 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets.', 'testimonials-widget' ),
670
+ 'type' => 'checkbox',
671
+ 'validate' => 'is_true',
672
+ 'std' => 1,
673
+ );
674
 
675
+ self::$settings['fade_out_speed'] = array(
676
+ 'section' => 'reset',
677
+ 'title' => esc_html__( 'Fade Out Speed', 'testimonials-widget' ),
678
+ 'desc' => esc_html__( 'Prior to 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
679
+ 'std' => 1250,
680
+ 'validate' => 'absint',
681
+ );
682
 
683
+ self::$settings['fade_in_speed'] = array(
684
+ 'section' => 'reset',
685
+ 'title' => esc_html__( 'Fade In Speed', 'testimonials-widget' ),
686
+ 'desc' => esc_html__( 'Prior to 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones.', 'testimonials-widget' ),
687
+ 'std' => 500,
688
+ 'validate' => 'absint',
689
+ );
690
 
691
+ self::$settings['height'] = array(
692
+ 'section' => 'reset',
693
+ 'title' => esc_html__( 'Height', 'testimonials-widget' ),
694
+ 'desc' => esc_html__( 'Prior to 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height', 'testimonials-widget' ),
695
+ 'validate' => 'min1',
696
+ );
697
 
698
+ self::$settings['min_height'] = array(
699
+ 'section' => 'reset',
700
+ 'title' => esc_html__( 'Minimum Height', 'testimonials-widget' ),
701
+ 'desc' => esc_html__( 'Prior to 2.15.0, Set for minimum display height, in pixels', 'testimonials-widget' ),
702
+ 'validate' => 'min1',
703
+ );
704
 
705
+ self::$settings['max_height'] = array(
706
+ 'section' => 'reset',
707
+ 'title' => esc_html__( 'Maximum Height', 'testimonials-widget' ),
708
+ 'desc' => esc_html__( 'Prior to 2.15.0, Set for maximum display height, in pixels', 'testimonials-widget' ),
709
+ 'validate' => 'min1',
710
+ );
711
+ }
712
 
713
  self::$settings['reset_expand_end'] = array(
714
  'section' => 'reset',
includes/class-testimonials-widget.php CHANGED
@@ -100,6 +100,7 @@ class Testimonials_Widget extends Aihrus_Common {
100
 
101
  add_action( 'admin_init', array( __CLASS__, 'admin_init' ) );
102
  add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
 
103
  add_action( 'init', array( __CLASS__, 'init' ) );
104
  add_action( 'widgets_init', array( __CLASS__, 'widgets_init' ) );
105
  add_shortcode( 'testimonials', array( __CLASS__, 'testimonials' ) );
@@ -110,9 +111,15 @@ class Testimonials_Widget extends Aihrus_Common {
110
 
111
 
112
  public static function admin_init() {
 
 
 
 
 
 
113
  self::support_thumbnails();
114
 
115
- 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>';
116
 
117
  self::add_meta_box_testimonials_widget();
118
  self::update();
@@ -269,7 +276,7 @@ class Testimonials_Widget extends Aihrus_Common {
269
  delete_option( Testimonials_Widget_Settings::ID );
270
  $wpdb->query( 'OPTIMIZE TABLE `' . $wpdb->options . '`' );
271
 
272
- Testimonials_Widget::delete_testimonials();
273
  }
274
  }
275
 
@@ -282,7 +289,7 @@ class Testimonials_Widget extends Aihrus_Common {
282
 
283
  foreach ( $posts as $post ) {
284
  $post_id = $post->ID;
285
- Testimonials_Widget::delete_attachments( $post_id );
286
 
287
  // dels post, meta & comments
288
  // true is force delete
@@ -468,8 +475,15 @@ class Testimonials_Widget extends Aihrus_Common {
468
  global $user_ID;
469
 
470
  // author's and below
471
- if ( $query->is_admin && ! empty( $query->is_main_query ) && $query->is_post_type_archive( Testimonials_Widget::PT ) && ! current_user_can( 'edit_others_posts' ) )
472
- $query->set( 'post_author', $user_ID );
 
 
 
 
 
 
 
473
 
474
  return $query;
475
  }
@@ -1493,7 +1507,7 @@ EOF;
1493
  'publish',
1494
  'private',
1495
  ),
1496
- 'post_type' => Testimonials_Widget::PT,
1497
  'posts_per_page' => $limit,
1498
  );
1499
 
@@ -1519,7 +1533,7 @@ EOF;
1519
  $args['post__in'] = $ids;
1520
 
1521
  if ( 'none' == $args['orderby'] )
1522
- add_filter( 'posts_results', array( 'Testimonials_Widget', 'posts_results_sort_none' ), 10, 2 );
1523
  }
1524
 
1525
  if ( $exclude ) {
@@ -1587,8 +1601,8 @@ EOF;
1587
  $testimonials = apply_filters( 'testimonials_widget_cache_set', $testimonials, $args );
1588
  }
1589
 
1590
- if ( has_filter( 'posts_results', array( 'Testimonials_Widget', 'posts_results_sort_none' ) ) )
1591
- remove_filter( 'posts_results', array( 'Testimonials_Widget', 'posts_results_sort_none' ) );
1592
 
1593
  self::$max_num_pages = $testimonials->max_num_pages;
1594
  self::$found_posts = $testimonials->found_posts;
@@ -1799,17 +1813,17 @@ EOF;
1799
  <td class="first b b-%1$s">%4$s%2$s%5$s</td>
1800
  <td class="t %1$s">%4$s%3$s%5$s</td>
1801
  </tr>';
1802
- $posts = wp_count_posts( Testimonials_Widget::PT );
1803
  $count = $posts->publish;
1804
  $name = _n( 'Testimonial', 'Testimonials', $count, 'testimonials-widget' );
1805
  $count_f = number_format_i18n( $count );
1806
- $a_open = '<a href="edit.php?post_type=' . Testimonials_Widget::PT . '">';
1807
  $a_close = '</a>';
1808
 
1809
  if ( current_user_can( 'edit_others_posts' ) )
1810
- $result = sprintf( $content, Testimonials_Widget::PT, $count_f, $name, $a_open, $a_close );
1811
  else
1812
- $result = sprintf( $content, Testimonials_Widget::PT, $count_f, $name, '', '' );
1813
 
1814
  echo $result;
1815
  }
@@ -2004,7 +2018,7 @@ EOF;
2004
 
2005
  if ( ! empty( $css ) ) {
2006
  self::$css = array_merge( $css, self::$css );
2007
- add_action( 'wp_footer', array( 'Testimonials_Widget', 'get_testimonials_css' ), 20 );
2008
  }
2009
  }
2010
 
@@ -2020,14 +2034,14 @@ EOF;
2020
 
2021
  if ( ! empty( $js ) ) {
2022
  self::$scripts = array_merge( $js, self::$scripts );
2023
- add_action( 'wp_footer', array( 'Testimonials_Widget', 'get_testimonials_scripts' ), 20 );
2024
  }
2025
  }
2026
 
2027
 
2028
  public static function call_scripts_styles( $testimonials, $atts, $widget_number = null ) {
2029
  if ( is_null( $widget_number ) )
2030
- $widget_number = Testimonials_Widget::get_instance();
2031
 
2032
  self::scripts( $atts );
2033
 
@@ -2170,6 +2184,31 @@ EOD;
2170
  public static function post_tag_column( $result, $column_name, $term_id ) {
2171
  return self::category_column( $result, $column_name, $term_id, false );
2172
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2173
  }
2174
 
2175
 
100
 
101
  add_action( 'admin_init', array( __CLASS__, 'admin_init' ) );
102
  add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
103
+ add_action( 'dashboard_glance_items', array( __CLASS__, 'dashboard_glance_items' ) );
104
  add_action( 'init', array( __CLASS__, 'init' ) );
105
  add_action( 'widgets_init', array( __CLASS__, 'widgets_init' ) );
106
  add_shortcode( 'testimonials', array( __CLASS__, 'testimonials' ) );
111
 
112
 
113
  public static function admin_init() {
114
+ if ( ! self::check_user_role( array( 'author' ) ) ) {
115
+ remove_menu_page( 'edit.php?post_type=' . self::PT );
116
+
117
+ return;
118
+ }
119
+
120
  self::support_thumbnails();
121
 
122
+ self::$settings_link = '<a href="' . get_admin_url() . 'edit.php?post_type=' . self::PT . '&page=' . Testimonials_Widget_Settings::ID . '">' . esc_html__( 'Settings', 'testimonials-widget' ) . '</a>';
123
 
124
  self::add_meta_box_testimonials_widget();
125
  self::update();
276
  delete_option( Testimonials_Widget_Settings::ID );
277
  $wpdb->query( 'OPTIMIZE TABLE `' . $wpdb->options . '`' );
278
 
279
+ self::delete_testimonials();
280
  }
281
  }
282
 
289
 
290
  foreach ( $posts as $post ) {
291
  $post_id = $post->ID;
292
+ self::delete_attachments( $post_id );
293
 
294
  // dels post, meta & comments
295
  // true is force delete
475
  global $user_ID;
476
 
477
  // author's and below
478
+ if ( $query->is_admin ) {
479
+ if ( empty( $query->is_main_query ) ) {
480
+ if ( $query->is_post_type_archive( self::PT ) ) {
481
+ if ( ! current_user_can( 'edit_others_posts' ) ) {
482
+ $query->set( 'post_author', $user_ID );
483
+ }
484
+ }
485
+ }
486
+ }
487
 
488
  return $query;
489
  }
1507
  'publish',
1508
  'private',
1509
  ),
1510
+ 'post_type' => self::PT,
1511
  'posts_per_page' => $limit,
1512
  );
1513
 
1533
  $args['post__in'] = $ids;
1534
 
1535
  if ( 'none' == $args['orderby'] )
1536
+ add_filter( 'posts_results', array( __CLASS__, 'posts_results_sort_none' ), 10, 2 );
1537
  }
1538
 
1539
  if ( $exclude ) {
1601
  $testimonials = apply_filters( 'testimonials_widget_cache_set', $testimonials, $args );
1602
  }
1603
 
1604
+ if ( has_filter( 'posts_results', array( __CLASS__, 'posts_results_sort_none' ) ) )
1605
+ remove_filter( 'posts_results', array( __CLASS__, 'posts_results_sort_none' ) );
1606
 
1607
  self::$max_num_pages = $testimonials->max_num_pages;
1608
  self::$found_posts = $testimonials->found_posts;
1813
  <td class="first b b-%1$s">%4$s%2$s%5$s</td>
1814
  <td class="t %1$s">%4$s%3$s%5$s</td>
1815
  </tr>';
1816
+ $posts = wp_count_posts( self::PT );
1817
  $count = $posts->publish;
1818
  $name = _n( 'Testimonial', 'Testimonials', $count, 'testimonials-widget' );
1819
  $count_f = number_format_i18n( $count );
1820
+ $a_open = '<a href="edit.php?post_type=' . self::PT . '">';
1821
  $a_close = '</a>';
1822
 
1823
  if ( current_user_can( 'edit_others_posts' ) )
1824
+ $result = sprintf( $content, self::PT, $count_f, $name, $a_open, $a_close );
1825
  else
1826
+ $result = sprintf( $content, self::PT, $count_f, $name, '', '' );
1827
 
1828
  echo $result;
1829
  }
2018
 
2019
  if ( ! empty( $css ) ) {
2020
  self::$css = array_merge( $css, self::$css );
2021
+ add_action( 'wp_footer', array( __CLASS__, 'get_testimonials_css' ), 20 );
2022
  }
2023
  }
2024
 
2034
 
2035
  if ( ! empty( $js ) ) {
2036
  self::$scripts = array_merge( $js, self::$scripts );
2037
+ add_action( 'wp_footer', array( __CLASS__, 'get_testimonials_scripts' ), 20 );
2038
  }
2039
  }
2040
 
2041
 
2042
  public static function call_scripts_styles( $testimonials, $atts, $widget_number = null ) {
2043
  if ( is_null( $widget_number ) )
2044
+ $widget_number = self::get_instance();
2045
 
2046
  self::scripts( $atts );
2047
 
2184
  public static function post_tag_column( $result, $column_name, $term_id ) {
2185
  return self::category_column( $result, $column_name, $term_id, false );
2186
  }
2187
+
2188
+
2189
+ public static function dashboard_glance_items( $array ) {
2190
+ if ( ! current_user_can( 'edit_others_posts' ) )
2191
+ return $array;
2192
+
2193
+ $count = apply_filters( 'testimonials_widget_cache_get', false, 'dashboard_count' );
2194
+ if ( false === $count ) {
2195
+ $posts = wp_count_posts( self::PT );
2196
+ $count = $posts->publish;
2197
+ $count = apply_filters( 'testimonials_widget_cache_set', $count, 'dashboard_count' );
2198
+ }
2199
+
2200
+ if ( $count ) {
2201
+ $content = '%1$s%2$s %3$s%4$s';
2202
+ $name = _n( 'Testimonial', 'Testimonials', $count, 'testimonials-widget-premium', 'testimonials-widget' );
2203
+ $count_f = number_format_i18n( $count );
2204
+ $a_open = '<a href="edit.php?post_type=' . self::PT . '">';
2205
+ $a_close = '</a>';
2206
+
2207
+ $array[] = sprintf( $content, $a_open, $count_f, $name, $a_close );
2208
+ }
2209
+
2210
+ return $array;
2211
+ }
2212
  }
2213
 
2214
 
includes/libraries/aihrus-framework/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
 
3
  ## master
4
 
 
 
 
 
 
5
  ## 1.1.2
6
  * Add licensing status notices
7
  * Code formatting
2
 
3
  ## master
4
 
5
+ ## 1.1.3
6
+ * Add check_user_role method
7
+ * RESOLVE michael-cannon/testimonials-widget#85 New testimonial rating field is blank
8
+ * RESOLVE Undefined index notice
9
+
10
  ## 1.1.2
11
  * Add licensing status notices
12
  * Code formatting
includes/libraries/aihrus-framework/aihrus-framework.php CHANGED
@@ -29,7 +29,7 @@ if ( ! defined( 'AIHR_DIR_LIB' ) )
29
  define( 'AIHR_DIR_LIB', AIHR_DIR_INC . 'libraries/' );
30
 
31
  if ( ! defined( 'AIHR_VERSION' ) )
32
- define( 'AIHR_VERSION', '1.1.2' );
33
 
34
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
35
 
29
  define( 'AIHR_DIR_LIB', AIHR_DIR_INC . 'libraries/' );
30
 
31
  if ( ! defined( 'AIHR_VERSION' ) )
32
+ define( 'AIHR_VERSION', '1.1.3' );
33
 
34
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
35
 
includes/libraries/aihrus-framework/includes/class-aihrus-common.php CHANGED
@@ -462,6 +462,38 @@ EOD;
462
  }
463
 
464
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
  }
466
 
467
 
462
  }
463
 
464
 
465
+ /**
466
+ * @ref http://wpbandit.com/code/check-a-users-role-in-wordpress/
467
+ */
468
+ public static function check_user_role( $roles = array(), $user_id = null ) {
469
+ // Get user by ID, else get current user
470
+ if ( $user_id ) {
471
+ $user = get_userdata( $user_id );
472
+ } else {
473
+ $user = wp_get_current_user();
474
+ }
475
+
476
+ // No user found, return
477
+ if ( empty( $user ) )
478
+ return false;
479
+
480
+ // Append administrator to roles, if necessary
481
+ if ( !in_array( 'administrator', $roles ) )
482
+ $roles[] = 'administrator';
483
+
484
+ // Loop through user roles
485
+ foreach ( $user->roles as $role ) {
486
+ // Does user have role
487
+ if ( in_array( $role, $roles ) ) {
488
+ return true;
489
+ }
490
+ }
491
+
492
+ // User not in roles
493
+ return false;
494
+ }
495
+
496
+
497
  }
498
 
499
 
includes/libraries/aihrus-framework/includes/libraries/class-redrokk-metabox-class.php CHANGED
@@ -909,7 +909,8 @@ jQuery('#edit_<?php echo $this->_category_name; ?>_<?php echo $meta_id; ?>').cli
909
  }
910
  ?>
911
  <?php switch ( $type ) { default: ?>
912
- <?php if ( is_callable( $type ) && function_exists( $type ) && ! empty( $custom[ $id ] ) ) : ?>
 
913
  <tr>
914
  <th scope="row" style="width: 140px">
915
  <label for="<?php echo $id; ?>"><?php echo $name; ?></label>
909
  }
910
  ?>
911
  <?php switch ( $type ) { default: ?>
912
+ <?php if ( is_callable( $type ) && function_exists( $type ) ) : ?>
913
+ <?php if ( ! isset( $custom[ $id ] ) ) $custom[ $id ] = null; ?>
914
  <tr>
915
  <th scope="row" style="width: 140px">
916
  <label for="<?php echo $id; ?>"><?php echo $name; ?></label>
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.19.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
- "POT-Creation-Date: 2014-04-21 07:24: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"
@@ -17,37 +17,37 @@ msgid "Testimonials Settings"
17
  msgstr ""
18
 
19
  #: includes/class-testimonials-widget-settings.php:91
20
- #: includes/class-testimonials-widget.php:115
21
  msgid "Settings"
22
  msgstr ""
23
 
24
  #: includes/class-testimonials-widget-settings.php:107
25
- #: includes/class-testimonials-widget-settings.php:943
26
  msgid "General"
27
  msgstr ""
28
 
29
  #: includes/class-testimonials-widget-settings.php:108
30
- #: includes/class-testimonials-widget-settings.php:951
31
  msgid "Selection"
32
  msgstr ""
33
 
34
  #: includes/class-testimonials-widget-settings.php:109
35
- #: includes/class-testimonials-widget-settings.php:959
36
  msgid "Ordering"
37
  msgstr ""
38
 
39
  #: includes/class-testimonials-widget-settings.php:110
40
- #: includes/class-testimonials-widget-settings.php:967
41
  msgid "Widget"
42
  msgstr ""
43
 
44
  #: includes/class-testimonials-widget-settings.php:111
45
- #: includes/class-testimonials-widget-settings.php:975
46
  msgid "Post Type"
47
  msgstr ""
48
 
49
  #: includes/class-testimonials-widget-settings.php:112
50
- #: includes/class-testimonials-widget-settings.php:983
51
  msgid "Columns"
52
  msgstr ""
53
 
@@ -57,8 +57,8 @@ msgstr ""
57
 
58
  #: includes/class-testimonials-widget-settings.php:130
59
  #: includes/class-testimonials-widget-widget.php:32
60
- #: includes/class-testimonials-widget.php:612
61
- #: includes/class-testimonials-widget.php:658
62
  msgid "Testimonials"
63
  msgstr ""
64
 
@@ -147,458 +147,459 @@ msgid "General Options"
147
  msgstr ""
148
 
149
  #: includes/class-testimonials-widget-settings.php:225
150
- msgid "Exclude bxSlider CSS?"
151
  msgstr ""
152
 
153
  #: includes/class-testimonials-widget-settings.php:226
 
 
 
 
 
 
 
 
154
  msgid "For a bare-bones, unthemed slider."
155
  msgstr ""
156
 
157
- #: includes/class-testimonials-widget-settings.php:233
158
  msgid "Include IE7 CSS?"
159
  msgstr ""
160
 
161
- #: includes/class-testimonials-widget-settings.php:240
162
  msgid "Hide built-in quotes?"
163
  msgstr ""
164
 
165
- #: includes/class-testimonials-widget-settings.php:241
166
  msgid "Remove open and close quote span tags surrounding testimonial content"
167
  msgstr ""
168
 
169
- #: includes/class-testimonials-widget-settings.php:247
170
  msgid "Remove `.hentry` CSS?"
171
  msgstr ""
172
 
173
- #: includes/class-testimonials-widget-settings.php:248
174
  msgid "Some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
175
  msgstr ""
176
 
177
- #: includes/class-testimonials-widget-settings.php:255
178
  msgid "Use `&lt;q&gt;` tag?"
179
  msgstr ""
180
 
181
- #: includes/class-testimonials-widget-settings.php:256
182
  msgid "Not HTML5 compliant"
183
  msgstr ""
184
 
185
- #: includes/class-testimonials-widget-settings.php:262
186
  msgid "Fields to Show"
187
  msgstr ""
188
 
189
- #: includes/class-testimonials-widget-settings.php:267
190
  msgid "Hide Gravatar Image?"
191
  msgstr ""
192
 
193
- #: includes/class-testimonials-widget-settings.php:273
194
- #: includes/class-testimonials-widget-settings.php:566
195
  msgid "Hide Image?"
196
  msgstr ""
197
 
198
- #: includes/class-testimonials-widget-settings.php:279
199
  msgid "Hide Image in Single View?"
200
  msgstr ""
201
 
202
- #: includes/class-testimonials-widget-settings.php:286
203
  msgid "Hide Testimonial Content?"
204
  msgstr ""
205
 
206
- #: includes/class-testimonials-widget-settings.php:292
207
  msgid "Hide Author/Source?"
208
  msgstr ""
209
 
210
- #: includes/class-testimonials-widget-settings.php:295
211
  msgid "Don't display \"Post Title\" in cite"
212
  msgstr ""
213
 
214
- #: includes/class-testimonials-widget-settings.php:299
215
- #: includes/class-testimonials-widget-settings.php:600
216
  msgid "Hide Email?"
217
  msgstr ""
218
 
219
- #: includes/class-testimonials-widget-settings.php:306
220
- #: includes/class-testimonials-widget-settings.php:582
221
  msgid "Hide Job Title?"
222
  msgstr ""
223
 
224
- #: includes/class-testimonials-widget-settings.php:312
225
- #: includes/class-testimonials-widget-settings.php:591
226
  msgid "Hide Location?"
227
  msgstr ""
228
 
229
- #: includes/class-testimonials-widget-settings.php:318
230
- #: includes/class-testimonials-widget-settings.php:609
231
  msgid "Hide Company?"
232
  msgstr ""
233
 
234
- #: includes/class-testimonials-widget-settings.php:324
235
- #: includes/class-testimonials-widget-settings.php:618
236
  msgid "Hide URL?"
237
  msgstr ""
238
 
239
- #: includes/class-testimonials-widget-settings.php:330
240
  msgid "Miscellanious"
241
  msgstr ""
242
 
243
- #: includes/class-testimonials-widget-settings.php:335
244
  msgid "Default Reviewed Item?"
245
  msgstr ""
246
 
247
- #: includes/class-testimonials-widget-settings.php:336
248
  msgid "Name of thing being referenced in testimonials"
249
  msgstr ""
250
 
251
- #: includes/class-testimonials-widget-settings.php:342
252
  msgid "Default Reviewed Item URL?"
253
  msgstr ""
254
 
255
- #: includes/class-testimonials-widget-settings.php:343
256
  msgid "URL of thing being referenced in testimonials"
257
  msgstr ""
258
 
259
- #: includes/class-testimonials-widget-settings.php:350
260
  msgid "Enable Paging?"
261
  msgstr ""
262
 
263
- #: includes/class-testimonials-widget-settings.php:351
264
  msgid "For `[testimonials]`"
265
  msgstr ""
266
 
267
- #: includes/class-testimonials-widget-settings.php:354
268
  msgid "Disable"
269
  msgstr ""
270
 
271
- #: includes/class-testimonials-widget-settings.php:355
272
  msgid "Enable"
273
  msgstr ""
274
 
275
- #: includes/class-testimonials-widget-settings.php:356
276
  msgid "Before testimonials"
277
  msgstr ""
278
 
279
- #: includes/class-testimonials-widget-settings.php:357
280
  msgid "After testimonials"
281
  msgstr ""
282
 
283
- #: includes/class-testimonials-widget-settings.php:363
284
  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."
285
  msgstr ""
286
 
287
- #: includes/class-testimonials-widget-settings.php:366
288
  msgid "Enable Review Schema?"
289
  msgstr ""
290
 
291
- #: includes/class-testimonials-widget-settings.php:374
292
  msgid "Enable [shortcodes]?"
293
  msgstr ""
294
 
295
- #: includes/class-testimonials-widget-settings.php:375
296
  msgid "If unchecked, shortcodes are stripped."
297
  msgstr ""
298
 
299
- #: includes/class-testimonials-widget-settings.php:382
300
  msgid "Hide \"Testimonials Not Found\"?"
301
  msgstr ""
302
 
303
- #: includes/class-testimonials-widget-settings.php:388
304
  msgid "URL Target"
305
  msgstr ""
306
 
307
- #: includes/class-testimonials-widget-settings.php:389
308
  msgid "Add target to all URLs; leave blank if none"
309
  msgstr ""
310
 
311
- #: includes/class-testimonials-widget-settings.php:400
312
  msgid "Selection Options"
313
  msgstr ""
314
 
315
- #: includes/class-testimonials-widget-settings.php:406
316
  msgid "Category Filter"
317
  msgstr ""
318
 
319
- #: includes/class-testimonials-widget-settings.php:407
320
  msgid "Comma separated category names. Ex: Category A, Another category"
321
  msgstr ""
322
 
323
- #: includes/class-testimonials-widget-settings.php:414
324
  msgid "Tags Filter"
325
  msgstr ""
326
 
327
- #: includes/class-testimonials-widget-settings.php:415
328
  msgid "Comma separated tag names. Ex: Tag A, Another tag"
329
  msgstr ""
330
 
331
- #: includes/class-testimonials-widget-settings.php:422
332
  msgid "Require All Tags?"
333
  msgstr ""
334
 
335
- #: includes/class-testimonials-widget-settings.php:423
336
  msgid "Select only testimonials with all of the given tags"
337
  msgstr ""
338
 
339
- #: includes/class-testimonials-widget-settings.php:430
340
  msgid "Include IDs Filter"
341
  msgstr ""
342
 
343
- #: includes/class-testimonials-widget-settings.php:431
344
- #: includes/class-testimonials-widget-settings.php:438
345
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
346
  msgstr ""
347
 
348
- #: includes/class-testimonials-widget-settings.php:437
349
  msgid "Exclude IDs Filter"
350
  msgstr ""
351
 
352
- #: includes/class-testimonials-widget-settings.php:444
353
  msgid "Limit"
354
  msgstr ""
355
 
356
- #: includes/class-testimonials-widget-settings.php:445
357
  msgid "Number of testimonials to select per instance"
358
  msgstr ""
359
 
360
- #: includes/class-testimonials-widget-settings.php:458
361
  msgid "Ordering Options"
362
  msgstr ""
363
 
364
- #: includes/class-testimonials-widget-settings.php:464
365
  msgid "Random Order?"
366
  msgstr ""
367
 
368
- #: includes/class-testimonials-widget-settings.php:465
369
  msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
370
  msgstr ""
371
 
372
- #: includes/class-testimonials-widget-settings.php:472
373
  msgid "ORDER BY"
374
  msgstr ""
375
 
376
- #: includes/class-testimonials-widget-settings.php:473
377
  msgid "Used when \"Random Order\" is disabled"
378
  msgstr ""
379
 
380
- #: includes/class-testimonials-widget-settings.php:476
381
  msgid "Testimonial ID"
382
  msgstr ""
383
 
384
- #: includes/class-testimonials-widget-settings.php:477
385
  msgid "Author"
386
  msgstr ""
387
 
388
- #: includes/class-testimonials-widget-settings.php:478
389
- #: includes/class-testimonials-widget.php:549
390
  msgid "Date"
391
  msgstr ""
392
 
393
- #: includes/class-testimonials-widget-settings.php:479
394
  msgid "Menu Order"
395
  msgstr ""
396
 
397
- #: includes/class-testimonials-widget-settings.php:480
398
- #: includes/class-testimonials-widget.php:547
399
  msgid "Source"
400
  msgstr ""
401
 
402
- #: includes/class-testimonials-widget-settings.php:481
403
  msgid "No order"
404
  msgstr ""
405
 
406
- #: includes/class-testimonials-widget-settings.php:489
407
  msgid "ORDER BY meta_key"
408
  msgstr ""
409
 
410
- #: includes/class-testimonials-widget-settings.php:490
411
  msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
412
  msgstr ""
413
 
414
- #: includes/class-testimonials-widget-settings.php:493
415
  msgid "None"
416
  msgstr ""
417
 
418
- #: includes/class-testimonials-widget-settings.php:494
419
- #: includes/class-testimonials-widget.php:578
420
- #: includes/class-testimonials-widget.php:1692
421
  msgid "Job Title"
422
  msgstr ""
423
 
424
- #: includes/class-testimonials-widget-settings.php:495
425
- #: includes/class-testimonials-widget.php:588
426
- #: includes/class-testimonials-widget.php:1704
427
  msgid "Email"
428
  msgstr ""
429
 
430
- #: includes/class-testimonials-widget-settings.php:496
431
- #: includes/class-testimonials-widget.php:583
432
- #: includes/class-testimonials-widget.php:1698
433
  msgid "Location"
434
  msgstr ""
435
 
436
- #: includes/class-testimonials-widget-settings.php:497
437
- #: includes/class-testimonials-widget.php:593
438
- #: includes/class-testimonials-widget.php:1710
439
  msgid "Company"
440
  msgstr ""
441
 
442
- #: includes/class-testimonials-widget-settings.php:498
443
- #: includes/class-testimonials-widget.php:598
444
- #: includes/class-testimonials-widget.php:1716
445
  msgid "URL"
446
  msgstr ""
447
 
448
- #: includes/class-testimonials-widget-settings.php:505
449
  msgid "ORDER BY Order"
450
  msgstr ""
451
 
452
- #: includes/class-testimonials-widget-settings.php:508
453
  msgid "Descending"
454
  msgstr ""
455
 
456
- #: includes/class-testimonials-widget-settings.php:509
457
  msgid "Ascending"
458
  msgstr ""
459
 
460
- #: includes/class-testimonials-widget-settings.php:523
461
  msgid "Allow Comments?"
462
  msgstr ""
463
 
464
- #: includes/class-testimonials-widget-settings.php:524
465
  msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
466
  msgstr ""
467
 
468
- #: includes/class-testimonials-widget-settings.php:530
469
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
470
  msgstr ""
471
 
472
- #: includes/class-testimonials-widget-settings.php:536
473
  msgid "Archive Page URL"
474
  msgstr ""
475
 
476
- #: includes/class-testimonials-widget-settings.php:543
477
  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."
478
  msgstr ""
479
 
480
- #: includes/class-testimonials-widget-settings.php:547
481
  msgid "Testimonial Page URL"
482
  msgstr ""
483
 
484
- #: includes/class-testimonials-widget-settings.php:557
485
  msgid "Hide ID?"
486
  msgstr ""
487
 
488
- #: includes/class-testimonials-widget-settings.php:574
489
  msgid "Hide Shortcode?"
490
  msgstr ""
491
 
492
- #: includes/class-testimonials-widget-settings.php:628
493
- msgid "Reset & Compatiblity Options"
 
494
  msgstr ""
495
 
496
- #: includes/class-testimonials-widget-settings.php:634
497
  msgid "Don't Use Default Taxonomies?"
498
  msgstr ""
499
 
500
- #: includes/class-testimonials-widget-settings.php:637
501
  msgid "If checked, use Testimonials' own category and tag taxonomies instead"
502
  msgstr ""
503
 
504
- #: includes/class-testimonials-widget-settings.php:645
505
  msgid "Version Based Options"
506
  msgstr ""
507
 
508
- #: includes/class-testimonials-widget-settings.php:651
509
- msgid "Use bxSlider?"
510
- msgstr ""
511
-
512
- #: includes/class-testimonials-widget-settings.php:652
513
- msgid "Pre 2.15.0, Testimonials' used custom JavaScript for transitions."
514
- msgstr ""
515
-
516
- #: includes/class-testimonials-widget-settings.php:665
517
  msgid "Disable Animation?"
518
  msgstr ""
519
 
520
- #: includes/class-testimonials-widget-settings.php:666
521
- msgid "Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
522
  msgstr ""
523
 
524
- #: includes/class-testimonials-widget-settings.php:674
525
  msgid "Fade Out Speed"
526
  msgstr ""
527
 
528
- #: includes/class-testimonials-widget-settings.php:675
529
- #: includes/class-testimonials-widget-settings.php:683
530
- msgid "Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
531
  msgstr ""
532
 
533
- #: includes/class-testimonials-widget-settings.php:682
534
  msgid "Fade In Speed"
535
  msgstr ""
536
 
537
- #: includes/class-testimonials-widget-settings.php:690
538
  msgid "Height"
539
  msgstr ""
540
 
541
- #: includes/class-testimonials-widget-settings.php:691
542
- msgid "Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
543
  msgstr ""
544
 
545
- #: includes/class-testimonials-widget-settings.php:697
546
  msgid "Minimum Height"
547
  msgstr ""
548
 
549
- #: includes/class-testimonials-widget-settings.php:698
550
- msgid "Pre 2.15.0, Set for minimum display height, in pixels"
551
  msgstr ""
552
 
553
- #: includes/class-testimonials-widget-settings.php:704
554
  msgid "Maximum Height"
555
  msgstr ""
556
 
557
- #: includes/class-testimonials-widget-settings.php:705
558
- msgid "Pre 2.15.0, Set for maximum display height, in pixels"
559
  msgstr ""
560
 
561
- #: includes/class-testimonials-widget-settings.php:929
562
  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."
563
  msgstr ""
564
 
565
- #: includes/class-testimonials-widget-settings.php:931
566
  msgid "Shortcode option names are listed below each entry."
567
  msgstr ""
568
 
569
- #: includes/class-testimonials-widget-settings.php:934
570
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
571
  msgstr ""
572
 
573
- #: includes/class-testimonials-widget-settings.php:944
574
  msgid "Show or hide optional fields."
575
  msgstr ""
576
 
577
- #: includes/class-testimonials-widget-settings.php:952
578
  msgid "Options used to select testimonials."
579
  msgstr ""
580
 
581
- #: includes/class-testimonials-widget-settings.php:960
582
  msgid "Options used to determine displayed testimonials ordering."
583
  msgstr ""
584
 
585
- #: includes/class-testimonials-widget-settings.php:968
586
  msgid "Options related to showing testimonials in widgets."
587
  msgstr ""
588
 
589
- #: includes/class-testimonials-widget-settings.php:976
590
  msgid "Archive and singular page URL related testimonials options."
591
  msgstr ""
592
 
593
- #: includes/class-testimonials-widget-settings.php:984
594
  msgid "Allowed columns to display on edit page."
595
  msgstr ""
596
 
597
- #: includes/class-testimonials-widget-settings.php:991
598
  msgid "Compatibility & Reset"
599
  msgstr ""
600
 
601
- #: includes/class-testimonials-widget-settings.php:992
602
  msgid "Backwards compatibility, import/export options, and reset options."
603
  msgstr ""
604
 
@@ -614,155 +615,156 @@ msgstr ""
614
  msgid "This widget's unique CSS class for styling"
615
  msgstr ""
616
 
617
- #: includes/class-testimonials-widget.php:143
618
- #: includes/class-testimonials-widget.php:2059
619
  msgid "Testimonials Shortcode Examples"
620
  msgstr ""
621
 
622
- #: includes/class-testimonials-widget.php:143
623
  msgid "E.g. Shortcodes"
624
  msgstr ""
625
 
626
- #: includes/class-testimonials-widget.php:334
627
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
628
  msgstr ""
629
 
630
- #: includes/class-testimonials-widget.php:548
631
  msgid "Published by"
632
  msgstr ""
633
 
634
- #: includes/class-testimonials-widget.php:554
635
- #: includes/class-testimonials-widget.php:557
636
  msgid "Category"
637
  msgstr ""
638
 
639
- #: includes/class-testimonials-widget.php:555
640
- #: includes/class-testimonials-widget.php:558
641
  msgid "Tags"
642
  msgstr ""
643
 
644
- #: includes/class-testimonials-widget.php:563
645
  msgid "ID"
646
  msgstr ""
647
 
648
- #: includes/class-testimonials-widget.php:568
649
  msgid "Image"
650
  msgstr ""
651
 
652
- #: includes/class-testimonials-widget.php:573
653
  msgid "Shortcodes"
654
  msgstr ""
655
 
656
- #: includes/class-testimonials-widget.php:609
657
  msgid "Add New"
658
  msgstr ""
659
 
660
- #: includes/class-testimonials-widget.php:610
661
- #: includes/class-testimonials-widget.php:613
662
  msgid "Add New Testimonial"
663
  msgstr ""
664
 
665
- #: includes/class-testimonials-widget.php:611
666
  msgid "Edit Testimonial"
667
  msgstr ""
668
 
669
- #: includes/class-testimonials-widget.php:614
670
- #: includes/class-testimonials-widget.php:1044
671
  msgid "No testimonials found"
672
  msgstr ""
673
 
674
- #: includes/class-testimonials-widget.php:615
675
  msgid "No testimonials found in Trash"
676
  msgstr ""
677
 
678
- #: includes/class-testimonials-widget.php:617
679
  msgid "Search Testimonials"
680
  msgstr ""
681
 
682
- #: includes/class-testimonials-widget.php:618
683
- #: includes/class-testimonials-widget.php:1804
 
684
  msgid "Testimonial"
685
  msgstr ""
686
 
687
- #: includes/class-testimonials-widget.php:619
688
  msgid "View Testimonial"
689
  msgstr ""
690
 
691
- #: includes/class-testimonials-widget.php:1210
692
  msgid "…"
693
  msgstr ""
694
 
695
- #: includes/class-testimonials-widget.php:1417
696
  msgid "&laquo;"
697
  msgstr ""
698
 
699
- #: includes/class-testimonials-widget.php:1425
700
  msgid "&raquo;"
701
  msgstr ""
702
 
703
- #: includes/class-testimonials-widget.php:1728
704
  msgid "Testimonial Data"
705
  msgstr ""
706
 
707
- #: includes/class-testimonials-widget.php:1753
708
  msgid "Enter title here"
709
  msgstr ""
710
 
711
- #: includes/class-testimonials-widget.php:1754
712
  msgid "Enter testimonial source here"
713
  msgstr ""
714
 
715
- #: includes/class-testimonials-widget.php:1779
716
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
717
  msgstr ""
718
 
719
- #: includes/class-testimonials-widget.php:1780
720
  msgid "Custom field updated."
721
  msgstr ""
722
 
723
- #: includes/class-testimonials-widget.php:1781
724
  msgid "Custom field deleted."
725
  msgstr ""
726
 
727
- #: includes/class-testimonials-widget.php:1782
728
  msgid "Testimonial updated."
729
  msgstr ""
730
 
731
  #. translators: %s: date and time of the revision
732
 
733
- #: includes/class-testimonials-widget.php:1784
734
  msgid "Testimonial restored to revision from %s"
735
  msgstr ""
736
 
737
- #: includes/class-testimonials-widget.php:1785
738
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
739
  msgstr ""
740
 
741
- #: includes/class-testimonials-widget.php:1786
742
  msgid "Testimonial saved."
743
  msgstr ""
744
 
745
- #: includes/class-testimonials-widget.php:1787
746
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
747
  msgstr ""
748
 
749
- #: includes/class-testimonials-widget.php:1788
750
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
751
  msgstr ""
752
 
753
- #: includes/class-testimonials-widget.php:1789
754
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
755
  msgstr ""
756
 
757
- #: includes/class-testimonials-widget.php:2050
758
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
759
  msgstr ""
760
 
761
- #: includes/class-testimonials-widget.php:2105
762
  msgid "Failed version check"
763
  msgstr ""
764
 
765
- #: includes/class-testimonials-widget.php:2136
766
  msgid "Shortcode"
767
  msgstr ""
768
 
@@ -863,10 +865,6 @@ msgstr ""
863
  msgid "%s license deactivated."
864
  msgstr ""
865
 
866
- #: includes/libraries/aihrus-framework/includes/class-aihrus-settings.php:64
867
- msgid "Reset"
868
- msgstr ""
869
-
870
  #: includes/libraries/aihrus-framework/includes/class-aihrus-settings.php:65
871
  msgid "About"
872
  msgstr ""
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.19.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
+ "POT-Creation-Date: 2014-04-26 08:50:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
17
  msgstr ""
18
 
19
  #: includes/class-testimonials-widget-settings.php:91
20
+ #: includes/class-testimonials-widget.php:122
21
  msgid "Settings"
22
  msgstr ""
23
 
24
  #: includes/class-testimonials-widget-settings.php:107
25
+ #: includes/class-testimonials-widget-settings.php:947
26
  msgid "General"
27
  msgstr ""
28
 
29
  #: includes/class-testimonials-widget-settings.php:108
30
+ #: includes/class-testimonials-widget-settings.php:955
31
  msgid "Selection"
32
  msgstr ""
33
 
34
  #: includes/class-testimonials-widget-settings.php:109
35
+ #: includes/class-testimonials-widget-settings.php:963
36
  msgid "Ordering"
37
  msgstr ""
38
 
39
  #: includes/class-testimonials-widget-settings.php:110
40
+ #: includes/class-testimonials-widget-settings.php:971
41
  msgid "Widget"
42
  msgstr ""
43
 
44
  #: includes/class-testimonials-widget-settings.php:111
45
+ #: includes/class-testimonials-widget-settings.php:979
46
  msgid "Post Type"
47
  msgstr ""
48
 
49
  #: includes/class-testimonials-widget-settings.php:112
50
+ #: includes/class-testimonials-widget-settings.php:987
51
  msgid "Columns"
52
  msgstr ""
53
 
57
 
58
  #: includes/class-testimonials-widget-settings.php:130
59
  #: includes/class-testimonials-widget-widget.php:32
60
+ #: includes/class-testimonials-widget.php:626
61
+ #: includes/class-testimonials-widget.php:672
62
  msgid "Testimonials"
63
  msgstr ""
64
 
147
  msgstr ""
148
 
149
  #: includes/class-testimonials-widget-settings.php:225
150
+ msgid "Use bxSlider?"
151
  msgstr ""
152
 
153
  #: includes/class-testimonials-widget-settings.php:226
154
+ msgid "Prior to 2.15.0, Testimonials' used custom JavaScript for transitions."
155
+ msgstr ""
156
+
157
+ #: includes/class-testimonials-widget-settings.php:240
158
+ msgid "Exclude bxSlider CSS?"
159
+ msgstr ""
160
+
161
+ #: includes/class-testimonials-widget-settings.php:241
162
  msgid "For a bare-bones, unthemed slider."
163
  msgstr ""
164
 
165
+ #: includes/class-testimonials-widget-settings.php:249
166
  msgid "Include IE7 CSS?"
167
  msgstr ""
168
 
169
+ #: includes/class-testimonials-widget-settings.php:256
170
  msgid "Hide built-in quotes?"
171
  msgstr ""
172
 
173
+ #: includes/class-testimonials-widget-settings.php:257
174
  msgid "Remove open and close quote span tags surrounding testimonial content"
175
  msgstr ""
176
 
177
+ #: includes/class-testimonials-widget-settings.php:263
178
  msgid "Remove `.hentry` CSS?"
179
  msgstr ""
180
 
181
+ #: includes/class-testimonials-widget-settings.php:264
182
  msgid "Some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
183
  msgstr ""
184
 
185
+ #: includes/class-testimonials-widget-settings.php:271
186
  msgid "Use `&lt;q&gt;` tag?"
187
  msgstr ""
188
 
189
+ #: includes/class-testimonials-widget-settings.php:272
190
  msgid "Not HTML5 compliant"
191
  msgstr ""
192
 
193
+ #: includes/class-testimonials-widget-settings.php:278
194
  msgid "Fields to Show"
195
  msgstr ""
196
 
197
+ #: includes/class-testimonials-widget-settings.php:283
198
  msgid "Hide Gravatar Image?"
199
  msgstr ""
200
 
201
+ #: includes/class-testimonials-widget-settings.php:289
202
+ #: includes/class-testimonials-widget-settings.php:582
203
  msgid "Hide Image?"
204
  msgstr ""
205
 
206
+ #: includes/class-testimonials-widget-settings.php:295
207
  msgid "Hide Image in Single View?"
208
  msgstr ""
209
 
210
+ #: includes/class-testimonials-widget-settings.php:302
211
  msgid "Hide Testimonial Content?"
212
  msgstr ""
213
 
214
+ #: includes/class-testimonials-widget-settings.php:308
215
  msgid "Hide Author/Source?"
216
  msgstr ""
217
 
218
+ #: includes/class-testimonials-widget-settings.php:311
219
  msgid "Don't display \"Post Title\" in cite"
220
  msgstr ""
221
 
222
+ #: includes/class-testimonials-widget-settings.php:315
223
+ #: includes/class-testimonials-widget-settings.php:616
224
  msgid "Hide Email?"
225
  msgstr ""
226
 
227
+ #: includes/class-testimonials-widget-settings.php:322
228
+ #: includes/class-testimonials-widget-settings.php:598
229
  msgid "Hide Job Title?"
230
  msgstr ""
231
 
232
+ #: includes/class-testimonials-widget-settings.php:328
233
+ #: includes/class-testimonials-widget-settings.php:607
234
  msgid "Hide Location?"
235
  msgstr ""
236
 
237
+ #: includes/class-testimonials-widget-settings.php:334
238
+ #: includes/class-testimonials-widget-settings.php:625
239
  msgid "Hide Company?"
240
  msgstr ""
241
 
242
+ #: includes/class-testimonials-widget-settings.php:340
243
+ #: includes/class-testimonials-widget-settings.php:634
244
  msgid "Hide URL?"
245
  msgstr ""
246
 
247
+ #: includes/class-testimonials-widget-settings.php:346
248
  msgid "Miscellanious"
249
  msgstr ""
250
 
251
+ #: includes/class-testimonials-widget-settings.php:351
252
  msgid "Default Reviewed Item?"
253
  msgstr ""
254
 
255
+ #: includes/class-testimonials-widget-settings.php:352
256
  msgid "Name of thing being referenced in testimonials"
257
  msgstr ""
258
 
259
+ #: includes/class-testimonials-widget-settings.php:358
260
  msgid "Default Reviewed Item URL?"
261
  msgstr ""
262
 
263
+ #: includes/class-testimonials-widget-settings.php:359
264
  msgid "URL of thing being referenced in testimonials"
265
  msgstr ""
266
 
267
+ #: includes/class-testimonials-widget-settings.php:366
268
  msgid "Enable Paging?"
269
  msgstr ""
270
 
271
+ #: includes/class-testimonials-widget-settings.php:367
272
  msgid "For `[testimonials]`"
273
  msgstr ""
274
 
275
+ #: includes/class-testimonials-widget-settings.php:370
276
  msgid "Disable"
277
  msgstr ""
278
 
279
+ #: includes/class-testimonials-widget-settings.php:371
280
  msgid "Enable"
281
  msgstr ""
282
 
283
+ #: includes/class-testimonials-widget-settings.php:372
284
  msgid "Before testimonials"
285
  msgstr ""
286
 
287
+ #: includes/class-testimonials-widget-settings.php:373
288
  msgid "After testimonials"
289
  msgstr ""
290
 
291
+ #: includes/class-testimonials-widget-settings.php:379
292
  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."
293
  msgstr ""
294
 
295
+ #: includes/class-testimonials-widget-settings.php:382
296
  msgid "Enable Review Schema?"
297
  msgstr ""
298
 
299
+ #: includes/class-testimonials-widget-settings.php:390
300
  msgid "Enable [shortcodes]?"
301
  msgstr ""
302
 
303
+ #: includes/class-testimonials-widget-settings.php:391
304
  msgid "If unchecked, shortcodes are stripped."
305
  msgstr ""
306
 
307
+ #: includes/class-testimonials-widget-settings.php:398
308
  msgid "Hide \"Testimonials Not Found\"?"
309
  msgstr ""
310
 
311
+ #: includes/class-testimonials-widget-settings.php:404
312
  msgid "URL Target"
313
  msgstr ""
314
 
315
+ #: includes/class-testimonials-widget-settings.php:405
316
  msgid "Add target to all URLs; leave blank if none"
317
  msgstr ""
318
 
319
+ #: includes/class-testimonials-widget-settings.php:416
320
  msgid "Selection Options"
321
  msgstr ""
322
 
323
+ #: includes/class-testimonials-widget-settings.php:422
324
  msgid "Category Filter"
325
  msgstr ""
326
 
327
+ #: includes/class-testimonials-widget-settings.php:423
328
  msgid "Comma separated category names. Ex: Category A, Another category"
329
  msgstr ""
330
 
331
+ #: includes/class-testimonials-widget-settings.php:430
332
  msgid "Tags Filter"
333
  msgstr ""
334
 
335
+ #: includes/class-testimonials-widget-settings.php:431
336
  msgid "Comma separated tag names. Ex: Tag A, Another tag"
337
  msgstr ""
338
 
339
+ #: includes/class-testimonials-widget-settings.php:438
340
  msgid "Require All Tags?"
341
  msgstr ""
342
 
343
+ #: includes/class-testimonials-widget-settings.php:439
344
  msgid "Select only testimonials with all of the given tags"
345
  msgstr ""
346
 
347
+ #: includes/class-testimonials-widget-settings.php:446
348
  msgid "Include IDs Filter"
349
  msgstr ""
350
 
351
+ #: includes/class-testimonials-widget-settings.php:447
352
+ #: includes/class-testimonials-widget-settings.php:454
353
  msgid "Comma separated testimonial IDs. Ex: 3,1,2"
354
  msgstr ""
355
 
356
+ #: includes/class-testimonials-widget-settings.php:453
357
  msgid "Exclude IDs Filter"
358
  msgstr ""
359
 
360
+ #: includes/class-testimonials-widget-settings.php:460
361
  msgid "Limit"
362
  msgstr ""
363
 
364
+ #: includes/class-testimonials-widget-settings.php:461
365
  msgid "Number of testimonials to select per instance"
366
  msgstr ""
367
 
368
+ #: includes/class-testimonials-widget-settings.php:474
369
  msgid "Ordering Options"
370
  msgstr ""
371
 
372
+ #: includes/class-testimonials-widget-settings.php:480
373
  msgid "Random Order?"
374
  msgstr ""
375
 
376
+ #: includes/class-testimonials-widget-settings.php:481
377
  msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
378
  msgstr ""
379
 
380
+ #: includes/class-testimonials-widget-settings.php:488
381
  msgid "ORDER BY"
382
  msgstr ""
383
 
384
+ #: includes/class-testimonials-widget-settings.php:489
385
  msgid "Used when \"Random Order\" is disabled"
386
  msgstr ""
387
 
388
+ #: includes/class-testimonials-widget-settings.php:492
389
  msgid "Testimonial ID"
390
  msgstr ""
391
 
392
+ #: includes/class-testimonials-widget-settings.php:493
393
  msgid "Author"
394
  msgstr ""
395
 
396
+ #: includes/class-testimonials-widget-settings.php:494
397
+ #: includes/class-testimonials-widget.php:563
398
  msgid "Date"
399
  msgstr ""
400
 
401
+ #: includes/class-testimonials-widget-settings.php:495
402
  msgid "Menu Order"
403
  msgstr ""
404
 
405
+ #: includes/class-testimonials-widget-settings.php:496
406
+ #: includes/class-testimonials-widget.php:561
407
  msgid "Source"
408
  msgstr ""
409
 
410
+ #: includes/class-testimonials-widget-settings.php:497
411
  msgid "No order"
412
  msgstr ""
413
 
414
+ #: includes/class-testimonials-widget-settings.php:505
415
  msgid "ORDER BY meta_key"
416
  msgstr ""
417
 
418
+ #: includes/class-testimonials-widget-settings.php:506
419
  msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
420
  msgstr ""
421
 
422
+ #: includes/class-testimonials-widget-settings.php:509
423
  msgid "None"
424
  msgstr ""
425
 
426
+ #: includes/class-testimonials-widget-settings.php:510
427
+ #: includes/class-testimonials-widget.php:592
428
+ #: includes/class-testimonials-widget.php:1706
429
  msgid "Job Title"
430
  msgstr ""
431
 
432
+ #: includes/class-testimonials-widget-settings.php:511
433
+ #: includes/class-testimonials-widget.php:602
434
+ #: includes/class-testimonials-widget.php:1718
435
  msgid "Email"
436
  msgstr ""
437
 
438
+ #: includes/class-testimonials-widget-settings.php:512
439
+ #: includes/class-testimonials-widget.php:597
440
+ #: includes/class-testimonials-widget.php:1712
441
  msgid "Location"
442
  msgstr ""
443
 
444
+ #: includes/class-testimonials-widget-settings.php:513
445
+ #: includes/class-testimonials-widget.php:607
446
+ #: includes/class-testimonials-widget.php:1724
447
  msgid "Company"
448
  msgstr ""
449
 
450
+ #: includes/class-testimonials-widget-settings.php:514
451
+ #: includes/class-testimonials-widget.php:612
452
+ #: includes/class-testimonials-widget.php:1730
453
  msgid "URL"
454
  msgstr ""
455
 
456
+ #: includes/class-testimonials-widget-settings.php:521
457
  msgid "ORDER BY Order"
458
  msgstr ""
459
 
460
+ #: includes/class-testimonials-widget-settings.php:524
461
  msgid "Descending"
462
  msgstr ""
463
 
464
+ #: includes/class-testimonials-widget-settings.php:525
465
  msgid "Ascending"
466
  msgstr ""
467
 
468
+ #: includes/class-testimonials-widget-settings.php:539
469
  msgid "Allow Comments?"
470
  msgstr ""
471
 
472
+ #: includes/class-testimonials-widget-settings.php:540
473
  msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
474
  msgstr ""
475
 
476
+ #: includes/class-testimonials-widget-settings.php:546
477
  msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
478
  msgstr ""
479
 
480
+ #: includes/class-testimonials-widget-settings.php:552
481
  msgid "Archive Page URL"
482
  msgstr ""
483
 
484
+ #: includes/class-testimonials-widget-settings.php:559
485
  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."
486
  msgstr ""
487
 
488
+ #: includes/class-testimonials-widget-settings.php:563
489
  msgid "Testimonial Page URL"
490
  msgstr ""
491
 
492
+ #: includes/class-testimonials-widget-settings.php:573
493
  msgid "Hide ID?"
494
  msgstr ""
495
 
496
+ #: includes/class-testimonials-widget-settings.php:590
497
  msgid "Hide Shortcode?"
498
  msgstr ""
499
 
500
+ #: includes/class-testimonials-widget-settings.php:644
501
+ #: includes/libraries/aihrus-framework/includes/class-aihrus-settings.php:64
502
+ msgid "Reset"
503
  msgstr ""
504
 
505
+ #: includes/class-testimonials-widget-settings.php:650
506
  msgid "Don't Use Default Taxonomies?"
507
  msgstr ""
508
 
509
+ #: includes/class-testimonials-widget-settings.php:653
510
  msgid "If checked, use Testimonials' own category and tag taxonomies instead"
511
  msgstr ""
512
 
513
+ #: includes/class-testimonials-widget-settings.php:662
514
  msgid "Version Based Options"
515
  msgstr ""
516
 
517
+ #: includes/class-testimonials-widget-settings.php:668
 
 
 
 
 
 
 
 
518
  msgid "Disable Animation?"
519
  msgstr ""
520
 
521
+ #: includes/class-testimonials-widget-settings.php:669
522
+ msgid "Prior to 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
523
  msgstr ""
524
 
525
+ #: includes/class-testimonials-widget-settings.php:677
526
  msgid "Fade Out Speed"
527
  msgstr ""
528
 
529
+ #: includes/class-testimonials-widget-settings.php:678
530
+ #: includes/class-testimonials-widget-settings.php:686
531
+ msgid "Prior to 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
532
  msgstr ""
533
 
534
+ #: includes/class-testimonials-widget-settings.php:685
535
  msgid "Fade In Speed"
536
  msgstr ""
537
 
538
+ #: includes/class-testimonials-widget-settings.php:693
539
  msgid "Height"
540
  msgstr ""
541
 
542
+ #: includes/class-testimonials-widget-settings.php:694
543
+ msgid "Prior to 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
544
  msgstr ""
545
 
546
+ #: includes/class-testimonials-widget-settings.php:700
547
  msgid "Minimum Height"
548
  msgstr ""
549
 
550
+ #: includes/class-testimonials-widget-settings.php:701
551
+ msgid "Prior to 2.15.0, Set for minimum display height, in pixels"
552
  msgstr ""
553
 
554
+ #: includes/class-testimonials-widget-settings.php:707
555
  msgid "Maximum Height"
556
  msgstr ""
557
 
558
+ #: includes/class-testimonials-widget-settings.php:708
559
+ msgid "Prior to 2.15.0, Set for maximum display height, in pixels"
560
  msgstr ""
561
 
562
+ #: includes/class-testimonials-widget-settings.php:933
563
  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."
564
  msgstr ""
565
 
566
+ #: includes/class-testimonials-widget-settings.php:935
567
  msgid "Shortcode option names are listed below each entry."
568
  msgstr ""
569
 
570
+ #: includes/class-testimonials-widget-settings.php:938
571
  msgid "View the <a href=\"%s\">Testimonials documentation</a>."
572
  msgstr ""
573
 
574
+ #: includes/class-testimonials-widget-settings.php:948
575
  msgid "Show or hide optional fields."
576
  msgstr ""
577
 
578
+ #: includes/class-testimonials-widget-settings.php:956
579
  msgid "Options used to select testimonials."
580
  msgstr ""
581
 
582
+ #: includes/class-testimonials-widget-settings.php:964
583
  msgid "Options used to determine displayed testimonials ordering."
584
  msgstr ""
585
 
586
+ #: includes/class-testimonials-widget-settings.php:972
587
  msgid "Options related to showing testimonials in widgets."
588
  msgstr ""
589
 
590
+ #: includes/class-testimonials-widget-settings.php:980
591
  msgid "Archive and singular page URL related testimonials options."
592
  msgstr ""
593
 
594
+ #: includes/class-testimonials-widget-settings.php:988
595
  msgid "Allowed columns to display on edit page."
596
  msgstr ""
597
 
598
+ #: includes/class-testimonials-widget-settings.php:995
599
  msgid "Compatibility & Reset"
600
  msgstr ""
601
 
602
+ #: includes/class-testimonials-widget-settings.php:996
603
  msgid "Backwards compatibility, import/export options, and reset options."
604
  msgstr ""
605
 
615
  msgid "This widget's unique CSS class for styling"
616
  msgstr ""
617
 
618
+ #: includes/class-testimonials-widget.php:150
619
+ #: includes/class-testimonials-widget.php:2073
620
  msgid "Testimonials Shortcode Examples"
621
  msgstr ""
622
 
623
+ #: includes/class-testimonials-widget.php:150
624
  msgid "E.g. Shortcodes"
625
  msgstr ""
626
 
627
+ #: includes/class-testimonials-widget.php:341
628
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
629
  msgstr ""
630
 
631
+ #: includes/class-testimonials-widget.php:562
632
  msgid "Published by"
633
  msgstr ""
634
 
635
+ #: includes/class-testimonials-widget.php:568
636
+ #: includes/class-testimonials-widget.php:571
637
  msgid "Category"
638
  msgstr ""
639
 
640
+ #: includes/class-testimonials-widget.php:569
641
+ #: includes/class-testimonials-widget.php:572
642
  msgid "Tags"
643
  msgstr ""
644
 
645
+ #: includes/class-testimonials-widget.php:577
646
  msgid "ID"
647
  msgstr ""
648
 
649
+ #: includes/class-testimonials-widget.php:582
650
  msgid "Image"
651
  msgstr ""
652
 
653
+ #: includes/class-testimonials-widget.php:587
654
  msgid "Shortcodes"
655
  msgstr ""
656
 
657
+ #: includes/class-testimonials-widget.php:623
658
  msgid "Add New"
659
  msgstr ""
660
 
661
+ #: includes/class-testimonials-widget.php:624
662
+ #: includes/class-testimonials-widget.php:627
663
  msgid "Add New Testimonial"
664
  msgstr ""
665
 
666
+ #: includes/class-testimonials-widget.php:625
667
  msgid "Edit Testimonial"
668
  msgstr ""
669
 
670
+ #: includes/class-testimonials-widget.php:628
671
+ #: includes/class-testimonials-widget.php:1058
672
  msgid "No testimonials found"
673
  msgstr ""
674
 
675
+ #: includes/class-testimonials-widget.php:629
676
  msgid "No testimonials found in Trash"
677
  msgstr ""
678
 
679
+ #: includes/class-testimonials-widget.php:631
680
  msgid "Search Testimonials"
681
  msgstr ""
682
 
683
+ #: includes/class-testimonials-widget.php:632
684
+ #: includes/class-testimonials-widget.php:1818
685
+ #: includes/class-testimonials-widget.php:2202
686
  msgid "Testimonial"
687
  msgstr ""
688
 
689
+ #: includes/class-testimonials-widget.php:633
690
  msgid "View Testimonial"
691
  msgstr ""
692
 
693
+ #: includes/class-testimonials-widget.php:1224
694
  msgid "…"
695
  msgstr ""
696
 
697
+ #: includes/class-testimonials-widget.php:1431
698
  msgid "&laquo;"
699
  msgstr ""
700
 
701
+ #: includes/class-testimonials-widget.php:1439
702
  msgid "&raquo;"
703
  msgstr ""
704
 
705
+ #: includes/class-testimonials-widget.php:1742
706
  msgid "Testimonial Data"
707
  msgstr ""
708
 
709
+ #: includes/class-testimonials-widget.php:1767
710
  msgid "Enter title here"
711
  msgstr ""
712
 
713
+ #: includes/class-testimonials-widget.php:1768
714
  msgid "Enter testimonial source here"
715
  msgstr ""
716
 
717
+ #: includes/class-testimonials-widget.php:1793
718
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
719
  msgstr ""
720
 
721
+ #: includes/class-testimonials-widget.php:1794
722
  msgid "Custom field updated."
723
  msgstr ""
724
 
725
+ #: includes/class-testimonials-widget.php:1795
726
  msgid "Custom field deleted."
727
  msgstr ""
728
 
729
+ #: includes/class-testimonials-widget.php:1796
730
  msgid "Testimonial updated."
731
  msgstr ""
732
 
733
  #. translators: %s: date and time of the revision
734
 
735
+ #: includes/class-testimonials-widget.php:1798
736
  msgid "Testimonial restored to revision from %s"
737
  msgstr ""
738
 
739
+ #: includes/class-testimonials-widget.php:1799
740
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
741
  msgstr ""
742
 
743
+ #: includes/class-testimonials-widget.php:1800
744
  msgid "Testimonial saved."
745
  msgstr ""
746
 
747
+ #: includes/class-testimonials-widget.php:1801
748
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
749
  msgstr ""
750
 
751
+ #: includes/class-testimonials-widget.php:1802
752
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
753
  msgstr ""
754
 
755
+ #: includes/class-testimonials-widget.php:1803
756
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
757
  msgstr ""
758
 
759
+ #: includes/class-testimonials-widget.php:2064
760
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
761
  msgstr ""
762
 
763
+ #: includes/class-testimonials-widget.php:2119
764
  msgid "Failed version check"
765
  msgstr ""
766
 
767
+ #: includes/class-testimonials-widget.php:2150
768
  msgid "Shortcode"
769
  msgstr ""
770
 
865
  msgid "%s license deactivated."
866
  msgstr ""
867
 
 
 
 
 
868
  #: includes/libraries/aihrus-framework/includes/class-aihrus-settings.php:65
869
  msgid "About"
870
  msgstr ""
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.19.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -182,16 +182,17 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
182
 
183
  **General**
184
 
185
- * Enable Review Schema? Adds HTML tag markup per the [Review schema](http://schema.org/Review) to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results.
186
- * `enable_schema` - default true; enable_schema=false
187
- * Default Reviewed Item? - Name of thing being referenced in testimonials
188
- * `item_reviewed` - default "Site Title"
189
- * Default Reviewed Item URL? - URL of thing being referenced in testimonials
190
- * `item_reviewed_url` - default `network_site_url();`
191
  * Hide built-in quotes? - Remove open and close quote span tags surrounding testimonial content
192
  * `disable_quotes` - default false; disable_quotes=true
193
- * Hide "Testimonials Not Found"?
194
- * `hide_not_found` - default show; hide_not_found=true
 
 
 
195
  * Hide Gravatar Image?
196
  * `hide_gravatar` - default show; hide_gravatar=true
197
  * Hide Image?
@@ -212,23 +213,25 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
212
  * `hide_company` - default show; hide_company=true
213
  * Hide URL?
214
  * `hide_url` - default show; hide_url=true
215
- * Exclude bxSlider CSS? - For a bare-bones, unthemed slider.
216
- * `exclude_bxslider_css` - default show; exclude_bxslider_css=true
217
- * URL Target - Add target to all URLs; leave blank if none
218
- * `target` - default none; target=_new
 
219
  * Enable Paging? - for [testimonials]
220
  * `paging` - default true [true|before|after|false]; paging=false
221
  * `true` – display paging before and after testimonial entries
222
  * `before` – display paging only before testimonial entries
223
  * `after` – display paging only after testimonial entries
224
  * Widget - Not functional
 
 
225
  * Enable [shortcodes]? - If unchecked, shortcodes are stripped.
226
  * `do_shortcode` - default false; do_shortcode=true
227
- * Include IE7 CSS?
228
- * Use `<q>` tag? Not HTML5 compliant
229
- * `use_quote_tag` - default none; use_quote_tag=true
230
- * Remove `.hentry` CSS? – Some themes use class `.hentry` in a manner that breaks Testimonials' CSS and corrupts microdata parsing
231
- * `remove_hentry` - default true; remove_hentry=false
232
 
233
  **Selection**
234
 
@@ -296,7 +299,6 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
296
 
297
  **Version Based Options**
298
 
299
- * Use bxSlider? - Pre 2.15.0, Testimonials' used custom JavaScript for transitions.
300
  * Disable Animation? - Disable animation between testimonial transitions. Useful when stacking.
301
  * `disable_animation` - default false; disable_animation=true
302
  * Fade Out Speed - Transition duration in milliseconds; higher values indicate slower animations, not faster ones.
@@ -380,32 +382,23 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
380
  1. [Support on WordPress](http://wordpress.org/support/plugin/testimonials-widget) - ask questions and review responses
381
  1. [Contribute Code](https://github.com/michael-cannon/testimonials-widget/blob/master/CONTRIBUTING.md)
382
  1. [Beta Testers Needed](http://aihr.us/become-beta-tester/) - provide feedback and direction to plugin development
 
383
 
384
 
385
  == Screenshots ==
386
 
387
  1. Testimonials admin interface
388
  2. Collapsed Testimonials options
389
- 3. Expanded "General Options" in Testimonials options
390
  4. Testimonial widget in the sidebar
391
- 5. [testimonials] in post
392
  6. [testimonials] results with paging
393
- 7. Widget whitespace kept
394
  8. Widget with clickable title and custom text/HTML on bottom
395
  9. [WP-PageNavi compatible](http://wordpress.org/extend/plugins/wp-pagenavi/) for page numbers than default arrows
396
  10. Poedit Catalog properties
397
  11. Testimonials Settings > General tab
398
- 12. Expanded "Selection Options" in Testimonials options
399
- 13. Expanded "Ordering Options" in Testimonials options
400
- 14. Testimonials Settings > Selection tab
401
- 15. Testimonials Settings > Post Type tab
402
- 16. Testimonials Settings > Widget tab
403
- 17. Testimonials Settings > Compatibility & Reset tab
404
- 18. Dashboard > Right Now "Testimonials" count
405
- 19. Using Review and AggregateRating schema data structures
406
- 20. Testimonials Shortcode Examples page
407
- 21. Shortcode helpers on category and tag admin screens
408
- 22. Testimonials Settings > Columns tab
409
 
410
  [gallery]
411
 
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.19.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
182
 
183
  **General**
184
 
185
+ * Use bxSlider? - Prior to 2.15.0, Testimonials' used custom JavaScript for transitions.
186
+ * Exclude bxSlider CSS? - For a bare-bones, unthemed slider.
187
+ * `exclude_bxslider_css` - default show; exclude_bxslider_css=true
188
+ * Include IE7 CSS?
 
 
189
  * Hide built-in quotes? - Remove open and close quote span tags surrounding testimonial content
190
  * `disable_quotes` - default false; disable_quotes=true
191
+ * Remove `.hentry` CSS? – Some themes use class `.hentry` in a manner that breaks Testimonials' CSS and corrupts microdata parsing
192
+ * `remove_hentry` - default true; remove_hentry=false
193
+ * Use `<q>` tag? – Not HTML5 compliant
194
+ * `use_quote_tag` - default none; use_quote_tag=true
195
+
196
  * Hide Gravatar Image?
197
  * `hide_gravatar` - default show; hide_gravatar=true
198
  * Hide Image?
213
  * `hide_company` - default show; hide_company=true
214
  * Hide URL?
215
  * `hide_url` - default show; hide_url=true
216
+
217
+ * Default Reviewed Item? - Name of thing being referenced in testimonials
218
+ * `item_reviewed` - default "Site Title"
219
+ * Default Reviewed Item URL? - URL of thing being referenced in testimonials
220
+ * `item_reviewed_url` - default `network_site_url();`
221
  * Enable Paging? - for [testimonials]
222
  * `paging` - default true [true|before|after|false]; paging=false
223
  * `true` – display paging before and after testimonial entries
224
  * `before` – display paging only before testimonial entries
225
  * `after` – display paging only after testimonial entries
226
  * Widget - Not functional
227
+ * Enable Review Schema? – Adds HTML tag markup per the [Review schema](http://schema.org/Review) to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results.
228
+ * `enable_schema` - default true; enable_schema=false
229
  * Enable [shortcodes]? - If unchecked, shortcodes are stripped.
230
  * `do_shortcode` - default false; do_shortcode=true
231
+ * Hide "Testimonials Not Found"?
232
+ * `hide_not_found` - default show; hide_not_found=true
233
+ * URL Target - Add target to all URLs; leave blank if none
234
+ * `target` - default none; target=_new
 
235
 
236
  **Selection**
237
 
299
 
300
  **Version Based Options**
301
 
 
302
  * Disable Animation? - Disable animation between testimonial transitions. Useful when stacking.
303
  * `disable_animation` - default false; disable_animation=true
304
  * Fade Out Speed - Transition duration in milliseconds; higher values indicate slower animations, not faster ones.
382
  1. [Support on WordPress](http://wordpress.org/support/plugin/testimonials-widget) - ask questions and review responses
383
  1. [Contribute Code](https://github.com/michael-cannon/testimonials-widget/blob/master/CONTRIBUTING.md)
384
  1. [Beta Testers Needed](http://aihr.us/become-beta-tester/) - provide feedback and direction to plugin development
385
+ 1. [Old Plugin Versions](http://wordpress.org/plugins/testimonials-widget/developers/)
386
 
387
 
388
  == Screenshots ==
389
 
390
  1. Testimonials admin interface
391
  2. Collapsed Testimonials options
392
+ 3. Shortcode helpers on category and tag admin screens
393
  4. Testimonial widget in the sidebar
394
+ 5. Testimonials Shortcode Examples page
395
  6. [testimonials] results with paging
396
+ 7. Using Review and AggregateRating schema data structures
397
  8. Widget with clickable title and custom text/HTML on bottom
398
  9. [WP-PageNavi compatible](http://wordpress.org/extend/plugins/wp-pagenavi/) for page numbers than default arrows
399
  10. Poedit Catalog properties
400
  11. Testimonials Settings > General tab
401
+ 12. Dashboard > At a Glance "Testimonials" count
 
 
 
 
 
 
 
 
 
 
402
 
403
  [gallery]
404
 
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.19.3
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
@@ -31,7 +31,7 @@ if ( ! defined( 'ABSPATH' ) )
31
  exit;
32
 
33
  if ( ! defined( 'TW_AIHR_VERSION' ) )
34
- define( 'TW_AIHR_VERSION', '1.1.2' );
35
 
36
  if ( ! defined( 'TW_BASE' ) )
37
  define( 'TW_BASE', plugin_basename( __FILE__ ) );
@@ -52,7 +52,7 @@ if ( ! defined( 'TW_PREMIUM_LINK' ) )
52
  define( 'TW_PREMIUM_LINK', '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Buy Premium</a>' );
53
 
54
  if ( ! defined( 'TW_VERSION' ) )
55
- define( 'TW_VERSION', '2.19.3' );
56
 
57
  require_once TW_DIR_INC . 'requirements.php';
58
 
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.19.4
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
31
  exit;
32
 
33
  if ( ! defined( 'TW_AIHR_VERSION' ) )
34
+ define( 'TW_AIHR_VERSION', '1.1.3' );
35
 
36
  if ( ! defined( 'TW_BASE' ) )
37
  define( 'TW_BASE', plugin_basename( __FILE__ ) );
52
  define( 'TW_PREMIUM_LINK', '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Buy Premium</a>' );
53
 
54
  if ( ! defined( 'TW_VERSION' ) )
55
+ define( 'TW_VERSION', '2.19.4' );
56
 
57
  require_once TW_DIR_INC . 'requirements.php';
58