Changeset 3483852
- Timestamp:
- 03/16/2026 12:31:03 PM (12 days ago)
- Location:
- wpc-variation-swatches
- Files:
-
- 47 added
- 7 edited
-
tags/4.3.5 (added)
-
tags/4.3.5/assets (added)
-
tags/4.3.5/assets/css (added)
-
tags/4.3.5/assets/css/backend.css (added)
-
tags/4.3.5/assets/css/frontend.css (added)
-
tags/4.3.5/assets/css/frontend.css.map (added)
-
tags/4.3.5/assets/css/frontend.scss (added)
-
tags/4.3.5/assets/js (added)
-
tags/4.3.5/assets/js/backend.js (added)
-
tags/4.3.5/assets/js/frontend.js (added)
-
tags/4.3.5/assets/libs (added)
-
tags/4.3.5/assets/libs/hint (added)
-
tags/4.3.5/assets/libs/hint/hint.css (added)
-
tags/4.3.5/assets/libs/tippy (added)
-
tags/4.3.5/assets/libs/tippy/popper.min.js (added)
-
tags/4.3.5/assets/libs/tippy/popper.min.js.map (added)
-
tags/4.3.5/assets/libs/tippy/tippy-bundle.umd.min.js (added)
-
tags/4.3.5/assets/libs/tippy/tippy-bundle.umd.min.js.map (added)
-
tags/4.3.5/includes (added)
-
tags/4.3.5/includes/dashboard (added)
-
tags/4.3.5/includes/dashboard/css (added)
-
tags/4.3.5/includes/dashboard/css/dashboard.css (added)
-
tags/4.3.5/includes/dashboard/css/dashboard.css.map (added)
-
tags/4.3.5/includes/dashboard/css/dashboard.scss (added)
-
tags/4.3.5/includes/dashboard/images (added)
-
tags/4.3.5/includes/dashboard/images/wpc-icon.svg (added)
-
tags/4.3.5/includes/dashboard/js (added)
-
tags/4.3.5/includes/dashboard/js/backend.js (added)
-
tags/4.3.5/includes/dashboard/wpc-dashboard.php (added)
-
tags/4.3.5/includes/hpos.php (added)
-
tags/4.3.5/includes/kit (added)
-
tags/4.3.5/includes/kit/css (added)
-
tags/4.3.5/includes/kit/css/backend.css (added)
-
tags/4.3.5/includes/kit/js (added)
-
tags/4.3.5/includes/kit/js/backend.js (added)
-
tags/4.3.5/includes/kit/wpc-kit.php (added)
-
tags/4.3.5/includes/log (added)
-
tags/4.3.5/includes/log/wpc-log.php (added)
-
tags/4.3.5/index.php (added)
-
tags/4.3.5/languages (added)
-
tags/4.3.5/languages/wpc-variation-swatches.pot (added)
-
tags/4.3.5/readme.txt (added)
-
tags/4.3.5/templates (added)
-
tags/4.3.5/templates/variable.php (added)
-
tags/4.3.5/wpc-variation-swatches.php (added)
-
trunk/includes/dashboard/css/dashboard.css (modified) (3 diffs)
-
trunk/includes/dashboard/css/dashboard.css.map (modified) (1 diff)
-
trunk/includes/dashboard/css/dashboard.scss (modified) (3 diffs)
-
trunk/includes/dashboard/wpc-dashboard.php (modified) (3 diffs)
-
trunk/includes/log (added)
-
trunk/includes/log/wpc-log.php (added)
-
trunk/languages/wpc-variation-swatches.pot (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wpc-variation-swatches.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpc-variation-swatches/trunk/includes/dashboard/css/dashboard.css
r3415981 r3483852 287 287 } 288 288 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 289 311 .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export { 290 312 position: absolute; … … 293 315 transform: translateY(-50%); 294 316 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; 295 330 } 296 331 … … 462 497 border-left: none; 463 498 border-right: 4px solid #23282d; 499 } 500 501 body.rtl .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export { 502 left: 20px; 503 right: auto; 464 504 } 465 505 -
wpc-variation-swatches/trunk/includes/dashboard/css/dashboard.css.map
r3415981 r3483852 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-variation-swatches/trunk/includes/dashboard/css/dashboard.scss
r3415981 r3483852 299 299 } 300 300 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 301 323 .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export { 302 324 position: absolute; … … 305 327 transform: translateY(-50%); 306 328 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; 307 348 } 308 349 … … 478 519 border-left: none; 479 520 border-right: 4px solid #23282d; 521 } 522 523 body.rtl .wpclever_settings_page .wpclever_settings_page_content table tr.submit .wpclever_export { 524 left: 20px; 525 right: auto; 480 526 } 481 527 -
wpc-variation-swatches/trunk/includes/dashboard/wpc-dashboard.php
r3415981 r3483852 1 1 <?php 2 2 defined( 'ABSPATH' ) || exit; 3 4 if ( ! class_exists( 'WPCleverMenu' ) ) {5 class WPCleverMenu {6 function __construct() {7 // do nothing, moved to WPCleverDashboard8 }9 }10 11 new WPCleverMenu();12 }13 3 14 4 if ( ! class_exists( 'WPCleverDashboard' ) ) { … … 232 222 233 223 if ( ! empty( $key ) && ( $settings = get_option( $key ) ) ) { 224 unset( $settings['_last_saved'] ); 225 unset( $settings['_last_saved_by'] ); 226 234 227 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>'; 235 228 echo '<div style="display: flex; align-items: center"><button class="button button-primary wpclever_import" data-key="' . esc_attr( $key ) . '">Update</button>'; … … 265 258 new WPCleverDashboard(); 266 259 } 260 261 if ( ! 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-variation-swatches/trunk/languages/wpc-variation-swatches.pot
r3415981 r3483852 1 # Copyright (C) 202 5WPClever1 # Copyright (C) 2026 WPClever 2 2 # This file is distributed under the GPLv2 or later. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WPC Variation Swatches for WooCommerce 4.3. 4\n"5 "Project-Id-Version: WPC Variation Swatches for WooCommerce 4.3.5\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpc-variation-swatches\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 5-12-10T04:49:00+00:00\n"12 "POT-Creation-Date: 2026-03-16T12:29:28+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 40 40 msgstr "" 41 41 42 #: wpc-variation-swatches.php:22 443 #: wpc-variation-swatches.php:3 8244 #: wpc-variation-swatches.php: 39642 #: wpc-variation-swatches.php:226 43 #: wpc-variation-swatches.php:393 44 #: wpc-variation-swatches.php:407 45 45 msgid "WPC Variation Swatches" 46 46 msgstr "" 47 47 48 #: wpc-variation-swatches.php:2 2948 #: wpc-variation-swatches.php:231 49 49 msgid "Custom name" 50 50 msgstr "" 51 51 52 #: wpc-variation-swatches.php:3 4853 #: wpc-variation-swatches.php:7 7654 #: wpc-variation-swatches.php: 78252 #: wpc-variation-swatches.php:350 53 #: wpc-variation-swatches.php:796 54 #: wpc-variation-swatches.php:802 55 55 msgid "Add to cart" 56 56 msgstr "" 57 57 58 #: wpc-variation-swatches.php:3 4959 #: wpc-variation-swatches.php: 78760 #: wpc-variation-swatches.php: 79358 #: wpc-variation-swatches.php:351 59 #: wpc-variation-swatches.php:807 60 #: wpc-variation-swatches.php:813 61 61 msgid "Select options" 62 62 msgstr "" 63 63 64 #: wpc-variation-swatches.php:35 065 #: wpc-variation-swatches.php: 79866 #: wpc-variation-swatches.php:8 0464 #: wpc-variation-swatches.php:352 65 #: wpc-variation-swatches.php:818 66 #: wpc-variation-swatches.php:824 67 67 msgid "View cart" 68 68 msgstr "" 69 69 70 #: wpc-variation-swatches.php:3 8270 #: wpc-variation-swatches.php:393 71 71 msgid "Variation Swatches" 72 72 msgstr "" 73 73 74 74 #. translators: stars 75 #: wpc-variation-swatches.php: 39975 #: wpc-variation-swatches.php:410 76 76 #, php-format 77 77 msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating." 78 78 msgstr "" 79 79 80 #: wpc-variation-swatches.php:4 0280 #: wpc-variation-swatches.php:413 81 81 msgid "Reviews" 82 82 msgstr "" 83 83 84 #: wpc-variation-swatches.php:4 0584 #: wpc-variation-swatches.php:416 85 85 msgid "Changelog" 86 86 msgstr "" 87 87 88 #: wpc-variation-swatches.php:4 0888 #: wpc-variation-swatches.php:419 89 89 msgid "Discussion" 90 90 msgstr "" 91 91 92 #: wpc-variation-swatches.php:4 1692 #: wpc-variation-swatches.php:427 93 93 msgid "Settings updated." 94 94 msgstr "" 95 95 96 #: wpc-variation-swatches.php:4 2397 #: wpc-variation-swatches.php: 87796 #: wpc-variation-swatches.php:434 97 #: wpc-variation-swatches.php:906 98 98 msgid "Settings" 99 99 msgstr "" 100 100 101 #: wpc-variation-swatches.php:4 27101 #: wpc-variation-swatches.php:438 102 102 msgid "Localization" 103 103 msgstr "" 104 104 105 #: wpc-variation-swatches.php:4 31105 #: wpc-variation-swatches.php:442 106 106 msgid "Essential Kit" 107 107 msgstr "" 108 108 109 #: wpc-variation-swatches.php:4 57110 #: wpc-variation-swatches.php:7 70109 #: wpc-variation-swatches.php:468 110 #: wpc-variation-swatches.php:790 111 111 msgid "General" 112 112 msgstr "" 113 113 114 #: wpc-variation-swatches.php:4 61114 #: wpc-variation-swatches.php:472 115 115 msgid "Button swatch by default" 116 116 msgstr "" 117 117 118 #: wpc-variation-swatches.php:464119 118 #: wpc-variation-swatches.php:475 120 #: wpc-variation-swatches.php:521 121 #: wpc-variation-swatches.php:531 122 #: wpc-variation-swatches.php:541 123 #: wpc-variation-swatches.php:566 124 #: wpc-variation-swatches.php:638 125 #: wpc-variation-swatches.php:672 126 #: wpc-variation-swatches.php:936 127 msgid "Yes" 128 msgstr "" 129 130 #: wpc-variation-swatches.php:465 131 #: wpc-variation-swatches.php:476 132 #: wpc-variation-swatches.php:522 119 #: wpc-variation-swatches.php:486 133 120 #: wpc-variation-swatches.php:532 134 121 #: wpc-variation-swatches.php:542 122 #: wpc-variation-swatches.php:552 123 #: wpc-variation-swatches.php:577 124 #: wpc-variation-swatches.php:649 125 #: wpc-variation-swatches.php:683 126 #: wpc-variation-swatches.php:965 127 msgid "Yes" 128 msgstr "" 129 130 #: wpc-variation-swatches.php:476 131 #: wpc-variation-swatches.php:487 132 #: wpc-variation-swatches.php:533 133 #: wpc-variation-swatches.php:543 134 #: wpc-variation-swatches.php:553 135 #: wpc-variation-swatches.php:578 136 #: wpc-variation-swatches.php:650 137 #: wpc-variation-swatches.php:684 138 #: wpc-variation-swatches.php:964 139 msgid "No" 140 msgstr "" 141 142 #: wpc-variation-swatches.php:478 143 msgid "Turn the default type to button type." 144 msgstr "" 145 146 #: wpc-variation-swatches.php:483 147 msgid "Enable second click to undo?" 148 msgstr "" 149 150 #: wpc-variation-swatches.php:489 151 msgid "Enable/disable click again to undo the selection on current attribute." 152 msgstr "" 153 154 #: wpc-variation-swatches.php:494 155 msgid "Tooltip library" 156 msgstr "" 157 158 #: wpc-variation-swatches.php:497 159 msgid "Hint.css" 160 msgstr "" 161 162 #: wpc-variation-swatches.php:498 163 msgid "Tippy.js" 164 msgstr "" 165 166 #: wpc-variation-swatches.php:499 167 msgid "None (Disable)" 168 msgstr "" 169 170 #: wpc-variation-swatches.php:508 171 msgid "Tooltip position" 172 msgstr "" 173 174 #: wpc-variation-swatches.php:511 175 msgid "Top" 176 msgstr "" 177 178 #: wpc-variation-swatches.php:512 179 msgid "Right" 180 msgstr "" 181 182 #: wpc-variation-swatches.php:513 183 msgid "Bottom" 184 msgstr "" 185 186 #: wpc-variation-swatches.php:514 187 msgid "Left" 188 msgstr "" 189 190 #: wpc-variation-swatches.php:516 191 msgid "For Hint.css only." 192 msgstr "" 193 194 #: wpc-variation-swatches.php:520 195 msgid "Style" 196 msgstr "" 197 198 #: wpc-variation-swatches.php:523 199 msgid "Square" 200 msgstr "" 201 202 #: wpc-variation-swatches.php:524 203 msgid "Rounded" 204 msgstr "" 205 206 #: wpc-variation-swatches.php:529 207 #: wpc-variation-swatches.php:970 208 msgid "Term groups" 209 msgstr "" 210 211 #: wpc-variation-swatches.php:535 212 msgid "Enable/disable using group for attribute terms." 213 msgstr "" 214 215 #: wpc-variation-swatches.php:539 216 msgid "Select default attributes" 217 msgstr "" 218 219 #: wpc-variation-swatches.php:545 220 msgid "Select default attributes automatically if they were not set." 221 msgstr "" 222 223 #: wpc-variation-swatches.php:549 224 msgid "Swatches for non-variable products" 225 msgstr "" 226 227 #: wpc-variation-swatches.php:555 228 msgid "Display visible attributes as swatches for non-variable products." 229 msgstr "" 230 231 #: wpc-variation-swatches.php:560 232 msgid "Single Product" 233 msgstr "" 234 235 #: wpc-variation-swatches.php:564 236 msgid "Layout" 237 msgstr "" 238 135 239 #: wpc-variation-swatches.php:567 136 #: wpc-variation-swatches.php:639 137 #: wpc-variation-swatches.php:673 138 #: wpc-variation-swatches.php:935 139 msgid "No" 140 msgstr "" 141 142 #: wpc-variation-swatches.php:467 143 msgid "Turn the default type to button type." 144 msgstr "" 145 146 #: wpc-variation-swatches.php:472 147 msgid "Enable second click to undo?" 148 msgstr "" 149 150 #: wpc-variation-swatches.php:478 151 msgid "Enable/disable click again to undo the selection on current attribute." 152 msgstr "" 153 154 #: wpc-variation-swatches.php:483 155 msgid "Tooltip library" 156 msgstr "" 157 158 #: wpc-variation-swatches.php:486 159 msgid "Hint.css" 160 msgstr "" 161 162 #: wpc-variation-swatches.php:487 163 msgid "Tippy.js" 164 msgstr "" 165 166 #: wpc-variation-swatches.php:488 167 msgid "None (Disable)" 168 msgstr "" 169 170 #: wpc-variation-swatches.php:497 171 msgid "Tooltip position" 172 msgstr "" 173 174 #: wpc-variation-swatches.php:500 175 msgid "Top" 176 msgstr "" 177 178 #: wpc-variation-swatches.php:501 179 msgid "Right" 180 msgstr "" 181 182 #: wpc-variation-swatches.php:502 183 msgid "Bottom" 184 msgstr "" 185 186 #: wpc-variation-swatches.php:503 187 msgid "Left" 188 msgstr "" 189 190 #: wpc-variation-swatches.php:505 191 msgid "For Hint.css only." 192 msgstr "" 193 194 #: wpc-variation-swatches.php:509 195 msgid "Style" 196 msgstr "" 197 198 #: wpc-variation-swatches.php:512 199 msgid "Square" 200 msgstr "" 201 202 #: wpc-variation-swatches.php:513 203 msgid "Rounded" 204 msgstr "" 205 206 #: wpc-variation-swatches.php:518 240 msgid "Table (default)" 241 msgstr "" 242 243 #: wpc-variation-swatches.php:568 244 msgid "Stacked" 245 msgstr "" 246 247 #: wpc-variation-swatches.php:570 248 msgid "Choose the layout for swatches on the single product page." 249 msgstr "" 250 251 #: wpc-variation-swatches.php:574 252 msgid "Change URL" 253 msgstr "" 254 255 #: wpc-variation-swatches.php:580 256 msgid "Change the URL on address bar when choosing attribute term." 257 msgstr "" 258 259 #: wpc-variation-swatches.php:584 260 msgid "Replacement" 261 msgstr "" 262 263 #: wpc-variation-swatches.php:587 264 #: wpc-variation-swatches.php:646 265 msgid "Enable" 266 msgstr "" 267 268 #: wpc-variation-swatches.php:588 269 msgid "Disable" 270 msgstr "" 271 272 #: wpc-variation-swatches.php:590 273 msgid "Enable it to replace the product name/price/description when choosing variations." 274 msgstr "" 275 276 #: wpc-variation-swatches.php:594 277 #: wpc-variation-swatches.php:690 278 msgid "Selector" 279 msgstr "" 280 281 #. translators: selector 282 #: wpc-variation-swatches.php:598 283 #: wpc-variation-swatches.php:694 284 #, php-format 285 msgid "Product wrapper selector. Default: %s" 286 msgstr "" 287 288 #. translators: selector 289 #: wpc-variation-swatches.php:608 290 #: wpc-variation-swatches.php:724 291 #, php-format 292 msgid "Product name selector. Default: %s" 293 msgstr "" 294 295 #. translators: selector 296 #: wpc-variation-swatches.php:618 297 #: wpc-variation-swatches.php:734 298 #, php-format 299 msgid "Product price selector. Default: %s" 300 msgstr "" 301 302 #. translators: selector 303 #: wpc-variation-swatches.php:628 304 #, php-format 305 msgid "Product short description selector. Default: %s" 306 msgstr "" 307 308 #: wpc-variation-swatches.php:642 309 msgid "Product Archive" 310 msgstr "" 311 312 #: wpc-variation-swatches.php:652 313 msgid "Enable swatches for product archive page." 314 msgstr "" 315 316 #: wpc-variation-swatches.php:656 317 msgid "Position" 318 msgstr "" 319 320 #: wpc-variation-swatches.php:659 321 msgid "Before add to cart button" 322 msgstr "" 323 324 #: wpc-variation-swatches.php:660 325 msgid "After add to cart button" 326 msgstr "" 327 328 #: wpc-variation-swatches.php:661 329 msgid "None" 330 msgstr "" 331 332 #. translators: shortcode 333 #: wpc-variation-swatches.php:663 334 #, php-format 335 msgid "Swatches position on product archive page. You also can use the shortcode: %s" 336 msgstr "" 337 338 #: wpc-variation-swatches.php:668 339 msgid "Limit" 340 msgstr "" 341 342 #: wpc-variation-swatches.php:675 343 msgid "Maximum terms of each attribute will be shown on product archive page." 344 msgstr "" 345 346 #: wpc-variation-swatches.php:680 347 msgid "Change link" 348 msgstr "" 349 350 #: wpc-variation-swatches.php:686 351 msgid "Change the product link when choosing attribute term." 352 msgstr "" 353 354 #. translators: selector 355 #: wpc-variation-swatches.php:704 356 #, php-format 357 msgid "Product link selector. Default: %s" 358 msgstr "" 359 360 #. translators: selector 361 #: wpc-variation-swatches.php:714 362 #, php-format 363 msgid "Product image selector. Default: %s" 364 msgstr "" 365 366 #. translators: selector 367 #: wpc-variation-swatches.php:744 368 #, php-format 369 msgid "Add to cart button selector. Default: %s" 370 msgstr "" 371 372 #. translators: selector 373 #: wpc-variation-swatches.php:754 374 #, php-format 375 msgid "Add to cart button text selector. Default: %s" 376 msgstr "" 377 378 #: wpc-variation-swatches.php:781 379 #: wpc-variation-swatches.php:867 380 msgid "import / export" 381 msgstr "" 382 383 #: wpc-variation-swatches.php:792 384 msgid "Leave blank to use the default text and its equivalent translation in multiple languages." 385 msgstr "" 386 387 #: wpc-variation-swatches.php:829 388 msgid "More" 389 msgstr "" 390 391 #. translators: count 392 #: wpc-variation-swatches.php:836 393 #: wpc-variation-swatches.php:1301 394 #: wpc-variation-swatches.php:1336 395 #, php-format 396 msgid "+%d More" 397 msgstr "" 398 399 #: wpc-variation-swatches.php:841 400 msgid "Option none" 401 msgstr "" 402 403 #. translators: attribute name 404 #: wpc-variation-swatches.php:848 405 #: wpc-variation-swatches.php:1711 406 #, php-format 407 msgid "Choose %s" 408 msgstr "" 409 410 #: wpc-variation-swatches.php:922 411 msgid "Community support" 412 msgstr "" 413 414 #: wpc-variation-swatches.php:937 415 msgid "Select" 416 msgstr "" 417 418 #: wpc-variation-swatches.php:938 419 #: wpc-variation-swatches.php:1040 420 msgid "Button" 421 msgstr "" 422 423 #: wpc-variation-swatches.php:939 424 #: wpc-variation-swatches.php:1046 425 msgid "Color" 426 msgstr "" 427 428 #: wpc-variation-swatches.php:940 429 #: wpc-variation-swatches.php:1060 430 msgid "Image" 431 msgstr "" 432 207 433 #: wpc-variation-swatches.php:941 208 msgid "Term groups"209 msgstr ""210 211 #: wpc-variation-swatches.php:524212 msgid "Enable/disable using group for attribute terms."213 msgstr ""214 215 #: wpc-variation-swatches.php:528216 msgid "Select default attributes"217 msgstr ""218 219 #: wpc-variation-swatches.php:534220 msgid "Select default attributes automatically if they were not set."221 msgstr ""222 223 #: wpc-variation-swatches.php:538224 msgid "Swatches for non-variable products"225 msgstr ""226 227 #: wpc-variation-swatches.php:544228 msgid "Display visible attributes as swatches for non-variable products."229 msgstr ""230 231 #: wpc-variation-swatches.php:549232 msgid "Single Product"233 msgstr ""234 235 #: wpc-variation-swatches.php:553236 msgid "Layout"237 msgstr ""238 239 #: wpc-variation-swatches.php:556240 msgid "Table (default)"241 msgstr ""242 243 #: wpc-variation-swatches.php:557244 msgid "Stacked"245 msgstr ""246 247 #: wpc-variation-swatches.php:559248 msgid "Choose the layout for swatches on the single product page."249 msgstr ""250 251 #: wpc-variation-swatches.php:563252 msgid "Change URL"253 msgstr ""254 255 #: wpc-variation-swatches.php:569256 msgid "Change the URL on address bar when choosing attribute term."257 msgstr ""258 259 #: wpc-variation-swatches.php:573260 msgid "Replacement"261 msgstr ""262 263 #: wpc-variation-swatches.php:576264 #: wpc-variation-swatches.php:635265 msgid "Enable"266 msgstr ""267 268 #: wpc-variation-swatches.php:577269 msgid "Disable"270 msgstr ""271 272 #: wpc-variation-swatches.php:579273 msgid "Enable it to replace the product name/price/description when choosing variations."274 msgstr ""275 276 #: wpc-variation-swatches.php:583277 #: wpc-variation-swatches.php:679278 msgid "Selector"279 msgstr ""280 281 #. translators: selector282 #: wpc-variation-swatches.php:587283 #: wpc-variation-swatches.php:683284 #, php-format285 msgid "Product wrapper selector. Default: %s"286 msgstr ""287 288 #. translators: selector289 #: wpc-variation-swatches.php:597290 #: wpc-variation-swatches.php:713291 #, php-format292 msgid "Product name selector. Default: %s"293 msgstr ""294 295 #. translators: selector296 #: wpc-variation-swatches.php:607297 #: wpc-variation-swatches.php:723298 #, php-format299 msgid "Product price selector. Default: %s"300 msgstr ""301 302 #. translators: selector303 #: wpc-variation-swatches.php:617304 #, php-format305 msgid "Product short description selector. Default: %s"306 msgstr ""307 308 #: wpc-variation-swatches.php:631309 msgid "Product Archive"310 msgstr ""311 312 #: wpc-variation-swatches.php:641313 msgid "Enable swatches for product archive page."314 msgstr ""315 316 #: wpc-variation-swatches.php:645317 msgid "Position"318 msgstr ""319 320 #: wpc-variation-swatches.php:648321 msgid "Before add to cart button"322 msgstr ""323 324 #: wpc-variation-swatches.php:649325 msgid "After add to cart button"326 msgstr ""327 328 #: wpc-variation-swatches.php:650329 msgid "None"330 msgstr ""331 332 #. translators: shortcode333 #: wpc-variation-swatches.php:652334 #, php-format335 msgid "Swatches position on product archive page. You also can use the shortcode: %s"336 msgstr ""337 338 #: wpc-variation-swatches.php:657339 msgid "Limit"340 msgstr ""341 342 #: wpc-variation-swatches.php:664343 msgid "Maximum terms of each attribute will be shown on product archive page."344 msgstr ""345 346 #: wpc-variation-swatches.php:669347 msgid "Change link"348 msgstr ""349 350 #: wpc-variation-swatches.php:675351 msgid "Change the product link when choosing attribute term."352 msgstr ""353 354 #. translators: selector355 #: wpc-variation-swatches.php:693356 #, php-format357 msgid "Product link selector. Default: %s"358 msgstr ""359 360 #. translators: selector361 #: wpc-variation-swatches.php:703362 #, php-format363 msgid "Product image selector. Default: %s"364 msgstr ""365 366 #. translators: selector367 #: wpc-variation-swatches.php:733368 #, php-format369 msgid "Add to cart button selector. Default: %s"370 msgstr ""371 372 #. translators: selector373 #: wpc-variation-swatches.php:743374 #, php-format375 msgid "Add to cart button text selector. Default: %s"376 msgstr ""377 378 #: wpc-variation-swatches.php:761379 #: wpc-variation-swatches.php:838380 msgid "import / export"381 msgstr ""382 383 #: wpc-variation-swatches.php:772384 msgid "Leave blank to use the default text and its equivalent translation in multiple languages."385 msgstr ""386 387 #: wpc-variation-swatches.php:809388 msgid "More"389 msgstr ""390 391 #. translators: count392 #: wpc-variation-swatches.php:816393 #: wpc-variation-swatches.php:1272394 #: wpc-variation-swatches.php:1307395 #, php-format396 msgid "+%d More"397 msgstr ""398 399 #: wpc-variation-swatches.php:821400 msgid "Option none"401 msgstr ""402 403 #. translators: attribute name404 #: wpc-variation-swatches.php:828405 #: wpc-variation-swatches.php:1682406 #, php-format407 msgid "Choose %s"408 msgstr ""409 410 #: wpc-variation-swatches.php:893411 msgid "Community support"412 msgstr ""413 414 #: wpc-variation-swatches.php:908415 msgid "Select"416 msgstr ""417 418 #: wpc-variation-swatches.php:909419 #: wpc-variation-swatches.php:1011420 msgid "Button"421 msgstr ""422 423 #: wpc-variation-swatches.php:910424 #: wpc-variation-swatches.php:1017425 msgid "Color"426 msgstr ""427 428 #: wpc-variation-swatches.php:911429 #: wpc-variation-swatches.php:1031430 msgid "Image"431 msgstr ""432 433 #: wpc-variation-swatches.php:912434 434 msgid "Radio" 435 435 msgstr "" 436 436 437 #: wpc-variation-swatches.php:9 32437 #: wpc-variation-swatches.php:961 438 438 msgid "Show label" 439 439 msgstr "" 440 440 441 #: wpc-variation-swatches.php:9 38441 #: wpc-variation-swatches.php:967 442 442 msgid "When using color/image type, do you want to show the term label together with swatches?" 443 443 msgstr "" 444 444 445 #: wpc-variation-swatches.php:9 52445 #: wpc-variation-swatches.php:981 446 446 msgid "Fill in group labels then press Enter or select from the dropdown." 447 447 msgstr "" 448 448 449 #: wpc-variation-swatches.php: 989450 #: wpc-variation-swatches.php:1 595449 #: wpc-variation-swatches.php:1018 450 #: wpc-variation-swatches.php:1624 451 451 msgid "Group" 452 452 msgstr "" 453 453 454 #: wpc-variation-swatches.php: 993454 #: wpc-variation-swatches.php:1022 455 455 msgid "Select a group" 456 456 msgstr "" 457 457 458 458 #. translators: attribute 459 #: wpc-variation-swatches.php:10 01459 #: wpc-variation-swatches.php:1030 460 460 #, php-format 461 461 msgid "Please add a group for attribute %s first, then you can select it here." 462 462 msgstr "" 463 463 464 #: wpc-variation-swatches.php:10 12465 #: wpc-variation-swatches.php:10 18466 #: wpc-variation-swatches.php:10 46467 #: wpc-variation-swatches.php:10 52468 #: wpc-variation-swatches.php:1 597464 #: wpc-variation-swatches.php:1041 465 #: wpc-variation-swatches.php:1047 466 #: wpc-variation-swatches.php:1075 467 #: wpc-variation-swatches.php:1081 468 #: wpc-variation-swatches.php:1626 469 469 msgid "Tooltip" 470 470 msgstr "" 471 471 472 #: wpc-variation-swatches.php:10 38472 #: wpc-variation-swatches.php:1067 473 473 msgid "Choose image" 474 474 msgstr "" 475 475 476 #: wpc-variation-swatches.php:10 41476 #: wpc-variation-swatches.php:1070 477 477 msgid "Remove image" 478 478 msgstr "" 479 479 480 #: wpc-variation-swatches.php:10 51480 #: wpc-variation-swatches.php:1080 481 481 msgid "Label" 482 482 msgstr "" 483 483 484 #: wpc-variation-swatches.php:1 596484 #: wpc-variation-swatches.php:1625 485 485 msgid "Value" 486 486 msgstr "" 487 487 488 #: wpc-variation-swatches.php:1 689488 #: wpc-variation-swatches.php:1718 489 489 msgid "Clear" 490 490 msgstr "" 491 491 492 #: wpc-variation-swatches.php:17 22492 #: wpc-variation-swatches.php:1751 493 493 msgid "Above terms container" 494 494 msgstr "" 495 495 496 #: wpc-variation-swatches.php:17 23496 #: wpc-variation-swatches.php:1752 497 497 msgid "Below terms container" 498 498 msgstr "" 499 499 500 #: wpc-variation-swatches.php:17 24500 #: wpc-variation-swatches.php:1753 501 501 msgid "Before terms container" 502 502 msgstr "" 503 503 504 #: wpc-variation-swatches.php:17 25504 #: wpc-variation-swatches.php:1754 505 505 msgid "After terms container" 506 506 msgstr "" 507 507 508 #: wpc-variation-swatches.php:17 26508 #: wpc-variation-swatches.php:1755 509 509 msgid "Before term" 510 510 msgstr "" 511 511 512 #: wpc-variation-swatches.php:17 27512 #: wpc-variation-swatches.php:1756 513 513 msgid "After term" 514 514 msgstr "" -
wpc-variation-swatches/trunk/readme.txt
r3415981 r3483852 5 5 Requires at least: 4.0 6 6 Tested up to: 6.9 7 Version: 4.3. 48 Stable tag: 4.3. 47 Version: 4.3.5 8 Stable tag: 4.3.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 4.3.5 = 82 * Fixed: Minor CSS/JS issues in the backend 83 * Updated: Compatible with WP 6.9 & Woo 10.6 84 81 85 = 4.3.4 = 82 86 * Updated: Optimized the code -
wpc-variation-swatches/trunk/wpc-variation-swatches.php
r3415981 r3483852 4 4 Plugin URI: https://wpclever.net/ 5 5 Description: WPC Variation Swatches is a beautiful color, image, radio and buttons variation swatches for WooCommerce product attributes. 6 Version: 4.3. 46 Version: 4.3.5 7 7 Author: WPClever 8 8 Author URI: https://wpclever.net … … 13 13 Tested up to: 6.9 14 14 WC requires at least: 3.0 15 WC tested up to: 10. 315 WC tested up to: 10.6 16 16 License: GPLv2 or later 17 17 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 defined( 'ABSPATH' ) || exit; 21 21 22 ! defined( 'WPCVS_VERSION' ) && define( 'WPCVS_VERSION', '4.3. 4' );22 ! defined( 'WPCVS_VERSION' ) && define( 'WPCVS_VERSION', '4.3.5' ); 23 23 ! defined( 'WPCVS_LITE' ) && define( 'WPCVS_LITE', __FILE__ ); 24 24 ! defined( 'WPCVS_FILE' ) && define( 'WPCVS_FILE', __FILE__ ); … … 30 30 ! defined( 'WPC_URI' ) && define( 'WPC_URI', WPCVS_URI ); 31 31 32 include 'includes/log/wpc-log.php'; 32 33 include 'includes/dashboard/wpc-dashboard.php'; 33 34 include 'includes/kit/wpc-kit.php'; … … 115 116 // settings page 116 117 add_action( 'admin_init', [ $this, 'register_settings' ] ); 118 add_filter( 'pre_update_option', [ $this, 'last_saved' ], 10, 2 ); 117 119 add_action( 'admin_menu', [ $this, 'admin_menu' ] ); 118 120 … … 377 379 'sanitize_callback' => [ $this, 'sanitize_array' ], 378 380 ] ); 381 } 382 383 function last_saved( $value, $option ) { 384 if ( $option == 'wpcvs_settings' || $option == 'wpcvs_localization' ) { 385 $value['_last_saved'] = current_time( 'timestamp' ); 386 $value['_last_saved_by'] = get_current_user_id(); 387 } 388 389 return $value; 379 390 } 380 391 … … 755 766 <tr class="submit"> 756 767 <th colspan="2"> 757 <?php settings_fields( 'wpcvs_settings' ); ?><?php submit_button(); ?> 768 <div class="wpclever_submit"> 769 <?php 770 settings_fields( 'wpcvs_settings' ); 771 submit_button( '', 'primary', 'submit', false ); 772 773 if ( function_exists( 'wpc_last_saved' ) ) { 774 wpc_last_saved( self::get_settings() ); 775 } 776 ?> 777 </div> 758 778 <a style="display: none;" class="wpclever_export" 759 779 data-key="wpcvs_settings" … … 832 852 <tr class="submit"> 833 853 <th colspan="2"> 834 <?php settings_fields( 'wpcvs_localization' ); ?><?php submit_button(); ?> 854 <div class="wpclever_submit"> 855 <?php 856 settings_fields( 'wpcvs_localization' ); 857 submit_button( '', 'primary', 'submit', false ); 858 859 if ( function_exists( 'wpc_last_saved' ) ) { 860 wpc_last_saved( get_option( 'wpcvs_localization', [] ) );; 861 } 862 ?> 863 </div> 835 864 <a style="display: none;" class="wpclever_export" 836 865 data-key="wpcvs_localization"
Note: See TracChangeset
for help on using the changeset viewer.