Plugin Directory

Changeset 3482971


Ignore:
Timestamp:
03/15/2026 09:16:35 AM (13 days ago)
Author:
wpclever
Message:

Update 2.5.1

Location:
wpc-ajax-search
Files:
57 added
7 edited

Legend:

Unmodified
Added
Removed
  • wpc-ajax-search/trunk/includes/dashboard/css/dashboard.css

    r3388684 r3482971  
    287287}
    288288
     289.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_submit {
     290  display: flex;
     291  align-items: center;
     292}
     293
     294.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpc-last-saved {
     295  font-weight: 400;
     296  font-size: 12px;
     297  color: #999;
     298  margin-left: 10px;
     299  display: flex;
     300  align-items: center;
     301}
     302
     303.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpc-last-saved .dashicons {
     304  font-size: 15px;
     305  width: 15px;
     306  height: 15px;
     307  margin-right: 5px;
     308  color: #22c55e;
     309}
     310
    289311.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export {
    290312  position: absolute;
     
    293315  transform: translateY(-50%);
    294316  font-weight: 400;
     317}
     318
     319#wpclever_export .wpclever_export_data {
     320  width: 100%;
     321  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
     322  font-size: 12.5px;
     323  line-height: 20px;
     324  padding: 0 12px;
     325  background-image: repeating-linear-gradient(to bottom, #ffffff 0px, #ffffff 20px, #fafafa 20px, #fafafa 40px);
     326  background-attachment: local;
     327  resize: vertical;
     328  box-sizing: border-box;
     329  outline: none;
    295330}
    296331
     
    462497  border-left: none;
    463498  border-right: 4px solid #23282d;
     499}
     500
     501body.rtl .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export {
     502  left: 20px;
     503  right: auto;
    464504}
    465505
  • wpc-ajax-search/trunk/includes/dashboard/css/dashboard.css.map

    r3388684 r3482971  
    1 {"version":3,"sourceRoot":"","sources":["dashboard.scss"],"names":[],"mappings":";AAAA;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAEA;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AAEA;EACE;IACE;IACA;IACA;IACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AAEA;EACE;;;AAGF;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA","file":"dashboard.css"}
     1{"version":3,"sourceRoot":"","sources":["dashboard.scss"],"names":[],"mappings":";AAAA;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAEA;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AAEA;EACE;IACE;IACA;IACA;IACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EAOA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;IACE;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AAEA;EACE;;;AAGF;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA","file":"dashboard.css"}
  • wpc-ajax-search/trunk/includes/dashboard/css/dashboard.scss

    r3388684 r3482971  
    299299}
    300300
     301.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_submit {
     302  display: flex;
     303  align-items: center;
     304}
     305
     306.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpc-last-saved {
     307  font-weight: 400;
     308  font-size: 12px;
     309  color: #999;
     310  margin-left: 10px;
     311  display: flex;
     312  align-items: center;
     313}
     314
     315.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpc-last-saved .dashicons {
     316  font-size: 15px;
     317  width: 15px;
     318  height: 15px;
     319  margin-right: 5px;
     320  color: #22c55e;
     321}
     322
    301323.wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export {
    302324  position: absolute;
     
    305327  transform: translateY(-50%);
    306328  font-weight: 400;
     329}
     330
     331#wpclever_export .wpclever_export_data {
     332  width: 100%;
     333  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
     334  font-size: 12.5px;
     335  line-height: 20px;
     336  padding: 0 12px;
     337  background-image: repeating-linear-gradient(
     338                  to bottom,
     339                  #ffffff 0px,
     340                  #ffffff 20px,
     341                  #fafafa 20px,
     342                  #fafafa 40px
     343  );
     344  background-attachment: local;
     345  resize: vertical;
     346  box-sizing: border-box;
     347  outline: none;
    307348}
    308349
     
    478519  border-left: none;
    479520  border-right: 4px solid #23282d;
     521}
     522
     523body.rtl .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export {
     524  left: 20px;
     525  right: auto;
    480526}
    481527
  • wpc-ajax-search/trunk/includes/dashboard/wpc-dashboard.php

    r3388684 r3482971  
    11<?php
    22defined( 'ABSPATH' ) || exit;
    3 
    4 if ( ! class_exists( 'WPCleverMenu' ) ) {
    5     class WPCleverMenu {
    6         function __construct() {
    7             // do nothing, moved to WPCleverDashboard
    8         }
    9     }
    10 
    11     new WPCleverMenu();
    12 }
    133
    144if ( ! class_exists( 'WPCleverDashboard' ) ) {
     
    232222
    233223            if ( ! empty( $key ) && ( $settings = get_option( $key ) ) ) {
     224                unset( $settings['_last_saved'] );
     225                unset( $settings['_last_saved_by'] );
     226
    234227                echo '<textarea class="wpclever_export_data" id="wpclever_export_data" style="width: 100%; height: 200px; margin-bottom: 10px;" data-key="' . esc_attr( $key ) . '">' . esc_textarea( wp_json_encode( $settings, JSON_PRETTY_PRINT ) ) . '</textarea>';
    235228                echo '<div style="display: flex; align-items: center"><button class="button button-primary wpclever_import" data-key="' . esc_attr( $key ) . '">Update</button>';
     
    265258    new WPCleverDashboard();
    266259}
     260
     261if ( ! function_exists( 'wpc_last_saved' ) ) {
     262    function wpc_last_saved( $settings ) {
     263        $last_saved = isset( $settings['_last_saved'] ) ? (int) $settings['_last_saved'] : 0;
     264
     265        if ( $last_saved ) {
     266            $time_diff = human_time_diff( $last_saved, current_time( 'timestamp' ) );
     267            $time_full = date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), $last_saved );
     268
     269            // Who saved it
     270            $saved_by_id   = isset( $settings['_last_saved_by'] ) ? (int) $settings['_last_saved_by'] : 0;
     271            $saved_by_name = '';
     272
     273            if ( $saved_by_id ) {
     274                $user = get_userdata( $saved_by_id );
     275
     276                if ( $user ) {
     277                    $saved_by_name = $user->display_name;
     278                }
     279            }
     280
     281            $by_text = $saved_by_name ? ' ' . sprintf( 'by %s', esc_html( $saved_by_name ) ) : '';
     282
     283            echo '<span class="wpc-last-saved" title="' . esc_attr( $time_full ) . '"><span class="dashicons dashicons-saved"></span> '
     284                 . sprintf(
     285                         'Saved %1$s ago',
     286                         esc_html( $time_diff )
     287                 )
     288                 . $by_text
     289                 . '</span>';
     290        }
     291    }
     292}
  • wpc-ajax-search/trunk/languages/wpc-ajax-search.pot

    r3425996 r3482971  
    1 # Copyright (C) 2025 WPClever
     1# Copyright (C) 2026 WPClever
    22# This file is distributed under the GPLv2 or later.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WPC AJAX Search for WooCommerce 2.5.0\n"
     5"Project-Id-Version: WPC AJAX Search for WooCommerce 2.5.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpc-ajax-search\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-12-23T09:05:23+00:00\n"
     12"POT-Creation-Date: 2026-03-15T09:14:22+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    4040msgstr ""
    4141
    42 #: wpc-ajax-search.php:210
    43 #: wpc-ajax-search.php:295
     42#: wpc-ajax-search.php:212
     43#: wpc-ajax-search.php:310
    4444msgid "Settings"
    4545msgstr ""
    4646
    47 #: wpc-ajax-search.php:211
    48 #: wpc-ajax-search.php:308
     47#: wpc-ajax-search.php:213
     48#: wpc-ajax-search.php:323
    4949msgid "Premium Version"
    5050msgstr ""
    5151
    52 #: wpc-ajax-search.php:227
     52#: wpc-ajax-search.php:229
    5353msgid "Community support"
    5454msgstr ""
    5555
    56 #: wpc-ajax-search.php:255
    5756#: wpc-ajax-search.php:270
     57#: wpc-ajax-search.php:285
    5858msgid "WPC AJAX Search"
    5959msgstr ""
    6060
    61 #: wpc-ajax-search.php:255
     61#: wpc-ajax-search.php:270
    6262msgid "AJAX Search"
    6363msgstr ""
    6464
    65 #: wpc-ajax-search.php:270
     65#: wpc-ajax-search.php:285
    6666msgid "Premium"
    6767msgstr ""
    6868
    6969#. translators: stars
    70 #: wpc-ajax-search.php:273
     70#: wpc-ajax-search.php:288
    7171#, php-format
    7272msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating."
    7373msgstr ""
    7474
    75 #: wpc-ajax-search.php:276
     75#: wpc-ajax-search.php:291
    7676msgid "Reviews"
    7777msgstr ""
    7878
    79 #: wpc-ajax-search.php:278
     79#: wpc-ajax-search.php:293
    8080msgid "Changelog"
    8181msgstr ""
    8282
    83 #: wpc-ajax-search.php:280
     83#: wpc-ajax-search.php:295
    8484msgid "Discussion"
    8585msgstr ""
    8686
    87 #: wpc-ajax-search.php:288
     87#: wpc-ajax-search.php:303
    8888msgid "Settings updated."
    8989msgstr ""
    9090
    91 #: wpc-ajax-search.php:299
     91#: wpc-ajax-search.php:314
    9292msgid "Smart Search"
    9393msgstr ""
    9494
    95 #: wpc-ajax-search.php:303
     95#: wpc-ajax-search.php:318
    9696msgid "Localization"
    9797msgstr ""
    9898
    99 #: wpc-ajax-search.php:312
     99#: wpc-ajax-search.php:327
    100100msgid "Essential Kit"
    101101msgstr ""
    102102
    103 #: wpc-ajax-search.php:341
    104 #: wpc-ajax-search.php:702
     103#: wpc-ajax-search.php:356
     104#: wpc-ajax-search.php:726
    105105msgid "General"
    106106msgstr ""
    107107
    108 #: wpc-ajax-search.php:342
     108#: wpc-ajax-search.php:357
    109109msgid "General settings."
    110110msgstr ""
    111111
    112 #: wpc-ajax-search.php:345
     112#: wpc-ajax-search.php:360
    113113msgid "Auto-open"
    114114msgstr ""
    115115
    116 #: wpc-ajax-search.php:348
     116#: wpc-ajax-search.php:363
    117117msgid "Yes, open popup"
    118118msgstr ""
    119119
    120 #: wpc-ajax-search.php:349
     120#: wpc-ajax-search.php:364
    121121msgid "Yes, open inline"
    122122msgstr ""
    123123
    124 #: wpc-ajax-search.php:350
    125 #: wpc-ajax-search.php:392
    126 #: wpc-ajax-search.php:402
    127 #: wpc-ajax-search.php:424
     124#: wpc-ajax-search.php:365
     125#: wpc-ajax-search.php:407
     126#: wpc-ajax-search.php:417
    128127#: wpc-ajax-search.php:439
    129 #: wpc-ajax-search.php:452
    130 #: wpc-ajax-search.php:464
    131 #: wpc-ajax-search.php:473
    132 #: wpc-ajax-search.php:483
    133 #: wpc-ajax-search.php:535
    134 #: wpc-ajax-search.php:614
    135 #: wpc-ajax-search.php:624
    136 #: wpc-ajax-search.php:634
    137 #: wpc-ajax-search.php:644
    138 #: wpc-ajax-search.php:660
     128#: wpc-ajax-search.php:454
     129#: wpc-ajax-search.php:467
     130#: wpc-ajax-search.php:479
     131#: wpc-ajax-search.php:488
     132#: wpc-ajax-search.php:498
     133#: wpc-ajax-search.php:550
     134#: wpc-ajax-search.php:629
     135#: wpc-ajax-search.php:639
     136#: wpc-ajax-search.php:649
     137#: wpc-ajax-search.php:659
     138#: wpc-ajax-search.php:675
    139139msgid "No"
    140140msgstr ""
    141141
    142 #: wpc-ajax-search.php:352
     142#: wpc-ajax-search.php:367
    143143msgid "Do the AJAX search when clicking on all search inputs."
    144144msgstr ""
    145145
    146 #: wpc-ajax-search.php:356
     146#: wpc-ajax-search.php:371
    147147msgid "Manual show up button"
    148148msgstr ""
    149149
    150 #: wpc-ajax-search.php:361
     150#: wpc-ajax-search.php:376
    151151msgid "button class or id"
    152152msgstr ""
    153153
    154154#. translators: selector
    155 #: wpc-ajax-search.php:362
     155#: wpc-ajax-search.php:377
    156156#, php-format
    157157msgid "The class or id of the button, when clicking on this button the search popup will show up. Example %1$s or %2$s"
    158158msgstr ""
    159159
    160 #: wpc-ajax-search.php:366
     160#: wpc-ajax-search.php:381
    161161msgid "Overlay layer"
    162162msgstr ""
    163163
    164 #: wpc-ajax-search.php:369
    165 #: wpc-ajax-search.php:411
     164#: wpc-ajax-search.php:384
     165#: wpc-ajax-search.php:426
    166166msgid "Show"
    167167msgstr ""
    168168
    169 #: wpc-ajax-search.php:370
    170 #: wpc-ajax-search.php:412
     169#: wpc-ajax-search.php:385
     170#: wpc-ajax-search.php:427
    171171msgid "Hide"
    172172msgstr ""
    173173
    174 #: wpc-ajax-search.php:372
     174#: wpc-ajax-search.php:387
    175175msgid "If you hide the overlay layer, the buyer still can work on your site when the search popup is opening."
    176176msgstr ""
    177177
    178 #: wpc-ajax-search.php:376
     178#: wpc-ajax-search.php:391
    179179msgid "Position"
    180180msgstr ""
    181181
    182 #: wpc-ajax-search.php:379
     182#: wpc-ajax-search.php:394
    183183msgid "Right"
    184184msgstr ""
    185185
    186 #: wpc-ajax-search.php:380
     186#: wpc-ajax-search.php:395
    187187msgid "Left"
    188188msgstr ""
    189189
    190 #: wpc-ajax-search.php:381
     190#: wpc-ajax-search.php:396
    191191msgid "Top"
    192192msgstr ""
    193193
    194 #: wpc-ajax-search.php:382
     194#: wpc-ajax-search.php:397
    195195msgid "Bottom"
    196196msgstr ""
    197197
    198 #: wpc-ajax-search.php:383
     198#: wpc-ajax-search.php:398
    199199msgid "Center"
    200200msgstr ""
    201201
    202 #: wpc-ajax-search.php:388
     202#: wpc-ajax-search.php:403
    203203msgid "Effect"
    204204msgstr ""
    205205
    206 #: wpc-ajax-search.php:391
    207 #: wpc-ajax-search.php:401
    208 #: wpc-ajax-search.php:438
    209 #: wpc-ajax-search.php:451
    210 #: wpc-ajax-search.php:463
    211 #: wpc-ajax-search.php:472
    212 #: wpc-ajax-search.php:482
    213 #: wpc-ajax-search.php:534
    214 #: wpc-ajax-search.php:613
    215 #: wpc-ajax-search.php:623
    216 #: wpc-ajax-search.php:633
    217 #: wpc-ajax-search.php:643
     206#: wpc-ajax-search.php:406
     207#: wpc-ajax-search.php:416
     208#: wpc-ajax-search.php:453
     209#: wpc-ajax-search.php:466
     210#: wpc-ajax-search.php:478
     211#: wpc-ajax-search.php:487
     212#: wpc-ajax-search.php:497
     213#: wpc-ajax-search.php:549
     214#: wpc-ajax-search.php:628
     215#: wpc-ajax-search.php:638
     216#: wpc-ajax-search.php:648
     217#: wpc-ajax-search.php:658
    218218msgid "Yes"
    219219msgstr ""
    220220
    221 #: wpc-ajax-search.php:394
     221#: wpc-ajax-search.php:409
    222222msgid "Enable/disable slide effect."
    223223msgstr ""
    224224
    225 #: wpc-ajax-search.php:398
     225#: wpc-ajax-search.php:413
    226226msgid "Use perfect-scrollbar"
    227227msgstr ""
    228228
    229229#. translators: link
    230 #: wpc-ajax-search.php:404
     230#: wpc-ajax-search.php:419
    231231#, php-format
    232232msgid "Read more about %s"
    233233msgstr ""
    234234
    235 #: wpc-ajax-search.php:408
     235#: wpc-ajax-search.php:423
    236236msgid "Close button"
    237237msgstr ""
    238238
    239 #: wpc-ajax-search.php:414
     239#: wpc-ajax-search.php:429
    240240msgid "Show/hide the close button."
    241241msgstr ""
    242242
    243 #: wpc-ajax-search.php:418
     243#: wpc-ajax-search.php:433
    244244msgid "Link to individual product"
    245245msgstr ""
    246246
    247 #: wpc-ajax-search.php:421
     247#: wpc-ajax-search.php:436
    248248msgid "Yes, open in the same tab"
    249249msgstr ""
    250250
    251 #: wpc-ajax-search.php:422
     251#: wpc-ajax-search.php:437
    252252msgid "Yes, open in the new tab"
    253253msgstr ""
    254254
    255 #: wpc-ajax-search.php:423
     255#: wpc-ajax-search.php:438
    256256msgid "Yes, open quick view popup"
    257257msgstr ""
    258258
    259 #: wpc-ajax-search.php:435
     259#: wpc-ajax-search.php:450
    260260msgid "Compare button"
    261261msgstr ""
    262262
    263 #: wpc-ajax-search.php:448
     263#: wpc-ajax-search.php:463
    264264msgid "Wishlist button"
    265265msgstr ""
    266266
    267 #: wpc-ajax-search.php:460
     267#: wpc-ajax-search.php:475
    268268msgid "Add to cart button"
    269269msgstr ""
    270270
    271 #: wpc-ajax-search.php:469
     271#: wpc-ajax-search.php:484
    272272msgid "Exclude hidden"
    273273msgstr ""
    274274
    275 #: wpc-ajax-search.php:475
     275#: wpc-ajax-search.php:490
    276276msgid "Exclude hidden products from the search result."
    277277msgstr ""
    278278
    279 #: wpc-ajax-search.php:479
     279#: wpc-ajax-search.php:494
    280280msgid "Exclude unpurchasable"
    281281msgstr ""
    282282
    283 #: wpc-ajax-search.php:485
     283#: wpc-ajax-search.php:500
    284284msgid "Exclude unpurchasable products from the search result."
    285285msgstr ""
    286286
    287 #: wpc-ajax-search.php:489
     287#: wpc-ajax-search.php:504
    288288msgid "Smart keywords"
    289289msgstr ""
    290290
    291 #: wpc-ajax-search.php:493
     291#: wpc-ajax-search.php:508
    292292msgid "Configure smart keywords with many conditions."
    293293msgstr ""
    294294
    295 #: wpc-ajax-search.php:497
     295#: wpc-ajax-search.php:512
    296296msgid "Special keywords"
    297297msgstr ""
    298298
    299 #: wpc-ajax-search.php:502
     299#: wpc-ajax-search.php:517
    300300msgid "Keyword for on-sale products."
    301301msgstr ""
    302302
    303 #: wpc-ajax-search.php:507
     303#: wpc-ajax-search.php:522
    304304msgid "Keyword for recent products."
    305305msgstr ""
    306306
    307 #: wpc-ajax-search.php:512
     307#: wpc-ajax-search.php:527
    308308msgid "Keyword for featured products."
    309309msgstr ""
    310310
    311 #: wpc-ajax-search.php:517
     311#: wpc-ajax-search.php:532
    312312msgid "Keyword for popular products."
    313313msgstr ""
    314314
    315 #: wpc-ajax-search.php:522
     315#: wpc-ajax-search.php:537
    316316msgid "Popular keywords"
    317317msgstr ""
    318318
    319 #: wpc-ajax-search.php:526
     319#: wpc-ajax-search.php:541
    320320msgid "Add popular keywords, split by a comma. It will be shown on the search popup. You also can use above special keywords."
    321321msgstr ""
    322322
    323 #: wpc-ajax-search.php:530
     323#: wpc-ajax-search.php:545
    324324msgid "Animated placeholder"
    325325msgstr ""
    326326
    327 #: wpc-ajax-search.php:537
     327#: wpc-ajax-search.php:552
    328328msgid "Enable animated placeholder texts."
    329329msgstr ""
    330330
    331 #: wpc-ajax-search.php:541
     331#: wpc-ajax-search.php:556
    332332msgid "Animated placeholder texts"
    333333msgstr ""
    334334
    335 #: wpc-ajax-search.php:545
     335#: wpc-ajax-search.php:560
    336336msgid "Add animated placeholder texts, each text in one line."
    337337msgstr ""
    338338
    339 #: wpc-ajax-search.php:549
     339#: wpc-ajax-search.php:564
    340340msgid "Clicking on placeholder texts"
    341341msgstr ""
    342342
    343 #: wpc-ajax-search.php:552
     343#: wpc-ajax-search.php:567
    344344msgid "Start with empty search box"
    345345msgstr ""
    346346
    347 #: wpc-ajax-search.php:553
     347#: wpc-ajax-search.php:568
    348348msgid "Keep the placeholder texts"
    349349msgstr ""
    350350
    351 #: wpc-ajax-search.php:558
     351#: wpc-ajax-search.php:573
    352352msgid "Menu(s)"
    353353msgstr ""
    354354
    355 #: wpc-ajax-search.php:572
     355#: wpc-ajax-search.php:587
    356356msgid "Choose the menu(s) you want to add the \"search menu\" at the end."
    357357msgstr ""
    358358
    359 #: wpc-ajax-search.php:577
    360 #: wpc-ajax-search.php:712
    361 #: wpc-ajax-search.php:721
    362 #: wpc-ajax-search.php:1231
    363 #: wpc-ajax-search.php:1246
    364 #: wpc-ajax-search.php:1349
     359#: wpc-ajax-search.php:592
     360#: wpc-ajax-search.php:736
     361#: wpc-ajax-search.php:745
     362#: wpc-ajax-search.php:1265
     363#: wpc-ajax-search.php:1280
     364#: wpc-ajax-search.php:1383
    365365msgid "Search"
    366366msgstr ""
    367367
    368 #: wpc-ajax-search.php:581
     368#: wpc-ajax-search.php:596
    369369msgid "Post types"
    370370msgstr ""
    371371
    372 #: wpc-ajax-search.php:598
     372#: wpc-ajax-search.php:613
    373373msgid "Choose the post type(s) for searching."
    374374msgstr ""
    375375
    376 #: wpc-ajax-search.php:602
     376#: wpc-ajax-search.php:617
    377377msgid "Search limit"
    378378msgstr ""
    379379
    380 #: wpc-ajax-search.php:610
     380#: wpc-ajax-search.php:625
    381381msgid "Search by category"
    382382msgstr ""
    383383
    384 #: wpc-ajax-search.php:616
    385 #: wpc-ajax-search.php:626
    386 #: wpc-ajax-search.php:636
     384#: wpc-ajax-search.php:631
     385#: wpc-ajax-search.php:641
     386#: wpc-ajax-search.php:651
    387387msgid "For products only."
    388388msgstr ""
    389389
    390 #: wpc-ajax-search.php:620
     390#: wpc-ajax-search.php:635
    391391msgid "Search by SKU"
    392392msgstr ""
    393393
    394 #: wpc-ajax-search.php:630
     394#: wpc-ajax-search.php:645
    395395msgid "Search by tag"
    396396msgstr ""
    397397
    398 #: wpc-ajax-search.php:640
     398#: wpc-ajax-search.php:655
     399#: wpc-ajax-search.php:787
     400msgid "More results"
     401msgstr ""
     402
     403#: wpc-ajax-search.php:661
     404msgid "Show \"more results\" and link it to the search page when having more results than the limitation. For products only."
     405msgstr ""
     406
     407#: wpc-ajax-search.php:666
     408msgid "Cache"
     409msgstr ""
     410
     411#: wpc-ajax-search.php:670
     412msgid "Cache method"
     413msgstr ""
     414
     415#: wpc-ajax-search.php:673
     416msgid "File"
     417msgstr ""
     418
     419#: wpc-ajax-search.php:674
     420msgid "Database"
     421msgstr ""
     422
     423#: wpc-ajax-search.php:680
     424msgid "Cache time (hrs)"
     425msgstr ""
     426
     427#: wpc-ajax-search.php:695
     428msgid "Cleared!"
     429msgstr ""
     430
     431#: wpc-ajax-search.php:698
     432msgid "Clear cache"
     433msgstr ""
     434
     435#: wpc-ajax-search.php:717
     436#: wpc-ajax-search.php:802
     437#: wpc-ajax-search.php:885
     438msgid "import / export"
     439msgstr ""
     440
     441#: wpc-ajax-search.php:728
     442msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
     443msgstr ""
     444
     445#: wpc-ajax-search.php:732
     446msgid "Menu label"
     447msgstr ""
     448
     449#: wpc-ajax-search.php:740
     450msgid "Heading"
     451msgstr ""
     452
     453#: wpc-ajax-search.php:749
     454msgid "Placeholder"
     455msgstr ""
     456
     457#: wpc-ajax-search.php:754
     458#: wpc-ajax-search.php:1300
     459msgid "Search products…"
     460msgstr ""
     461
     462#: wpc-ajax-search.php:758
    399463#: wpc-ajax-search.php:763
    400 msgid "More results"
    401 msgstr ""
    402 
    403 #: wpc-ajax-search.php:646
    404 msgid "Show \"more results\" and link it to the search page when having more results than the limitation. For products only."
    405 msgstr ""
    406 
    407 #: wpc-ajax-search.php:651
    408 msgid "Cache"
    409 msgstr ""
    410 
    411 #: wpc-ajax-search.php:655
    412 msgid "Cache method"
    413 msgstr ""
    414 
    415 #: wpc-ajax-search.php:658
    416 msgid "File"
    417 msgstr ""
    418 
    419 #: wpc-ajax-search.php:659
    420 msgid "Database"
    421 msgstr ""
    422 
    423 #: wpc-ajax-search.php:665
    424 msgid "Cache time (hrs)"
    425 msgstr ""
    426 
    427 #: wpc-ajax-search.php:680
    428 msgid "Cleared!"
    429 msgstr ""
    430 
    431 #: wpc-ajax-search.php:683
    432 msgid "Clear cache"
    433 msgstr ""
    434 
    435 #: wpc-ajax-search.php:693
    436 #: wpc-ajax-search.php:778
    437 #: wpc-ajax-search.php:851
    438 msgid "import / export"
    439 msgstr ""
    440 
    441 #: wpc-ajax-search.php:704
    442 msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
    443 msgstr ""
    444 
    445 #: wpc-ajax-search.php:708
    446 msgid "Menu label"
    447 msgstr ""
    448 
    449 #: wpc-ajax-search.php:716
    450 msgid "Heading"
    451 msgstr ""
    452 
    453 #: wpc-ajax-search.php:725
    454 msgid "Placeholder"
    455 msgstr ""
    456 
    457 #: wpc-ajax-search.php:730
    458 #: wpc-ajax-search.php:1266
    459 msgid "Search products…"
    460 msgstr ""
    461 
    462 #: wpc-ajax-search.php:734
    463 #: wpc-ajax-search.php:739
    464 #: wpc-ajax-search.php:1287
     464#: wpc-ajax-search.php:1321
    465465msgid "Popular keywords:"
    466466msgstr ""
    467467
    468 #: wpc-ajax-search.php:743
     468#: wpc-ajax-search.php:767
    469469msgid "No results"
    470470msgstr ""
    471471
    472472#. translators: keyword
    473 #: wpc-ajax-search.php:749
    474 #: wpc-ajax-search.php:1019
     473#: wpc-ajax-search.php:773
     474#: wpc-ajax-search.php:1053
    475475#, php-format
    476476msgid "No results found for \"%s\"."
    477477msgstr ""
    478478
    479 #: wpc-ajax-search.php:753
     479#: wpc-ajax-search.php:777
    480480msgid "No results in category"
    481481msgstr ""
    482482
    483483#. translators: keyword and category
    484 #: wpc-ajax-search.php:759
    485 #: wpc-ajax-search.php:1017
     484#: wpc-ajax-search.php:783
     485#: wpc-ajax-search.php:1051
    486486#, php-format
    487487msgid "No results found for \"%1$s\" in \"%2$s\"."
     
    489489
    490490#. translators: count
    491 #: wpc-ajax-search.php:769
    492 #: wpc-ajax-search.php:1161
     491#: wpc-ajax-search.php:793
     492#: wpc-ajax-search.php:1195
    493493#, php-format
    494494msgid "More results (%d)"
    495495msgstr ""
    496496
    497 #: wpc-ajax-search.php:794
     497#: wpc-ajax-search.php:818
    498498msgid "This plugin will check the conditions from the top down the list to find if the input keyword matches any condition. When one condition is satisfied, the smart search’ checking process will stop and show the defined products as search results. The checking process won’t stop until a satisfied condition is found in the list. If no conditions are met by the input keyword(s), normal search results will be shown instead."
    499499msgstr ""
    500500
    501 #: wpc-ajax-search.php:798
     501#: wpc-ajax-search.php:822
    502502msgid "Build-in Shortcodes"
    503503msgstr ""
    504504
    505 #: wpc-ajax-search.php:835
     505#: wpc-ajax-search.php:859
    506506msgid "+ Add rule"
    507507msgstr ""
    508508
    509 #: wpc-ajax-search.php:837
     509#: wpc-ajax-search.php:861
    510510msgid "Expand All"
    511511msgstr ""
    512512
    513 #: wpc-ajax-search.php:839
     513#: wpc-ajax-search.php:863
    514514msgid "Collapse All"
    515515msgstr ""
    516516
    517 #: wpc-ajax-search.php:1274
     517#: wpc-ajax-search.php:1308
    518518msgid "All categories"
    519519msgstr ""
    520520
    521 #: wpc-ajax-search.php:1388
     521#: wpc-ajax-search.php:1422
    522522msgid "remove"
    523523msgstr ""
    524524
    525 #: wpc-ajax-search.php:1393
    526 #: wpc-ajax-search.php:1560
     525#: wpc-ajax-search.php:1427
     526#: wpc-ajax-search.php:1594
    527527msgid "Name"
    528528msgstr ""
    529529
    530 #: wpc-ajax-search.php:1399
     530#: wpc-ajax-search.php:1433
    531531msgid "For management only."
    532532msgstr ""
    533533
    534 #: wpc-ajax-search.php:1413
     534#: wpc-ajax-search.php:1447
    535535msgid "Keyword conditions"
    536536msgstr ""
    537537
    538 #: wpc-ajax-search.php:1414
     538#: wpc-ajax-search.php:1448
    539539msgid "Describe the applicable keywords."
    540540msgstr ""
    541541
    542 #: wpc-ajax-search.php:1432
     542#: wpc-ajax-search.php:1466
     543#: wpc-ajax-search.php:1646
     544msgid "+ Add condition"
     545msgstr ""
     546
     547#: wpc-ajax-search.php:1489
     548msgid "Input characters are more than"
     549msgstr ""
     550
     551#: wpc-ajax-search.php:1490
     552msgid "Input characters are fewer than"
     553msgstr ""
     554
     555#: wpc-ajax-search.php:1491
     556msgid "Input words are more than"
     557msgstr ""
     558
     559#: wpc-ajax-search.php:1492
     560msgid "Input words are fewer than"
     561msgstr ""
     562
     563#: wpc-ajax-search.php:1493
     564msgid "Include either keyword"
     565msgstr ""
     566
     567#: wpc-ajax-search.php:1494
     568msgid "Include all keyword(s)"
     569msgstr ""
     570
     571#: wpc-ajax-search.php:1495
     572msgid "Exclude keyword(s)"
     573msgstr ""
     574
     575#: wpc-ajax-search.php:1496
     576msgid "Match regular expression (RegEx)"
     577msgstr ""
     578
     579#: wpc-ajax-search.php:1534
     580msgid "Returned results"
     581msgstr ""
     582
     583#: wpc-ajax-search.php:1535
     584msgid "Define products or message shown in the search results for above keyword(s)."
     585msgstr ""
     586
     587#: wpc-ajax-search.php:1538
     588msgid "Output types"
     589msgstr ""
     590
     591#: wpc-ajax-search.php:1542
    543592#: wpc-ajax-search.php:1612
    544 msgid "+ Add condition"
    545 msgstr ""
    546 
    547 #: wpc-ajax-search.php:1455
    548 msgid "Input characters are more than"
    549 msgstr ""
    550 
    551 #: wpc-ajax-search.php:1456
    552 msgid "Input characters are fewer than"
    553 msgstr ""
    554 
    555 #: wpc-ajax-search.php:1457
    556 msgid "Input words are more than"
    557 msgstr ""
    558 
    559 #: wpc-ajax-search.php:1458
    560 msgid "Input words are fewer than"
    561 msgstr ""
    562 
    563 #: wpc-ajax-search.php:1459
    564 msgid "Include either keyword"
    565 msgstr ""
    566 
    567 #: wpc-ajax-search.php:1460
    568 msgid "Include all keyword(s)"
    569 msgstr ""
    570 
    571 #: wpc-ajax-search.php:1461
    572 msgid "Exclude keyword(s)"
    573 msgstr ""
    574 
    575 #: wpc-ajax-search.php:1462
    576 msgid "Match regular expression (RegEx)"
    577 msgstr ""
    578 
    579 #: wpc-ajax-search.php:1500
    580 msgid "Returned results"
    581 msgstr ""
    582 
    583 #: wpc-ajax-search.php:1501
    584 msgid "Define products or message shown in the search results for above keyword(s)."
    585 msgstr ""
    586 
    587 #: wpc-ajax-search.php:1504
    588 msgid "Output types"
    589 msgstr ""
    590 
    591 #: wpc-ajax-search.php:1508
    592 #: wpc-ajax-search.php:1578
    593593msgid "Products"
    594594msgstr ""
    595595
    596 #: wpc-ajax-search.php:1509
     596#: wpc-ajax-search.php:1543
    597597msgid "Custom message"
    598598msgstr ""
    599599
    600 #: wpc-ajax-search.php:1515
     600#: wpc-ajax-search.php:1549
    601601msgid "Message"
    602602msgstr ""
    603603
    604 #: wpc-ajax-search.php:1528
     604#: wpc-ajax-search.php:1562
    605605msgid "You can use shortcode(s) in this custom message."
    606606msgstr ""
    607607
    608 #: wpc-ajax-search.php:1535
     608#: wpc-ajax-search.php:1569
    609609msgid "Source"
    610610msgstr ""
    611611
    612 #: wpc-ajax-search.php:1539
     612#: wpc-ajax-search.php:1573
    613613msgid "All products"
    614614msgstr ""
    615615
    616 #: wpc-ajax-search.php:1540
     616#: wpc-ajax-search.php:1574
    617617msgid "Selected products"
    618618msgstr ""
    619619
    620 #: wpc-ajax-search.php:1541
     620#: wpc-ajax-search.php:1575
     621#: wpc-ajax-search.php:1632
     622msgid "Combined"
     623msgstr ""
     624
     625#: wpc-ajax-search.php:1584
     626msgid "Limit"
     627msgstr ""
     628
     629#: wpc-ajax-search.php:1589
     630msgid "Order by"
     631msgstr ""
     632
     633#: wpc-ajax-search.php:1591
     634#: wpc-ajax-search.php:1604
     635msgid "Default"
     636msgstr ""
     637
     638#: wpc-ajax-search.php:1592
     639msgid "None"
     640msgstr ""
     641
     642#: wpc-ajax-search.php:1593
     643msgid "ID"
     644msgstr ""
     645
     646#: wpc-ajax-search.php:1595
     647msgid "Type"
     648msgstr ""
     649
     650#: wpc-ajax-search.php:1596
     651msgid "Rand"
     652msgstr ""
     653
     654#: wpc-ajax-search.php:1597
     655msgid "Date"
     656msgstr ""
     657
    621658#: wpc-ajax-search.php:1598
    622 msgid "Combined"
    623 msgstr ""
    624 
    625 #: wpc-ajax-search.php:1550
    626 msgid "Limit"
    627 msgstr ""
    628 
    629 #: wpc-ajax-search.php:1555
    630 msgid "Order by"
    631 msgstr ""
    632 
    633 #: wpc-ajax-search.php:1557
    634 #: wpc-ajax-search.php:1570
    635 msgid "Default"
    636 msgstr ""
    637 
    638 #: wpc-ajax-search.php:1558
    639 msgid "None"
    640 msgstr ""
    641 
    642 #: wpc-ajax-search.php:1559
    643 msgid "ID"
    644 msgstr ""
    645 
    646 #: wpc-ajax-search.php:1561
    647 msgid "Type"
    648 msgstr ""
    649 
    650 #: wpc-ajax-search.php:1562
    651 msgid "Rand"
    652 msgstr ""
    653 
    654 #: wpc-ajax-search.php:1563
    655 msgid "Date"
    656 msgstr ""
    657 
    658 #: wpc-ajax-search.php:1564
    659 #: wpc-ajax-search.php:1656
     659#: wpc-ajax-search.php:1690
    660660msgid "Price"
    661661msgstr ""
    662662
    663 #: wpc-ajax-search.php:1565
     663#: wpc-ajax-search.php:1599
    664664msgid "Modified"
    665665msgstr ""
    666666
    667 #: wpc-ajax-search.php:1568
     667#: wpc-ajax-search.php:1602
    668668msgid "Order"
    669669msgstr ""
    670670
    671 #: wpc-ajax-search.php:1571
     671#: wpc-ajax-search.php:1605
    672672msgid "DESC"
    673673msgstr ""
    674674
    675 #: wpc-ajax-search.php:1572
     675#: wpc-ajax-search.php:1606
    676676msgid "ASC"
    677677msgstr ""
    678678
    679 #: wpc-ajax-search.php:1583
     679#: wpc-ajax-search.php:1617
    680680msgid "Search for a product&hellip;"
    681681msgstr ""
    682682
    683 #: wpc-ajax-search.php:1601
     683#: wpc-ajax-search.php:1635
    684684msgid "* Configure to find products that match all listed conditions."
    685685msgstr ""
    686686
    687 #: wpc-ajax-search.php:1617
     687#: wpc-ajax-search.php:1651
    688688msgid "Terms"
    689689msgstr ""
    690690
    691 #: wpc-ajax-search.php:1666
     691#: wpc-ajax-search.php:1700
    692692msgid "including"
    693693msgstr ""
    694694
    695 #: wpc-ajax-search.php:1667
     695#: wpc-ajax-search.php:1701
    696696msgid "excluding"
    697697msgstr ""
    698698
    699 #: wpc-ajax-search.php:1684
     699#: wpc-ajax-search.php:1718
    700700msgid "equal"
    701701msgstr ""
    702702
    703 #: wpc-ajax-search.php:1685
     703#: wpc-ajax-search.php:1719
    704704msgid "not equal"
    705705msgstr ""
    706706
    707 #: wpc-ajax-search.php:1686
     707#: wpc-ajax-search.php:1720
    708708msgid "greater"
    709709msgstr ""
    710710
    711 #: wpc-ajax-search.php:1687
     711#: wpc-ajax-search.php:1721
    712712msgid "less than"
    713713msgstr ""
    714714
    715 #: wpc-ajax-search.php:1688
     715#: wpc-ajax-search.php:1722
    716716msgid "greater or equal"
    717717msgstr ""
    718718
    719 #: wpc-ajax-search.php:1689
     719#: wpc-ajax-search.php:1723
    720720msgid "less or equal"
    721721msgstr ""
    722722
    723 #: wpc-ajax-search.php:1825
     723#: wpc-ajax-search.php:1859
    724724msgid "Placeholder result"
    725725msgstr ""
    726726
    727 #: wpc-ajax-search.php:1826
     727#: wpc-ajax-search.php:1860
    728728msgid "Before returned message"
    729729msgstr ""
    730730
    731 #: wpc-ajax-search.php:1827
     731#: wpc-ajax-search.php:1861
    732732msgid "After returned message"
    733733msgstr ""
    734734
    735 #: wpc-ajax-search.php:1828
     735#: wpc-ajax-search.php:1862
    736736msgid "Before returned products"
    737737msgstr ""
    738738
    739 #: wpc-ajax-search.php:1829
     739#: wpc-ajax-search.php:1863
    740740msgid "After returned products"
    741741msgstr ""
    742742
    743 #: wpc-ajax-search.php:1830
     743#: wpc-ajax-search.php:1864
    744744msgid "Before not-found message"
    745745msgstr ""
    746746
    747 #: wpc-ajax-search.php:1831
     747#: wpc-ajax-search.php:1865
    748748msgid "After not-found message"
    749749msgstr ""
    750750
    751 #: wpc-ajax-search.php:1832
     751#: wpc-ajax-search.php:1866
    752752msgid "Before search result"
    753753msgstr ""
    754754
    755 #: wpc-ajax-search.php:1833
     755#: wpc-ajax-search.php:1867
    756756msgid "After search result"
    757757msgstr ""
  • wpc-ajax-search/trunk/readme.txt

    r3425996 r3482971  
    44Tags: woocommerce, wpc, ajax, search
    55Tested up to: 6.9
    6 Version: 2.5.0
    7 Stable tag: 2.5.0
     6Version: 2.5.1
     7Stable tag: 2.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6464== Changelog ==
    6565
     66= 2.5.1 =
     67* Fixed: Minor CSS/JS issues in the backend
     68* Updated: Compatible with WP 6.9 & Woo 10.6
     69
    6670= 2.5.0 =
    6771* Updated: Optimized the code
  • wpc-ajax-search/trunk/wpc-ajax-search.php

    r3425996 r3482971  
    44Plugin URI: https://wpclever.net/
    55Description: An interaction search popup for WooCommerce.
    6 Version: 2.5.0
     6Version: 2.5.1
    77Author: WPClever
    88Author URI: https://wpclever.net
     
    1313Tested up to: 6.9
    1414WC requires at least: 3.0
    15 WC tested up to: 10.4
     15WC tested up to: 10.6
    1616License: GPLv2 or later
    1717License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020defined( 'ABSPATH' ) || exit;
    2121
    22 ! defined( 'WPCAS_VERSION' ) && define( 'WPCAS_VERSION', '2.5.0' );
     22! defined( 'WPCAS_VERSION' ) && define( 'WPCAS_VERSION', '2.5.1' );
    2323! defined( 'WPCAS_LITE' ) && define( 'WPCAS_LITE', __FILE__ );
    2424! defined( 'WPCAS_FILE' ) && define( 'WPCAS_FILE', __FILE__ );
     
    3131! defined( 'WPC_URI' ) && define( 'WPC_URI', WPCAS_URI );
    3232
     33include 'includes/log/wpc-log.php';
    3334include 'includes/dashboard/wpc-dashboard.php';
    3435include 'includes/kit/wpc-kit.php';
     
    7475                    add_action( 'admin_enqueue_scripts', [ $this, 'admin_enqueue_scripts' ] );
    7576                    add_action( 'admin_init', [ $this, 'register_settings' ] );
     77                    add_filter( 'pre_update_option', [ $this, 'last_saved' ], 10, 2 );
    7678                    add_action( 'admin_menu', [ $this, 'admin_menu' ] );
    7779                    add_filter( 'plugin_action_links', [ $this, 'action_links' ], 10, 2 );
     
    246248                    ] );
    247249                    // rules
     250                    register_setting( 'wpcas_rules', 'wpcas_rules_settings', [
     251                            'type'              => 'array',
     252                            'sanitize_callback' => [ $this, 'sanitize_array' ],
     253                    ] );
    248254                    register_setting( 'wpcas_rules', 'wpcas_rules', [
    249255                            'type'              => 'array',
    250256                            'sanitize_callback' => [ $this, 'sanitize_array' ],
    251257                    ] );
     258                }
     259
     260                function last_saved( $value, $option ) {
     261                    if ( $option == 'wpcas_settings' || $option == 'wpcas_rules_settings' ) {
     262                        $value['_last_saved']    = current_time( 'timestamp' );
     263                        $value['_last_saved_by'] = get_current_user_id();
     264                    }
     265
     266                    return $value;
    252267                }
    253268
     
    687702                                        <tr class="submit">
    688703                                            <th colspan="2">
    689                                                 <?php settings_fields( 'wpcas_settings' ); ?><?php submit_button(); ?>
     704                                                <div class="wpclever_submit">
     705                                                    <?php
     706                                                    settings_fields( 'wpcas_settings' );
     707                                                    submit_button( '', 'primary', 'submit', false );
     708
     709                                                    if ( function_exists( 'wpc_last_saved' ) ) {
     710                                                        wpc_last_saved( self::get_settings() );
     711                                                    }
     712                                                    ?>
     713                                                </div>
    690714                                                <a style="display: none;" class="wpclever_export"
    691715                                                   data-key="wpcas_settings"
     
    845869                                        <tr class="submit">
    846870                                            <th colspan="2">
    847                                                 <?php settings_fields( 'wpcas_rules' ); ?><?php submit_button(); ?>
     871                                                <div class="wpclever_submit">
     872                                                    <?php
     873                                                    echo '<input type="hidden" name="wpcas_rules_settings[version]" value="' . esc_attr( WPCAS_VERSION ) . '"/>';
     874                                                    settings_fields( 'wpcas_rules' );
     875                                                    submit_button( '', 'primary', 'submit', false );
     876
     877                                                    if ( function_exists( 'wpc_last_saved' ) ) {
     878                                                        wpc_last_saved( get_option( 'wpcas_rules_settings', [] ) );
     879                                                    }
     880                                                    ?>
     881                                                </div>
    848882                                                <a style="display: none;" class="wpclever_export"
    849883                                                   data-key="wpcas_rules"
Note: See TracChangeset for help on using the changeset viewer.