Plugin Directory

Changeset 3318495


Ignore:
Timestamp:
06/26/2025 08:22:08 PM (9 months ago)
Author:
ivole
Message:

5.80.0

Location:
customer-reviews-woocommerce
Files:
878 added
14 edited

Legend:

Unmodified
Added
Removed
  • customer-reviews-woocommerce/trunk/class-ivole.php

    r3315486 r3318495  
    8383
    8484class Ivole {
    85     const CR_VERSION = '5.79.0';
     85    const CR_VERSION = '5.80.0';
    8686
    8787    public function __construct() {
  • customer-reviews-woocommerce/trunk/css/frontend.css

    r3304074 r3318495  
    30463046    flex-direction: column;
    30473047    height: 100%;
     3048    box-sizing: border-box;
    30483049}
    30493050
     
    31783179    flex-direction: column;
    31793180    justify-content: center;
     3181    row-gap: 7px;
    31803182}
    31813183
     
    31843186    display: flex;
    31853187    align-items: center;
    3186     line-height: 20px
     3188    line-height: 1.2;
     3189    font-size: 16px;
    31873190}
    31883191
     
    31993202    font-weight: bold;
    32003203    font-size: 18px;
    3201     line-height: 23px;
     3204    line-height: 1.2;
    32023205    color: #203741;
    3203     height: 50%;
    32043206    display: flex;
    32053207    align-items: center;
     
    32233225    text-align: left;
    32243226    color: #18B394;
    3225     height: 50%;
    32263227    display: flex;
    32273228    align-items: center;
    3228     margin: 5px 0 0 0;
     3229    margin: 0;
    32293230}
    32303231
     
    32813282    margin-right: 16px;
    32823283    position: relative;
     3284    display: flex;
    32833285}
    32843286
     
    36463648}
    36473649
     3650.cr-reviews-slider .slick-arrow.slick-prev:not(:hover),
     3651.cr-reviews-slider .slick-arrow.slick-next:not(:hover) {
     3652    background: transparent;
     3653}
     3654
    36483655.cr-reviews-slider .slick-prev:hover,
    36493656.cr-reviews-slider .slick-prev:focus,
     
    37763783    border: 0;
    37773784    outline: none;
     3785    background: transparent;
     3786}
     3787.cr-reviews-slider .slick-dots li button:not(:hover),
     3788.cr-ajax-reviews-cus-images-modal .cr-reviews-slider .slick-dots li button:not(:hover) {
    37783789    background: transparent;
    37793790}
  • customer-reviews-woocommerce/trunk/includes/blocks/class-cr-reviews-grid.php

    r3315486 r3318495  
    408408            $card_style .= "background-color:" . $attributes['color_bcrd'] . ";";
    409409            $product_style = "background-color:" . $attributes['color_pr_bcrd'] . ";";
    410             $stars_style = "color:" . $attributes['color_stars'] . ";";
     410            $stars_style = $attributes['color_stars'];
    411411
    412412            $id = uniqid( 'cr-reviews-grid-' );
     
    486486                'color_bcrd' => '#ffffff',
    487487                'color_pr_bcrd' => '#f4f4f4',
    488                 'color_stars' => '#FFD707',
     488                'color_stars' => '#FFBC00',
    489489                'shop_reviews' => 'false',
    490490                'count_shop_reviews' => 1,
  • customer-reviews-woocommerce/trunk/includes/blocks/class-cr-reviews-slider.php

    r3315486 r3318495  
    279279            $card_style .= "background-color:" . $attributes['color_bcrd'] . ";";
    280280            $product_style = "background-color:" . $attributes['color_pr_bcrd'] . ";";
    281             $stars_style = "color:" . $attributes['color_stars'] . ";";
     281            $stars_style = $attributes['color_stars'];
    282282            $max_chars = $attributes['max_chars'];
    283283            $responsive_slides_to_show = $attributes['slides_to_show'] > 1 ? 2 : 1;
     
    369369                'color_bcrd' => '#fbfbfb',
    370370                'color_pr_bcrd' => '#f2f2f2',
    371                 'color_stars' => '#6bba70',
     371                'color_stars' => '#FFBC00',
    372372                'shop_reviews' => 'false',
    373373                'count_shop_reviews' => 1,
  • customer-reviews-woocommerce/trunk/includes/emails/class-cr-email.php

    r3260482 r3318495  
    237237            $order_items = array();
    238238            $user = NULL;
    239             $shipping_country = apply_filters( 'woocommerce_get_base_location', get_option( 'woocommerce_default_country' ) );
     239            $default_country = self::get_country_only(
     240                apply_filters(
     241                    'woocommerce_get_base_location',
     242                    get_option( 'woocommerce_default_country' )
     243                )
     244            );
     245            $shipping_country = $default_country;
    240246            $temp_shipping_country = '';
    241247            if( method_exists( $order, 'get_billing_email' ) ) {
     
    254260                $temp_shipping_country = $order->get_shipping_country();
    255261                if( strlen( $temp_shipping_country ) > 0 ) {
    256                     $shipping_country = $temp_shipping_country;
     262                    $shipping_country = self::get_country_only( $temp_shipping_country );
    257263                }
    258264
     
    388394
    389395            $data = array(
    390                 'shop' => array( "name" => self::get_blogname(),
    391                     'domain' => self::get_blogurl(),
    392                     'country' => apply_filters( 'woocommerce_get_base_location', get_option( 'woocommerce_default_country' ) ) ),
     396                'shop' => array(
     397                    "name" => self::get_blogname(),
     398                    'domain' => self::get_blogurl(),
     399                    'country' => $default_country
     400                ),
    393401                'email' => array( 'to' => $this->to,
    394402                    'from' => strval( $this->from ),
     
    784792    }
    785793
     794    public static function get_country_only( $country ) {
     795        // check if the country code also includes a state code, return only the country code
     796        $arr = explode( ':', $country );
     797        if ( is_array( $arr ) && 0 < count( $arr ) ){
     798            return $arr[0];
     799        }
     800        return $country;
     801    }
     802
    786803}
    787804
  • customer-reviews-woocommerce/trunk/includes/reminders/class-cr-local-forms.php

    r3300332 r3318495  
    285285            $cr_form_header = __( 'Error', 'customer-reviews-woocommerce' );
    286286            $cr_form_desc = __( 'The order contains no items for review. Please reach out to the website administrator for assistance.', 'customer-reviews-woocommerce' );
     287            if ( 0 < get_option( 'ivole_form_expiry_period', 0 ) ) {
     288                $cr_form_desc = __( 'Oops! This review form isn’t available - it may have expired or the order has nothing to review.', 'customer-reviews-woocommerce' );
     289            }
    287290            $cr_form_color1 = $this->cr_form_color1;
    288291            $cr_form_color2 = $this->cr_form_color2;
     
    315318                                `language` varchar(10) DEFAULT NULL,
    316319                                `extra` text DEFAULT NULL,
     320                                `dateCreated` datetime DEFAULT NULL
    317321                                PRIMARY KEY (`formId`),
    318                                 KEY `orderId_index` (`orderId`)
     322                                KEY `orderId_index` (`orderId`),
     323                                KEY `dateCreated_index` (`dateCreated`)
    319324                            ) CHARACTER SET 'utf8mb4';" ) ) {
    320325                        return array( 'code' => 1, 'text' => 'Table ' . $table_name . ' could not be created' );
     
    331336            if( ! $wpdb->get_var( $wpdb->prepare( "SHOW COLUMNS FROM `$table_name` LIKE %s", 'extra' ) ) ) {
    332337                $wpdb->query( "ALTER TABLE `$table_name` ADD `extra` text DEFAULT NULL;" );
     338            }
     339            // add 'dateCreated' column if doesn't exist
     340            if( ! $wpdb->get_var( $wpdb->prepare( "SHOW COLUMNS FROM `$table_name` LIKE %s", 'dateCreated' ) ) ) {
     341                $wpdb->query( "ALTER TABLE `$table_name` ADD `dateCreated` datetime DEFAULT NULL;" );
     342                $wpdb->query( "ALTER TABLE `$table_name` ADD INDEX `dateCreated_index` (`dateCreated`);" );
     343                $wpdb->update(
     344                    $table_name,
     345                    array(
     346                        'dateCreated' => gmdate( 'Y-m-d H:i:s' )
     347                    ),
     348                    array(
     349                        'dateCreated' => null
     350                    )
     351                );
     352            }
     353
     354            // cleanup old review forms
     355            $expiry_period = intval( get_option( 'ivole_form_expiry_period', 0 ) );
     356            if ( 0 < $expiry_period ) {
     357                $expiry_date = gmdate( 'Y-m-d H:i:s', time() - $expiry_period * DAY_IN_SECONDS );
     358                $wpdb->query(
     359                    $wpdb->prepare(
     360                        "DELETE FROM `$table_name` WHERE `dateCreated` <= %s LIMIT 100",
     361                        $expiry_date
     362                    )
     363                );
    333364            }
    334365
     
    354385                'formBody' => $body,
    355386                'items' => json_encode( $items ),
    356                 'language' => $language
     387                'language' => $language,
     388                'dateCreated' => gmdate('Y-m-d H:i:s')
    357389            );
    358390            $insert_args = apply_filters(
     
    425457        }
    426458
     459        public static function delete_old_forms() {
     460            $expiry_period = intval( get_option( 'ivole_form_expiry_period', 0 ) );
     461            if ( 0 < $expiry_period ) {
     462                // check if the table exists
     463                global $wpdb;
     464                $table_name = $wpdb->prefix . self::FORMS_TABLE;
     465                $name_check = $wpdb->get_var( $wpdb->prepare( "SHOW TABLES LIKE %s", $table_name ) );
     466                if ( $name_check !== $table_name ) {
     467                    // check if the database converted the table name to lowercase
     468                    $table_name_l = strtolower( $table_name );
     469                    if ( $name_check !== $table_name_l ) {
     470                        // the table with forms does not exist, there is nothing to delete
     471                        return;
     472                    } else {
     473                        $table_name = $name_check;
     474                    }
     475                }
     476                // the table exists
     477                // add 'dateCreated' column if doesn't exist
     478                if( ! $wpdb->get_var( $wpdb->prepare( "SHOW COLUMNS FROM `$table_name` LIKE %s", 'dateCreated' ) ) ) {
     479                    $wpdb->query( "ALTER TABLE `$table_name` ADD `dateCreated` datetime DEFAULT NULL;" );
     480                    $wpdb->query( "ALTER TABLE `$table_name` ADD INDEX `dateCreated_index` (`dateCreated`);" );
     481                    $wpdb->update(
     482                        $table_name,
     483                        array(
     484                            'dateCreated' => gmdate( 'Y-m-d H:i:s' )
     485                        ),
     486                        array(
     487                            'dateCreated' => null
     488                        )
     489                    );
     490                }
     491                // delete old forms
     492                $expiry_date = gmdate( 'Y-m-d H:i:s', time() - $expiry_period * DAY_IN_SECONDS );
     493                $wpdb->query(
     494                    $wpdb->prepare(
     495                        "DELETE FROM `$table_name` WHERE `dateCreated` <= %s LIMIT 100",
     496                        $expiry_date
     497                    )
     498                );
     499            }
     500        }
     501
    427502    }
    428503
  • customer-reviews-woocommerce/trunk/includes/settings/class-cr-settings-forms.php

    r3212625 r3318495  
    198198                }
    199199                WC_Admin_Settings::save_fields( $this->settings );
     200                CR_Local_Forms::delete_old_forms();
    200201            }
    201202        }
     
    413414                    'autoload' => false
    414415                ),
    415                 105 => array(
     416                110 => array(
    416417                    'type' => 'sectionend',
    417418                    'id'   => 'cr_options_aggregated_forms'
     
    442443                    'desc_tip'    => __( 'Automatic geolocation on review forms.', 'customer-reviews-woocommerce' ),
    443444                    'css'     => 'display:none;',
     445                    'autoload' => false
     446                );
     447            } else {
     448                // and some features of review forms are available only for local forms
     449                $this->settings[105] = array(
     450                    'title'   => __( 'Expiry Period', 'customer-reviews-woocommerce' ),
     451                    'type'    => 'number',
     452                    'id'      => 'ivole_form_expiry_period',
     453                    'default' => 0,
     454                    'desc_tip' => __( 'Aggregated review forms will be automatically deleted after the specified number of days, or kept indefinitely if set to 0.', 'customer-reviews-woocommerce' ),
    444455                    'autoload' => false
    445456                );
  • customer-reviews-woocommerce/trunk/includes/settings/class-cr-settings-shortcodes.php

    r3315486 r3318495  
    106106            '<p>' . __( 'Use this shortcode to display a grid of reviews on any page or post. Here are the default parameters of the shortcode:', 'customer-reviews-woocommerce' ) . '</p>' .
    107107            '<p class="cr-admin-shortcodes"><code>[cusrev_reviews_grid count="3" show_products="true" product_links="true" sort_by="date" sort="DESC" categories="" product_tags="" tags="" ' .
    108             'products="current" color_ex_brdr="#ebebeb" color_brdr="#ebebeb" color_ex_bcrd="" color_bcrd="#ffffff" color_pr_bcrd="#f4f4f4" color_stars="#FFD707" ' .
     108            'products="current" color_ex_brdr="#ebebeb" color_brdr="#ebebeb" color_ex_bcrd="" color_bcrd="#ffffff" color_pr_bcrd="#f4f4f4" color_stars="#FFBC00" ' .
    109109            'shop_reviews="false" count_shop_reviews="1" inactive_products="false" avatars="initials" show_more="0" min_chars="0" show_summary_bar="false" add_review="false"]</code></p>' .
    110110            '<p class="cr-admin-shortcodes"><b>' . __( 'Parameters:', 'customer-reviews-woocommerce' ) . '</b></p>' .
     
    139139            '<p>' . __( 'Use this shortcode to display a slider with reviews on any page or post. Here are the default parameters of the shortcode:', 'customer-reviews-woocommerce' ) . '</p>' .
    140140            '<p class="cr-admin-shortcodes"><code>[cusrev_reviews_slider count="5" slides_to_show="3" show_products="true" product_links="true" sort_by="date" sort="DESC" categories="" product_tags="" tags="" ' .
    141             'products="current" color_ex_brdr="#ebebeb" color_brdr="#ebebeb" color_ex_bcrd="" color_bcrd="#ffffff" color_pr_bcrd="#f4f4f4" color_stars="#FFD707" shop_reviews="false" count_shop_reviews="1" inactive_products="false" autoplay="false" avatars="initials" max_chars="0" min_chars="0" show_dots="true"]</code></p>' .
     141            'products="current" color_ex_brdr="#ebebeb" color_brdr="#ebebeb" color_ex_bcrd="" color_bcrd="#ffffff" color_pr_bcrd="#f4f4f4" color_stars="#FFBC00" shop_reviews="false" count_shop_reviews="1" inactive_products="false" autoplay="false" avatars="initials" max_chars="0" min_chars="0" show_dots="true"]</code></p>' .
    142142            '<p class="cr-admin-shortcodes"><b>' . __( 'Parameters:', 'customer-reviews-woocommerce' ) . '</b></p>' .
    143143            '<ul>' .
  • customer-reviews-woocommerce/trunk/ivole.php

    r3315486 r3318495  
    44Description: Customer Reviews for WooCommerce plugin helps you get more customer reviews for your shop by sending automated reminders and coupons.
    55Plugin URI: https://wordpress.org/plugins/customer-reviews-woocommerce/
    6 Version: 5.79.0
     6Version: 5.80.0
    77Author: CusRev
    88Author URI: https://www.cusrev.com/business/
  • customer-reviews-woocommerce/trunk/languages/customer-reviews-woocommerce.pot

    r3315486 r3318495  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Customer Reviews for WooCommerce 5.78.1\n"
     5"Project-Id-Version: Customer Reviews for WooCommerce 5.80.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customer-reviews-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-20T19:58:35+00:00\n"
     12"POT-Creation-Date: 2025-06-26T20:11:30+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
     
    100100#: includes/settings/class-cr-admin-menu-settings.php:140
    101101#: includes/settings/class-cr-settings-forms-rating.php:104
    102 #: includes/settings/class-cr-settings-forms.php:550
     102#: includes/settings/class-cr-settings-forms.php:561
    103103msgid "Yes"
    104104msgstr ""
     
    118118#: includes/settings/class-cr-admin-menu-settings.php:141
    119119#: includes/settings/class-cr-settings-forms-rating.php:106
    120 #: includes/settings/class-cr-settings-forms.php:552
     120#: includes/settings/class-cr-settings-forms.php:563
    121121msgid "No"
    122122msgstr ""
     
    490490#: includes/emails/class-cr-email-coupon.php:153
    491491#: includes/emails/class-cr-email-coupon.php:179
    492 #: includes/emails/class-cr-email.php:457
    493 #: includes/emails/class-cr-email.php:498
     492#: includes/emails/class-cr-email.php:465
     493#: includes/emails/class-cr-email.php:506
    494494#: includes/emails/class-cr-wtsap.php:422
    495495#: includes/emails/class-cr-wtsap.php:692
    496496#: includes/emails/class-cr-wtsap.php:709
    497 #: includes/reminders/class-cr-local-forms.php:382
     497#: includes/reminders/class-cr-local-forms.php:414
    498498msgid "Jane"
    499499msgstr ""
     
    501501#: includes/emails/class-cr-email-coupon.php:154
    502502#: includes/emails/class-cr-email-coupon.php:180
    503 #: includes/emails/class-cr-email.php:458
    504 #: includes/emails/class-cr-email.php:499
     503#: includes/emails/class-cr-email.php:466
     504#: includes/emails/class-cr-email.php:507
    505505#: includes/emails/class-cr-wtsap.php:423
    506506#: includes/emails/class-cr-wtsap.php:693
    507507#: includes/emails/class-cr-wtsap.php:710
    508 #: includes/reminders/class-cr-local-forms.php:383
     508#: includes/reminders/class-cr-local-forms.php:415
    509509msgid "Doe"
    510510msgstr ""
    511511
    512512#: includes/emails/class-cr-email-coupon.php:155
    513 #: includes/emails/class-cr-email.php:459
     513#: includes/emails/class-cr-email.php:467
    514514#: includes/emails/class-cr-wtsap.php:694
    515515msgid "Jane Doe"
     
    517517
    518518#: includes/emails/class-cr-email-coupon.php:219
    519 #: includes/emails/class-cr-email.php:687
     519#: includes/emails/class-cr-email.php:695
    520520msgid "Error: a review reminder could not be sent using CusRev mailer. Please re-save options on the CusRev.com tab at the plugin's settings page."
    521521msgstr ""
     
    534534
    535535#: includes/emails/class-cr-email-func.php:549
    536 #: includes/emails/class-cr-email.php:467
     536#: includes/emails/class-cr-email.php:475
    537537#: includes/emails/class-cr-wtsap.php:429
    538538#: includes/emails/class-cr-wtsap.php:444
    539539#: includes/emails/class-cr-wtsap.php:719
    540 #: includes/reminders/class-cr-local-forms.php:390
     540#: includes/reminders/class-cr-local-forms.php:422
    541541msgid "Item 1 Test"
    542542msgstr ""
    543543
    544544#: includes/emails/class-cr-email-func.php:554
    545 #: includes/emails/class-cr-email.php:469
     545#: includes/emails/class-cr-email.php:477
    546546#: includes/emails/class-cr-wtsap.php:430
    547547#: includes/emails/class-cr-wtsap.php:449
    548548#: includes/emails/class-cr-wtsap.php:724
    549 #: includes/reminders/class-cr-local-forms.php:395
     549#: includes/reminders/class-cr-local-forms.php:427
    550550msgid "Item 2 Test"
    551551msgstr ""
     
    600600msgstr ""
    601601
    602 #: includes/emails/class-cr-email.php:296
     602#: includes/emails/class-cr-email.php:302
    603603msgid "Error: the order was placed by a customer who doesn't have a role for which review reminders are enabled."
    604604msgstr ""
    605605
    606 #: includes/emails/class-cr-email.php:306
     606#: includes/emails/class-cr-email.php:312
    607607msgid "Error: reminders are disabled for guests."
    608608msgstr ""
    609609
    610 #: includes/emails/class-cr-email.php:322
     610#: includes/emails/class-cr-email.php:328
    611611msgid "Error: the customer's email is invalid."
    612612msgstr ""
    613613
    614 #: includes/emails/class-cr-email.php:331
    615 #: includes/emails/class-cr-email.php:478
     614#: includes/emails/class-cr-email.php:337
     615#: includes/emails/class-cr-email.php:486
    616616msgid "Error: \"Email Subject\" is empty. Please enter a string for the subject line of emails."
    617617msgstr ""
    618618
    619 #: includes/emails/class-cr-email.php:348
     619#: includes/emails/class-cr-email.php:354
    620620msgid "Error: could not save the secret key to DB. Please try again."
    621621msgstr ""
    622622
    623 #: includes/emails/class-cr-email.php:446
     623#: includes/emails/class-cr-email.php:454
    624624#: includes/emails/class-cr-wtsap.php:410
    625625msgid "CR: A review invitation cannot be sent because the order does not contain any products for which review reminders are enabled in the settings."
    626626msgstr ""
    627627
    628 #: includes/emails/class-cr-email.php:450
     628#: includes/emails/class-cr-email.php:458
    629629#: includes/emails/class-cr-wtsap.php:412
    630630msgid "Error: the order does not contain any products for which review reminders are enabled in the settings."
    631631msgstr ""
    632632
    633 #: includes/emails/class-cr-email.php:670
     633#: includes/emails/class-cr-email.php:678
    634634msgid "Error: only one review invitation per order is allowed."
    635635msgstr ""
    636636
    637 #: includes/emails/class-cr-email.php:670
     637#: includes/emails/class-cr-email.php:678
    638638msgid "View additional information"
    639639msgstr ""
    640640
    641 #: includes/emails/class-cr-email.php:674
     641#: includes/emails/class-cr-email.php:682
    642642msgid "Error: the customer has already reviewed all products from this order."
    643643msgstr ""
    644644
    645 #: includes/emails/class-cr-email.php:679
     645#: includes/emails/class-cr-email.php:687
    646646msgid "Error: the customer has unsubscribed from emails."
    647647msgstr ""
    648648
    649 #: includes/emails/class-cr-email.php:683
     649#: includes/emails/class-cr-email.php:691
    650650msgid "Error: the customer has already left a review for a different order in the past."
    651651msgstr ""
     
    14911491#: includes/settings/class-cr-settings-forms-rating.php:186
    14921492#: includes/settings/class-cr-settings-forms-rating.php:213
    1493 #: includes/settings/class-cr-settings-forms.php:648
    1494 #: includes/settings/class-cr-settings-forms.php:675
     1493#: includes/settings/class-cr-settings-forms.php:659
     1494#: includes/settings/class-cr-settings-forms.php:686
    14951495#: templates/cr-review-form.php:195
    14961496#: templates/qna-list.php:197
     
    21342134
    21352135#: includes/qna/class-cr-settings-qna.php:116
    2136 #: includes/settings/class-cr-settings-forms.php:280
     2136#: includes/settings/class-cr-settings-forms.php:281
    21372137msgid "Login URL"
    21382138msgstr ""
     
    21672167
    21682168#: includes/qna/class-cr-settings-qna.php:154
    2169 #: includes/settings/class-cr-settings-forms.php:317
     2169#: includes/settings/class-cr-settings-forms.php:318
    21702170msgid "Terms and Privacy Checkbox"
    21712171msgstr ""
    21722172
    21732173#: includes/qna/class-cr-settings-qna.php:162
    2174 #: includes/settings/class-cr-settings-forms.php:325
     2174#: includes/settings/class-cr-settings-forms.php:326
    21752175msgid "Terms and Privacy Checkbox Label"
    21762176msgstr ""
    21772177
    21782178#: includes/qna/class-cr-settings-qna.php:164
    2179 #: includes/settings/class-cr-settings-forms.php:327
     2179#: includes/settings/class-cr-settings-forms.php:328
    21802180msgid "Tailor the text to be shown alongside the Terms and Privacy checkbox. Incorporate links directing users to the Terms and Conditions and Privacy Policy pages on your website."
    21812181msgstr ""
     
    23132313msgstr ""
    23142314
     2315#: includes/reminders/class-cr-local-forms.php:288
     2316msgid "Oops! This review form isn’t available - it may have expired or the order has nothing to review."
     2317msgstr ""
     2318
    23152319#: includes/reminders/class-cr-manual.php:77
    23162320msgid "Sync the order with CR Cron"
     
    25502554#: includes/reminders/class-cr-reminders-list-table.php:212
    25512555#: includes/reminders/class-cr-reminders-log-table.php:92
    2552 #: includes/settings/class-cr-settings-forms.php:514
    2553 #: includes/settings/class-cr-settings-forms.php:628
     2556#: includes/settings/class-cr-settings-forms.php:525
     2557#: includes/settings/class-cr-settings-forms.php:639
    25542558#: includes/settings/class-cr-settings-review-reminder.php:1183
    25552559#: templates/reminder-details-admin-page.php:162
     
    37373741#: includes/settings/class-cr-settings-forms-rating.php:68
    37383742#: includes/settings/class-cr-settings-forms-rating.php:172
    3739 #: includes/settings/class-cr-settings-forms.php:510
    3740 #: includes/settings/class-cr-settings-forms.php:621
     3743#: includes/settings/class-cr-settings-forms.php:521
     3744#: includes/settings/class-cr-settings-forms.php:632
    37413745msgid "Label"
    37423746msgstr ""
     
    37443748#: includes/settings/class-cr-settings-forms-rating.php:72
    37453749#: includes/settings/class-cr-settings-forms-rating.php:179
    3746 #: includes/settings/class-cr-settings-forms.php:518
    3747 #: includes/settings/class-cr-settings-forms.php:641
     3750#: includes/settings/class-cr-settings-forms.php:529
     3751#: includes/settings/class-cr-settings-forms.php:652
    37483752msgid "Required"
    37493753msgstr ""
     
    37673771#: includes/settings/class-cr-settings-forms-rating.php:187
    37683772#: includes/settings/class-cr-settings-forms-rating.php:214
    3769 #: includes/settings/class-cr-settings-forms.php:649
    3770 #: includes/settings/class-cr-settings-forms.php:676
     3773#: includes/settings/class-cr-settings-forms.php:660
     3774#: includes/settings/class-cr-settings-forms.php:687
    37713775msgid "Confirm"
    37723776msgstr ""
     
    38243828msgstr ""
    38253829
    3826 #: includes/settings/class-cr-settings-forms.php:206
     3830#: includes/settings/class-cr-settings-forms.php:207
    38273831msgid "On-site product review forms are displayed on your website. If reviews are enabled, WooCommerce displays them on product pages. However, on-site review forms can also be displayed using <a href=\"%s\">shortcodes</a> or blocks."
    38283832msgstr ""
    38293833
    3830 #: includes/settings/class-cr-settings-forms.php:208
     3834#: includes/settings/class-cr-settings-forms.php:209
    38313835msgid "An aggregated review form is a review form that supports collection of reviews for multiple products at the same time. The plugin will automatically create an aggregated review form when sending a review reminder. You can read more about aggregated review forms on <a href=\"%s\">this page</a> of our Helpdesk."
    38323836msgstr ""
    38333837
    3834 #: includes/settings/class-cr-settings-forms.php:211
     3838#: includes/settings/class-cr-settings-forms.php:212
    38353839#: includes/settings/class-cr-settings-review-reminder.php:460
    38363840msgid "Adjust template of the aggregated review forms that will be created and sent to customers by CusRev. Modifications will be applied to the next review form created after saving settings. If you enable <b>advanced</b> form templates in your account on %1$sCusRev website%2$s, they will <b>override</b> the settings below."
    38373841msgstr ""
    38383842
    3839 #: includes/settings/class-cr-settings-forms.php:213
     3843#: includes/settings/class-cr-settings-forms.php:214
    38403844#: includes/settings/class-cr-settings-review-reminder.php:465
    38413845msgid "Adjust template of the aggregated review forms that will be created and sent to customers. Modifications will be applied to the next review form created after saving settings."
    38423846msgstr ""
    38433847
    3844 #: includes/settings/class-cr-settings-forms.php:218
     3848#: includes/settings/class-cr-settings-forms.php:219
    38453849msgid "Enable attachment of pictures and videos on aggregated review forms. Uploaded media files are initially stored on Amazon S3 and automatically downloaded into WordPress Media Library later. This option applies only to aggregated review forms. If you would like to enable attachment of pictures to reviews submitted on WooCommerce product pages, please do it in the settings for on-site review forms."
    38463850msgstr ""
    38473851
    3848 #: includes/settings/class-cr-settings-forms.php:220
     3852#: includes/settings/class-cr-settings-forms.php:221
    38493853msgid "Enable attachment of pictures and videos on local aggregated review forms. This option applies only to aggregated review forms. If you would like to enable attachment of pictures to reviews submitted on WooCommerce product pages, please do it in the settings for on-site review forms."
    38503854msgstr ""
    38513855
    3852 #: includes/settings/class-cr-settings-forms.php:225
     3856#: includes/settings/class-cr-settings-forms.php:226
    38533857msgid "On-site Product Review Form"
    38543858msgstr ""
    38553859
    3856 #: includes/settings/class-cr-settings-forms.php:231
     3860#: includes/settings/class-cr-settings-forms.php:232
    38573861msgid "Rating Criteria"
    38583862msgstr ""
    38593863
    3860 #: includes/settings/class-cr-settings-forms.php:232
     3864#: includes/settings/class-cr-settings-forms.php:233
    38613865msgid "Set up additional rating criteria for on-site review forms. Use the additional criteria to let your customers rate various features of products. For example, if you are selling footwear, you might want to ask customers to rate features like comfort, value for money, and style."
    38623866msgstr ""
    38633867
    3864 #: includes/settings/class-cr-settings-forms.php:237
     3868#: includes/settings/class-cr-settings-forms.php:238
    38653869msgid "Questions"
    38663870msgstr ""
    38673871
    3868 #: includes/settings/class-cr-settings-forms.php:238
     3872#: includes/settings/class-cr-settings-forms.php:239
    38693873msgid "Set up additional questions for on-site review forms. Use the additional questions to get more information from your customers beyond star ratings and reviews. For example, if you are selling skincare products, you might want to ask customers about their skin type."
    38703874msgstr ""
    38713875
    3872 #: includes/settings/class-cr-settings-forms.php:243
     3876#: includes/settings/class-cr-settings-forms.php:244
    38733877msgid "Attach Images/Videos"
    38743878msgstr ""
    38753879
    3876 #: includes/settings/class-cr-settings-forms.php:244
     3880#: includes/settings/class-cr-settings-forms.php:245
    38773881msgid "Enable attachment of images and videos to reviews left on WooCommerce product pages."
    38783882msgstr ""
    38793883
    3880 #: includes/settings/class-cr-settings-forms.php:250
     3884#: includes/settings/class-cr-settings-forms.php:251
    38813885msgid "Quantity of Media Files"
    38823886msgstr ""
    38833887
    3884 #: includes/settings/class-cr-settings-forms.php:251
     3888#: includes/settings/class-cr-settings-forms.php:252
    38853889msgid "Specify the maximum number of images and videos that can be uploaded for a single review. This setting applies only to reviews submitted on single product pages."
    38863890msgstr ""
    38873891
    3888 #: includes/settings/class-cr-settings-forms.php:258
     3892#: includes/settings/class-cr-settings-forms.php:259
    38893893msgid "Maximum Size of Media File"
    38903894msgstr ""
    38913895
    3892 #: includes/settings/class-cr-settings-forms.php:259
     3896#: includes/settings/class-cr-settings-forms.php:260
    38933897msgid "Specify the maximum size (in MB) of an image or a video that can be uploaded with a review. This setting applies only to reviews submitted on single product pages."
    38943898msgstr ""
    38953899
    3896 #: includes/settings/class-cr-settings-forms.php:266
     3900#: includes/settings/class-cr-settings-forms.php:267
    38973901msgid "Review Permissions"
    38983902msgstr ""
    38993903
    3900 #: includes/settings/class-cr-settings-forms.php:267
     3904#: includes/settings/class-cr-settings-forms.php:268
    39013905msgid "Specify review permissions for on-site review forms. This setting applies to review forms on single product pages when CusRev visual style is enabled and to review forms added via shortcodes."
    39023906msgstr ""
    39033907
    3904 #: includes/settings/class-cr-settings-forms.php:272
     3908#: includes/settings/class-cr-settings-forms.php:273
    39053909msgid "Nobody can submit reviews"
    39063910msgstr ""
    39073911
    3908 #: includes/settings/class-cr-settings-forms.php:273
     3912#: includes/settings/class-cr-settings-forms.php:274
    39093913msgid "Reviewers must be registered and logged in"
    39103914msgstr ""
    39113915
    3912 #: includes/settings/class-cr-settings-forms.php:274
     3916#: includes/settings/class-cr-settings-forms.php:275
    39133917msgid "Reviewers must be verified owners"
    39143918msgstr ""
    39153919
    3916 #: includes/settings/class-cr-settings-forms.php:275
     3920#: includes/settings/class-cr-settings-forms.php:276
    39173921msgid "Anyone can submit reviews"
    39183922msgstr ""
    39193923
    3920 #: includes/settings/class-cr-settings-forms.php:284
     3924#: includes/settings/class-cr-settings-forms.php:285
    39213925msgid "Customize the URL for the login button on on-site review forms. You can override the default URL returned by the WordPress %1$s function with a custom URL specified in this field. If left blank, the standard URL %2$s will be used."
    39223926msgstr ""
    39233927
    3924 #: includes/settings/class-cr-settings-forms.php:294
     3928#: includes/settings/class-cr-settings-forms.php:295
    39253929msgid "reCAPTCHA V2 for Reviews"
    39263930msgstr ""
    39273931
    3928 #: includes/settings/class-cr-settings-forms.php:295
     3932#: includes/settings/class-cr-settings-forms.php:296
    39293933msgid "Enable reCAPTCHA to eliminate fake reviews. You must enter Site Key and Secret Key in the fields below if you want to use reCAPTCHA. You will receive Site Key and Secret Key after registration at reCAPTCHA website."
    39303934msgstr ""
    39313935
    3932 #: includes/settings/class-cr-settings-forms.php:301
     3936#: includes/settings/class-cr-settings-forms.php:302
    39333937msgid "reCAPTCHA V2 Site Key"
    39343938msgstr ""
    39353939
    3936 #: includes/settings/class-cr-settings-forms.php:303
     3940#: includes/settings/class-cr-settings-forms.php:304
    39373941msgid "If you want to use reCAPTCHA V2, insert here Site Key that you will receive after registration at reCAPTCHA website."
    39383942msgstr ""
    39393943
    3940 #: includes/settings/class-cr-settings-forms.php:309
     3944#: includes/settings/class-cr-settings-forms.php:310
    39413945msgid "reCAPTCHA V2 Secret Key"
    39423946msgstr ""
    39433947
    3944 #: includes/settings/class-cr-settings-forms.php:311
     3948#: includes/settings/class-cr-settings-forms.php:312
    39453949msgid "If you want to use reCAPTCHA V2, insert here Secret Key that you will receive after registration at reCAPTCHA website."
    39463950msgstr ""
    39473951
    3948 #: includes/settings/class-cr-settings-forms.php:338
     3952#: includes/settings/class-cr-settings-forms.php:339
    39493953msgid "Aggregated Review Form"
    39503954msgstr ""
    39513955
    3952 #: includes/settings/class-cr-settings-forms.php:344
     3956#: includes/settings/class-cr-settings-forms.php:345
    39533957msgid "Form Header"
    39543958msgstr ""
    39553959
    3956 #: includes/settings/class-cr-settings-forms.php:346
     3960#: includes/settings/class-cr-settings-forms.php:347
    39573961msgid "Header of the review form that will be sent to customers."
    39583962msgstr ""
    39593963
    3960 #: includes/settings/class-cr-settings-forms.php:354
     3964#: includes/settings/class-cr-settings-forms.php:355
    39613965msgid "Form Body"
    39623966msgstr ""
    39633967
    3964 #: includes/settings/class-cr-settings-forms.php:356
     3968#: includes/settings/class-cr-settings-forms.php:357
    39653969msgid "Body of the review form that will be sent to customers."
    39663970msgstr ""
    39673971
    3968 #: includes/settings/class-cr-settings-forms.php:365
     3972#: includes/settings/class-cr-settings-forms.php:366
    39693973msgid "Shop Rating"
    39703974msgstr ""
    39713975
    3972 #: includes/settings/class-cr-settings-forms.php:369
     3976#: includes/settings/class-cr-settings-forms.php:370
    39733977msgid "Enable this option if you would like to include a separate question for a general shop review in addition to questions for product reviews."
    39743978msgstr ""
    39753979
    3976 #: includes/settings/class-cr-settings-forms.php:373
     3980#: includes/settings/class-cr-settings-forms.php:374
    39773981msgid "Comment Required"
    39783982msgstr ""
    39793983
    3980 #: includes/settings/class-cr-settings-forms.php:377
     3984#: includes/settings/class-cr-settings-forms.php:378
    39813985msgid "Enable this option if you would like to make it mandatory for your customers to write something in their review. This option applies only to aggregated review forms."
    39823986msgstr ""
    39833987
    3984 #: includes/settings/class-cr-settings-forms.php:381
     3988#: includes/settings/class-cr-settings-forms.php:382
    39853989msgid "Attach Media"
    39863990msgstr ""
    39873991
    3988 #: includes/settings/class-cr-settings-forms.php:389
     3992#: includes/settings/class-cr-settings-forms.php:390
    39893993msgid "Form Color 1"
    39903994msgstr ""
    39913995
    3992 #: includes/settings/class-cr-settings-forms.php:393
     3996#: includes/settings/class-cr-settings-forms.php:394
    39933997msgid "Background color for heading of the form and product names."
    39943998msgstr ""
    39953999
    3996 #: includes/settings/class-cr-settings-forms.php:398
     4000#: includes/settings/class-cr-settings-forms.php:399
    39974001msgid "Form Color 2"
    39984002msgstr ""
    39994003
    4000 #: includes/settings/class-cr-settings-forms.php:402
     4004#: includes/settings/class-cr-settings-forms.php:403
    40014005msgid "Text color for product names."
    40024006msgstr ""
    40034007
    4004 #: includes/settings/class-cr-settings-forms.php:407
     4008#: includes/settings/class-cr-settings-forms.php:408
    40054009msgid "Form Color 3"
    40064010msgstr ""
    40074011
    4008 #: includes/settings/class-cr-settings-forms.php:411
     4012#: includes/settings/class-cr-settings-forms.php:412
    40094013msgid "Color of control elements (buttons, rating bars)."
    40104014msgstr ""
    40114015
    4012 #: includes/settings/class-cr-settings-forms.php:424
     4016#: includes/settings/class-cr-settings-forms.php:425
    40134017msgid "Rating Bar"
    40144018msgstr ""
    40154019
    4016 #: includes/settings/class-cr-settings-forms.php:428
     4020#: includes/settings/class-cr-settings-forms.php:429
    40174021msgid "Visual style of rating bars on review forms."
    40184022msgstr ""
    40194023
    4020 #: includes/settings/class-cr-settings-forms.php:430
     4024#: includes/settings/class-cr-settings-forms.php:431
    40214025msgid "Smiley and frowny faces"
    40224026msgstr ""
    40234027
    4024 #: includes/settings/class-cr-settings-forms.php:431
     4028#: includes/settings/class-cr-settings-forms.php:432
    40254029#: blocks/build/reviews-grid/index.js:12
    40264030#: blocks/build/reviews-slider/index.js:12
     
    40304034msgstr ""
    40314035
    4032 #: includes/settings/class-cr-settings-forms.php:437
     4036#: includes/settings/class-cr-settings-forms.php:438
    40334037msgid "Geolocation"
    40344038msgstr ""
    40354039
    4036 #: includes/settings/class-cr-settings-forms.php:441
     4040#: includes/settings/class-cr-settings-forms.php:442
    40374041msgid "Enable geolocation on aggregated review forms. Customers will have an option to indicate where they are from. For example, \"England, United Kingdom\"."
    40384042msgstr ""
    40394043
    4040 #: includes/settings/class-cr-settings-forms.php:442
     4044#: includes/settings/class-cr-settings-forms.php:443
    40414045msgid "Automatic geolocation on review forms."
    40424046msgstr ""
    40434047
    4044 #: includes/settings/class-cr-settings-forms.php:493
     4048#: includes/settings/class-cr-settings-forms.php:450
     4049msgid "Expiry Period"
     4050msgstr ""
     4051
     4052#: includes/settings/class-cr-settings-forms.php:454
     4053msgid "Aggregated review forms will be automatically deleted after the specified number of days, or kept indefinitely if set to 0."
     4054msgstr ""
     4055
     4056#: includes/settings/class-cr-settings-forms.php:504
    40454057msgid "Add Question"
    40464058msgstr ""
    40474059
    4048 #: includes/settings/class-cr-settings-forms.php:496
     4060#: includes/settings/class-cr-settings-forms.php:507
    40494061msgid "The free version of the plugin supports up to 2 questions"
    40504062msgstr ""
    40514063
    4052 #: includes/settings/class-cr-settings-forms.php:506
    4053 #: includes/settings/class-cr-settings-forms.php:610
     4064#: includes/settings/class-cr-settings-forms.php:517
     4065#: includes/settings/class-cr-settings-forms.php:621
    40544066msgid "Question"
    40554067msgstr ""
    40564068
    4057 #: includes/settings/class-cr-settings-forms.php:601
     4069#: includes/settings/class-cr-settings-forms.php:612
    40584070msgid "Add a Question"
    40594071msgstr ""
    40604072
    4061 #: includes/settings/class-cr-settings-forms.php:613
     4073#: includes/settings/class-cr-settings-forms.php:624
    40624074msgid "E.g., What is your skin type?"
    40634075msgstr ""
    40644076
    4065 #: includes/settings/class-cr-settings-forms.php:616
     4077#: includes/settings/class-cr-settings-forms.php:627
    40664078msgid "* Question cannot be blank"
    40674079msgstr ""
    40684080
    4069 #: includes/settings/class-cr-settings-forms.php:624
     4081#: includes/settings/class-cr-settings-forms.php:635
    40704082msgid "E.g., Skin type"
    40714083msgstr ""
    40724084
    4073 #: includes/settings/class-cr-settings-forms.php:671
     4085#: includes/settings/class-cr-settings-forms.php:682
    40744086msgid "Would you like to delete this question?"
    40754087msgstr ""
    40764088
    4077 #: includes/settings/class-cr-settings-forms.php:797
     4089#: includes/settings/class-cr-settings-forms.php:808
    40784090msgid "Add a checkbox for people to accept your Terms and Conditions, Privacy Policy, and any other legal agreements required in your jurisdiction before submitting a review via an on-site review form."
    40794091msgstr ""
  • customer-reviews-woocommerce/trunk/readme.txt

    r3315486 r3318495  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 5.79.0
     7Stable tag: 5.80.0
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl.html
     
    234234== Changelog ==
    235235
     236= 5.80.0 =
     237* New feature: a setting to expire local aggregated review forms after a specified number of days
     238* Bug fix: 'color_stars' parameter did not work in [cusrev_reviews_grid] and [cusrev_reviews_slider] shortcodes
    236239= 5.79.0 =
    237240* Improvement: removal of the checkbox to enable/disable shortcodes to avoid confusion
  • customer-reviews-woocommerce/trunk/templates/reviews-grid.php

    r3304074 r3318495  
    136136                        <div class="rating-row">
    137137                            <div class="rating">
    138                                 <div class="crstar-rating-svg" role="img" aria-label="<?php echo esc_attr( sprintf( __( 'Rated %s out of 5', 'woocommerce' ), $rating ) ); ?>"><?php echo CR_Reviews::get_star_rating_svg( $rating, 0, '' ); ?></div>
     138                                <div class="crstar-rating-svg" role="img" aria-label="<?php echo esc_attr( sprintf( __( 'Rated %s out of 5', 'woocommerce' ), $rating ) ); ?>"><?php echo CR_Reviews::get_star_rating_svg( $rating, 0, $stars_style ); ?></div>
    139139                            </div>
    140140                            <div class="rating-label">
  • customer-reviews-woocommerce/trunk/templates/reviews-slider.php

    r3291197 r3318495  
    5454                <div class="rating-row">
    5555                    <div class="rating">
    56                         <div class="crstar-rating-svg" role="img" aria-label="<?php echo esc_attr( sprintf( __( 'Rated %s out of 5', 'woocommerce' ), $rating ) ); ?>"><?php echo CR_Reviews::get_star_rating_svg( $rating, 0, '' ); ?></div>
     56                        <div class="crstar-rating-svg" role="img" aria-label="<?php echo esc_attr( sprintf( __( 'Rated %s out of 5', 'woocommerce' ), $rating ) ); ?>"><?php echo CR_Reviews::get_star_rating_svg( $rating, 0, $stars_style ); ?></div>
    5757                    </div>
    5858                    <div class="rating-label">
  • customer-reviews-woocommerce/trunk/uninstall.php

    r3212625 r3318495  
    162162    'ivole_track_reminder_open',
    163163    'ivole_review_login_url',
    164     'ivole_qna_settings'
     164    'ivole_qna_settings',
     165    'ivole_form_expiry_period'
    165166);
    166167
Note: See TracChangeset for help on using the changeset viewer.