PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / trunk
Ever Compare – Products Compare Plugin for WooCommerce vtrunk
1.3.7 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 trunk 1.0.0 1.0.1 1.0.2 All 31 releases
← All changes | includes/classes/Admin/Admin_Fields.php +18 -16 1.3.3trunk View file →
@@ -1,6 +1,8 @@
1 1 <?php
2 2 namespace EverCompare\Admin;
3 +
4 +defined( 'ABSPATH' ) || exit;
3 5 /**
4 6 * Admin Page Fields handlers class
5 7 */
6 8 class Admin_Fields {
@@ -383,9 +385,9 @@
383 385 'type' => 'multicheckshort',
384 386 'options' => ever_compare_get_available_attributes(),
385 387 'default' => [
386 388 'title' => esc_html__( 'title', 'ever-compare' ),
387 - 'ratting' => esc_html__( 'ratting', 'ever-compare' ),
389 + 'ratting' => esc_html__( 'Rating', 'ever-compare' ),
388 390 'price' => esc_html__( 'price', 'ever-compare' ),
389 391 'add_to_cart' => esc_html__( 'add_to_cart', 'ever-compare' ),
390 392 'description' => esc_html__( 'description', 'ever-compare' ),
391 393 'availability' => esc_html__( 'availability', 'ever-compare' ),
@@ -487,9 +489,9 @@
487 489
488 490 array(
489 491 'name' => 'notification_style',
490 492 'label' => __( 'Notification style', 'ever-compare' ),
491 - 'desc' => __( 'Choose a style for the wishlist notification here.', 'ever-compare' ),
493 + 'desc' => __( 'Choose a style for the compare notification here.', 'ever-compare' ),
492 494 'type' => 'select',
493 495 'default' => 'default',
494 496 'options' => [
495 497 'default' => esc_html__( 'Default', 'ever-compare' ),
@@ -507,9 +509,9 @@
507 509
508 510 array(
509 511 'name' => 'button_color',
510 512 'label' => esc_html__( 'Color', 'ever-compare' ),
511 - 'desc' => wp_kses_post( 'Set the color of the button.', 'ever-compare' ),
513 + 'desc' => wp_kses_post( __( 'Set the color of the button.', 'ever-compare' ) ),
512 514 'type' => 'color',
513 515 'class' => 'depend_button_custom_style',
514 516 ),
515 517
@@ -515,9 +517,9 @@
515 517
516 518 array(
517 519 'name' => 'button_hover_color',
518 520 'label' => esc_html__( 'Hover Color', 'ever-compare' ),
519 - 'desc' => wp_kses_post( 'Set the hover color of the button.', 'ever-compare' ),
521 + 'desc' => wp_kses_post( __( 'Set the hover color of the button.', 'ever-compare' ) ),
520 522 'type' => 'color',
521 523 'class' => 'depend_button_custom_style',
522 524 ),
523 525
@@ -523,9 +525,9 @@
523 525
524 526 array(
525 527 'name' => 'background_color',
526 528 'label' => esc_html__( 'Background Color', 'ever-compare' ),
527 - 'desc' => wp_kses_post( 'Set the background color of the button.', 'ever-compare' ),
529 + 'desc' => wp_kses_post( __( 'Set the background color of the button.', 'ever-compare' ) ),
528 530 'type' => 'color',
529 531 'class' => 'depend_button_custom_style',
530 532 ),
531 533
@@ -531,9 +533,9 @@
531 533
532 534 array(
533 535 'name' => 'hover_background_color',
534 536 'label' => esc_html__( 'Hover Background Color', 'ever-compare' ),
535 - 'desc' => wp_kses_post( 'Set the hover background color of the button.', 'ever-compare' ),
537 + 'desc' => wp_kses_post( __( 'Set the hover background color of the button.', 'ever-compare' ) ),
536 538 'type' => 'color',
537 539 'class' => 'depend_button_custom_style',
538 540 ),
539 541
@@ -580,9 +582,9 @@
580 582 ),
581 583 array(
582 584 'name' => 'button_custom_border_color',
583 585 'label' => esc_html__( 'Border Color', 'ever-compare' ),
584 - 'desc' => wp_kses_post( 'Set the button color of the button.', 'ever-compare' ),
586 + 'desc' => wp_kses_post( __( 'Set the border color of the button.', 'ever-compare' ) ),
585 587 'type' => 'color',
586 588 'class' => 'depend_button_custom_style',
587 589 ),
588 590
@@ -610,9 +612,9 @@
610 612
611 613 array(
612 614 'name' => 'table_border_color',
613 615 'label' => esc_html__( 'Border color', 'ever-compare' ),
614 - 'desc' => wp_kses_post( 'Set the border color of the table.', 'ever-compare' ),
616 + 'desc' => wp_kses_post( __( 'Set the border color of the table.', 'ever-compare' ) ),
615 617 'type' => 'color',
616 618 'class' => 'depend_table_custom_style',
617 619 ),
618 620
@@ -632,9 +634,9 @@
632 634
633 635 array(
634 636 'name' => 'table_event_color',
635 637 'label' => esc_html__( 'Column background color (Event)', 'ever-compare' ),
636 - 'desc' => wp_kses_post( 'Set the background color of the table event column.', 'ever-compare' ),
638 + 'desc' => wp_kses_post( __( 'Set the background color of the table event column.', 'ever-compare' ) ),
637 639 'type' => 'color',
638 640 'class' => 'depend_table_custom_style',
639 641 ),
640 642
@@ -640,9 +642,9 @@
640 642
641 643 array(
642 644 'name' => 'table_odd_color',
643 645 'label' => esc_html__( 'Column background color (Odd)', 'ever-compare' ),
644 - 'desc' => wp_kses_post( 'Set the background color of the table odd column.', 'ever-compare' ),
646 + 'desc' => wp_kses_post( __( 'Set the background color of the table odd column.', 'ever-compare' ) ),
645 647 'type' => 'color',
646 648 'class' => 'depend_table_custom_style',
647 649 ),
648 650
@@ -648,9 +650,9 @@
648 650
649 651 array(
650 652 'name' => 'table_heading_event_color',
651 653 'label' => esc_html__( 'Heading color (Event)', 'ever-compare' ),
652 - 'desc' => wp_kses_post( 'Set the heading color of the table event column.', 'ever-compare' ),
654 + 'desc' => wp_kses_post( __( 'Set the heading color of the table event column.', 'ever-compare' ) ),
653 655 'type' => 'color',
654 656 'class' => 'depend_table_custom_style',
655 657 ),
656 658
@@ -656,9 +658,9 @@
656 658
657 659 array(
658 660 'name' => 'table_heading_odd_color',
659 661 'label' => esc_html__( 'Heading color (Odd)', 'ever-compare' ),
660 - 'desc' => wp_kses_post( 'Set the heading color of the table odd column.', 'ever-compare' ),
662 + 'desc' => wp_kses_post( __( 'Set the heading color of the table odd column.', 'ever-compare' ) ),
661 663 'type' => 'color',
662 664 'class' => 'depend_table_custom_style',
663 665 ),
664 666
@@ -664,9 +666,9 @@
664 666
665 667 array(
666 668 'name' => 'table_content_event_color',
667 669 'label' => esc_html__( 'Content color (Event)', 'ever-compare' ),
668 - 'desc' => wp_kses_post( 'Set the content color of the table event column.', 'ever-compare' ),
670 + 'desc' => wp_kses_post( __( 'Set the content color of the table event column.', 'ever-compare' ) ),
669 671 'type' => 'color',
670 672 'class' => 'depend_table_custom_style',
671 673 ),
672 674
@@ -672,9 +674,9 @@
672 674
673 675 array(
674 676 'name' => 'table_content_odd_color',
675 677 'label' => esc_html__( 'Content color (Odd)', 'ever-compare' ),
676 - 'desc' => wp_kses_post( 'Set the content color of the table odd column.', 'ever-compare' ),
678 + 'desc' => wp_kses_post( __( 'Set the content color of the table odd column.', 'ever-compare' ) ),
677 679 'type' => 'color',
678 680 'class' => 'depend_table_custom_style',
679 681 ),
680 682
@@ -680,9 +682,9 @@
680 682
681 683 array(
682 684 'name' => 'table_content_link_color',
683 685 'label' => esc_html__( 'Content link color', 'ever-compare' ),
684 - 'desc' => wp_kses_post( 'Set the content link color of the table.', 'ever-compare' ),
686 + 'desc' => wp_kses_post( __( 'Set the content link color of the table.', 'ever-compare' ) ),
685 687 'type' => 'color',
686 688 'class' => 'depend_table_custom_style',
687 689 ),
688 690
@@ -688,9 +690,9 @@
688 690
689 691 array(
690 692 'name' => 'table_content_link_hover_color',
691 693 'label' => esc_html__( 'Content link hover color', 'ever-compare' ),
692 - 'desc' => wp_kses_post( 'Set the content link hover color of the table.', 'ever-compare' ),
694 + 'desc' => wp_kses_post( __( 'Set the content link hover color of the table.', 'ever-compare' ) ),
693 695 'type' => 'color',
694 696 'class' => 'depend_table_custom_style',
695 697 ),
696 698