Changeset 2144282
- Timestamp:
- 08/23/2019 09:57:21 AM (7 years ago)
- Location:
- dokan-lite/trunk
- Files:
-
- 9 edited
-
assets/js/vue-admin.js (modified) (1 diff)
-
classes/template-dashboard.php (modified) (2 diffs)
-
dokan.php (modified) (4 diffs)
-
includes/functions.php (modified) (1 diff)
-
languages/dokan-lite.pot (modified) (10 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/settings/store-form.php (modified) (1 diff)
-
templates/withdraw/approved-request-listing.php (modified) (1 diff)
-
templates/withdraw/cancelled-request-listing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dokan-lite/trunk/assets/js/vue-admin.js
r2129956 r2144282 2537 2537 let settings = this.allSettingsValues; 2538 2538 2539 if ('dokan_ general' in settings && 'gmap_api_key' in settings.dokan_general) {2540 return settings.dokan_ general.gmap_api_key;2539 if ('dokan_appearance' in settings && 'gmap_api_key' in settings.dokan_appearance) { 2540 return settings.dokan_appearance.gmap_api_key; 2541 2541 } 2542 2542 } -
dokan-lite/trunk/classes/template-dashboard.php
r1995740 r2144282 79 79 } 80 80 81 if ( ! (array) $this->orders_count ) { 82 return; 83 } 84 81 85 dokan_get_template_part( 'dashboard/big-counter-widget', '', array( 82 86 'pageviews' => $this->pageviews, … … 99 103 } 100 104 105 if ( ! (array) $this->orders_count ) { 106 return; 107 } 108 101 109 $order_data = array( 102 110 array( -
dokan-lite/trunk/dokan.php
r2129956 r2144282 4 4 Plugin URI: https://wordpress.org/plugins/dokan-lite/ 5 5 Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs. 6 Version: 2.9. 196 Version: 2.9.20 7 7 Author: weDevs, LLC 8 8 Author URI: https://wedevs.com/ 9 9 Text Domain: dokan-lite 10 10 WC requires at least: 3.0 11 WC tested up to: 3. 6.511 WC tested up to: 3.7.0 12 12 Domain Path: /languages/ 13 13 License: GPL2 … … 79 79 * @var string 80 80 */ 81 public $version = '2.9. 19';81 public $version = '2.9.20'; 82 82 83 83 /** … … 145 145 * @param $prop 146 146 * 147 * @return mixed147 * @return Class Instance 148 148 */ 149 149 public function __get( $prop ) { … … 151 151 return $this->container[ $prop ]; 152 152 } 153 154 return $this->{$prop};155 153 } 156 154 -
dokan-lite/trunk/includes/functions.php
r2129956 r2144282 2009 2009 } 2010 2010 2011 $vendor = dokan()->vendor->get( $user->ID ); 2011 $vendor = dokan()->vendor; 2012 2013 if ( ! $vendor ) { 2014 return $url; 2015 } 2016 2017 $vendor = $vendor->get( $user->ID ); 2012 2018 $gravatar_id = $vendor->get_avatar_id(); 2013 2019 -
dokan-lite/trunk/languages/dokan-lite.pot
r2129956 r2144282 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Dokan 2.9. 19\n"5 "Project-Id-Version: Dokan 2.9.20\n" 6 6 "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n" 7 "POT-Creation-Date: 2019-0 7-29 05:14:28+00:00\n"7 "POT-Creation-Date: 2019-08-23 09:48:15+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 445 445 msgstr "" 446 446 447 #: classes/template-dashboard.php:1 05includes/admin/setup-wizard.php:535447 #: classes/template-dashboard.php:113 includes/admin/setup-wizard.php:535 448 448 #: includes/order-functions.php:497 templates/dashboard/orders-widget.php:26 449 449 msgid "Completed" 450 450 msgstr "" 451 451 452 #: classes/template-dashboard.php:11 0templates/dashboard/orders-widget.php:31452 #: classes/template-dashboard.php:118 templates/dashboard/orders-widget.php:31 453 453 msgid "Pending" 454 454 msgstr "" 455 455 456 #: classes/template-dashboard.php:1 15includes/admin/setup-wizard.php:541456 #: classes/template-dashboard.php:123 includes/admin/setup-wizard.php:541 457 457 #: includes/order-functions.php:512 templates/dashboard/orders-widget.php:36 458 458 #: templates/orders/listing.php:137 … … 460 460 msgstr "" 461 461 462 #: classes/template-dashboard.php:12 0includes/order-functions.php:522462 #: classes/template-dashboard.php:128 includes/order-functions.php:522 463 463 #: templates/dashboard/orders-widget.php:41 464 464 msgid "Cancelled" 465 465 msgstr "" 466 466 467 #: classes/template-dashboard.php:1 25includes/order-functions.php:517467 #: classes/template-dashboard.php:133 includes/order-functions.php:517 468 468 #: templates/dashboard/orders-widget.php:46 469 469 msgid "Refunded" 470 470 msgstr "" 471 471 472 #: classes/template-dashboard.php:13 0472 #: classes/template-dashboard.php:138 473 473 msgid "On Hold" 474 474 msgstr "" … … 520 520 521 521 #: classes/template-settings.php:70 classes/template-settings.php:74 522 #: dokan.php:49 3includes/admin/class-admin.php:146522 #: dokan.php:491 includes/admin/class-admin.php:146 523 523 #: includes/admin/class-admin.php:207 includes/template-tags.php:354 524 524 #: src/admin/pages/Settings.vue:3 … … 675 675 msgstr "" 676 676 677 #: dokan.php:21 2677 #: dokan.php:210 678 678 msgid "" 679 679 "The Minimum PHP Version Requirement for <b>Dokan</b> is %s. You are Running " … … 681 681 msgstr "" 682 682 683 #: dokan.php:4 90683 #: dokan.php:488 684 684 msgid "Get Pro" 685 685 msgstr "" 686 686 687 #: dokan.php:49 4687 #: dokan.php:492 688 688 msgid "Documentation" 689 689 msgstr "" 690 690 691 #: dokan.php:52 5691 #: dokan.php:523 692 692 msgid "" 693 693 "Dokan requires WooCommerce to be installed and active. You can activate %s " … … 1055 1055 msgstr "" 1056 1056 1057 #: includes/admin/class-settings.php:502 includes/functions.php:346 31057 #: includes/admin/class-settings.php:502 includes/functions.php:3469 1058 1058 msgid "" 1059 1059 "Your personal data will be used to support your experience throughout this " … … 2992 2992 msgstr "" 2993 2993 2994 #: includes/class-dokan-privacy.php:195 includes/functions.php:23 242994 #: includes/class-dokan-privacy.php:195 includes/functions.php:2330 2995 2995 msgid "Facebook" 2996 2996 msgstr "" 2997 2997 2998 #: includes/class-dokan-privacy.php:196 includes/functions.php:23 282998 #: includes/class-dokan-privacy.php:196 includes/functions.php:2334 2999 2999 msgid "Google Plus" 3000 3000 msgstr "" 3001 3001 3002 #: includes/class-dokan-privacy.php:197 includes/functions.php:233 23002 #: includes/class-dokan-privacy.php:197 includes/functions.php:2338 3003 3003 msgid "Twitter" 3004 3004 msgstr "" 3005 3005 3006 #: includes/class-dokan-privacy.php:198 includes/functions.php:23 363006 #: includes/class-dokan-privacy.php:198 includes/functions.php:2342 3007 3007 msgid "Pinterest" 3008 3008 msgstr "" … … 3012 3012 msgstr "" 3013 3013 3014 #: includes/class-dokan-privacy.php:200 includes/functions.php:23 443014 #: includes/class-dokan-privacy.php:200 includes/functions.php:2350 3015 3015 msgid "Youtube" 3016 3016 msgstr "" 3017 3017 3018 #: includes/class-dokan-privacy.php:201 includes/functions.php:23 483018 #: includes/class-dokan-privacy.php:201 includes/functions.php:2354 3019 3019 msgid "Instagram" 3020 3020 msgstr "" 3021 3021 3022 #: includes/class-dokan-privacy.php:202 includes/functions.php:235 23022 #: includes/class-dokan-privacy.php:202 includes/functions.php:2358 3023 3023 msgid "Flickr" 3024 3024 msgstr "" … … 3495 3495 msgstr "" 3496 3496 3497 #: includes/functions.php:206 03497 #: includes/functions.php:2066 3498 3498 msgid "- Select a location -" 3499 3499 msgstr "" 3500 3500 3501 #: includes/functions.php:20 64 includes/functions.php:20873501 #: includes/functions.php:2070 includes/functions.php:2093 3502 3502 msgid "Everywhere Else" 3503 3503 msgstr "" 3504 3504 3505 #: includes/functions.php:208 33505 #: includes/functions.php:2089 3506 3506 msgid "- Select a State -" 3507 3507 msgstr "" 3508 3508 3509 #: includes/functions.php:21 053509 #: includes/functions.php:2111 3510 3510 msgid "Ready to ship in..." 3511 3511 msgstr "" 3512 3512 3513 #: includes/functions.php:21 063513 #: includes/functions.php:2112 3514 3514 msgid "1 business day" 3515 3515 msgstr "" 3516 3516 3517 #: includes/functions.php:21 073517 #: includes/functions.php:2113 3518 3518 msgid "1-2 business day" 3519 3519 msgstr "" 3520 3520 3521 #: includes/functions.php:21 083521 #: includes/functions.php:2114 3522 3522 msgid "1-3 business day" 3523 3523 msgstr "" 3524 3524 3525 #: includes/functions.php:21 093525 #: includes/functions.php:2115 3526 3526 msgid "3-5 business day" 3527 3527 msgstr "" 3528 3528 3529 #: includes/functions.php:211 03529 #: includes/functions.php:2116 3530 3530 msgid "1-2 weeks" 3531 3531 msgstr "" 3532 3532 3533 #: includes/functions.php:211 13533 #: includes/functions.php:2117 3534 3534 msgid "2-3 weeks" 3535 3535 msgstr "" 3536 3536 3537 #: includes/functions.php:211 23537 #: includes/functions.php:2118 3538 3538 msgid "3-4 weeks" 3539 3539 msgstr "" 3540 3540 3541 #: includes/functions.php:211 33541 #: includes/functions.php:2119 3542 3542 msgid "4-6 weeks" 3543 3543 msgstr "" 3544 3544 3545 #: includes/functions.php:21 143545 #: includes/functions.php:2120 3546 3546 msgid "6-8 weeks" 3547 3547 msgstr "" 3548 3548 3549 #: includes/functions.php:223 33549 #: includes/functions.php:2239 3550 3550 msgid "All dates" 3551 3551 msgstr "" 3552 3552 3553 #: includes/functions.php:22 483553 #: includes/functions.php:2254 3554 3554 #. translators: 1: month name, 2: 4-digit year 3555 3555 msgid "%1$s %2$d" 3556 3556 msgstr "" 3557 3557 3558 #: includes/functions.php:234 03558 #: includes/functions.php:2346 3559 3559 msgid "LinkedIn" 3560 3560 msgstr "" 3561 3561 3562 #: includes/functions.php:26 183562 #: includes/functions.php:2624 3563 3563 msgid "Dokan Store Sidebar" 3564 3564 msgstr "" 3565 3565 3566 #: includes/functions.php:28 843566 #: includes/functions.php:2890 3567 3567 msgid "View sales overview" 3568 3568 msgstr "" 3569 3569 3570 #: includes/functions.php:28 853570 #: includes/functions.php:2891 3571 3571 msgid "View sales report chart" 3572 3572 msgstr "" 3573 3573 3574 #: includes/functions.php:28 863574 #: includes/functions.php:2892 3575 3575 msgid "View announcement" 3576 3576 msgstr "" 3577 3577 3578 #: includes/functions.php:28 873578 #: includes/functions.php:2893 3579 3579 msgid "View order report" 3580 3580 msgstr "" 3581 3581 3582 #: includes/functions.php:28 883582 #: includes/functions.php:2894 3583 3583 msgid "View review report" 3584 3584 msgstr "" 3585 3585 3586 #: includes/functions.php:28 893586 #: includes/functions.php:2895 3587 3587 msgid "View product status report" 3588 3588 msgstr "" 3589 3589 3590 #: includes/functions.php:289 23590 #: includes/functions.php:2898 3591 3591 msgid "View overview report" 3592 3592 msgstr "" 3593 3593 3594 #: includes/functions.php:289 33594 #: includes/functions.php:2899 3595 3595 msgid "View daily sales report" 3596 3596 msgstr "" 3597 3597 3598 #: includes/functions.php:2 8943598 #: includes/functions.php:2900 3599 3599 msgid "View top selling report" 3600 3600 msgstr "" 3601 3601 3602 #: includes/functions.php:2 8953602 #: includes/functions.php:2901 3603 3603 msgid "View top earning report" 3604 3604 msgstr "" 3605 3605 3606 #: includes/functions.php:2 8963606 #: includes/functions.php:2902 3607 3607 msgid "View statement report" 3608 3608 msgstr "" 3609 3609 3610 #: includes/functions.php:2 8993610 #: includes/functions.php:2905 3611 3611 msgid "View order" 3612 3612 msgstr "" 3613 3613 3614 #: includes/functions.php:290 03614 #: includes/functions.php:2906 3615 3615 msgid "Manage order" 3616 3616 msgstr "" 3617 3617 3618 #: includes/functions.php:290 13618 #: includes/functions.php:2907 3619 3619 msgid "Manage order note" 3620 3620 msgstr "" 3621 3621 3622 #: includes/functions.php:290 23622 #: includes/functions.php:2908 3623 3623 msgid "Manage refund" 3624 3624 msgstr "" 3625 3625 3626 #: includes/functions.php:29 063626 #: includes/functions.php:2912 3627 3627 msgid "Add coupon" 3628 3628 msgstr "" 3629 3629 3630 #: includes/functions.php:29 073630 #: includes/functions.php:2913 3631 3631 msgid "Edit coupon" 3632 3632 msgstr "" 3633 3633 3634 #: includes/functions.php:29 083634 #: includes/functions.php:2914 3635 3635 msgid "Delete coupon" 3636 3636 msgstr "" 3637 3637 3638 #: includes/functions.php:291 13638 #: includes/functions.php:2917 3639 3639 msgid "View reviews" 3640 3640 msgstr "" 3641 3641 3642 #: includes/functions.php:291 23642 #: includes/functions.php:2918 3643 3643 msgid "Manage reviews" 3644 3644 msgstr "" 3645 3645 3646 #: includes/functions.php:29 163646 #: includes/functions.php:2922 3647 3647 msgid "Manage withdraw" 3648 3648 msgstr "" 3649 3649 3650 #: includes/functions.php:29 193650 #: includes/functions.php:2925 3651 3651 msgid "Add product" 3652 3652 msgstr "" 3653 3653 3654 #: includes/functions.php:292 03654 #: includes/functions.php:2926 3655 3655 msgid "Edit product" 3656 3656 msgstr "" 3657 3657 3658 #: includes/functions.php:292 13658 #: includes/functions.php:2927 3659 3659 msgid "Delete product" 3660 3660 msgstr "" 3661 3661 3662 #: includes/functions.php:292 23662 #: includes/functions.php:2928 3663 3663 msgid "View product" 3664 3664 msgstr "" 3665 3665 3666 #: includes/functions.php:292 33666 #: includes/functions.php:2929 3667 3667 msgid "Duplicate product" 3668 3668 msgstr "" 3669 3669 3670 #: includes/functions.php:29 243670 #: includes/functions.php:2930 3671 3671 msgid "Import product" 3672 3672 msgstr "" 3673 3673 3674 #: includes/functions.php:29 253674 #: includes/functions.php:2931 3675 3675 msgid "Export product" 3676 3676 msgstr "" 3677 3677 3678 #: includes/functions.php:29 283678 #: includes/functions.php:2934 3679 3679 msgid "View overview menu" 3680 3680 msgstr "" 3681 3681 3682 #: includes/functions.php:29 293682 #: includes/functions.php:2935 3683 3683 msgid "View product menu" 3684 3684 msgstr "" 3685 3685 3686 #: includes/functions.php:293 03686 #: includes/functions.php:2936 3687 3687 msgid "View order menu" 3688 3688 msgstr "" 3689 3689 3690 #: includes/functions.php:293 13690 #: includes/functions.php:2937 3691 3691 msgid "View coupon menu" 3692 3692 msgstr "" 3693 3693 3694 #: includes/functions.php:293 23694 #: includes/functions.php:2938 3695 3695 msgid "View report menu" 3696 3696 msgstr "" 3697 3697 3698 #: includes/functions.php:293 33698 #: includes/functions.php:2939 3699 3699 msgid "Vuew review menu" 3700 3700 msgstr "" 3701 3701 3702 #: includes/functions.php:29 343702 #: includes/functions.php:2940 3703 3703 msgid "View withdraw menu" 3704 3704 msgstr "" 3705 3705 3706 #: includes/functions.php:29 353706 #: includes/functions.php:2941 3707 3707 msgid "View store settings menu" 3708 3708 msgstr "" 3709 3709 3710 #: includes/functions.php:29 363710 #: includes/functions.php:2942 3711 3711 msgid "View payment settings menu" 3712 3712 msgstr "" 3713 3713 3714 #: includes/functions.php:29 373714 #: includes/functions.php:2943 3715 3715 msgid "View shipping settings menu" 3716 3716 msgstr "" 3717 3717 3718 #: includes/functions.php:29 383718 #: includes/functions.php:2944 3719 3719 msgid "View social settings menu" 3720 3720 msgstr "" 3721 3721 3722 #: includes/functions.php:29 393722 #: includes/functions.php:2945 3723 3723 msgid "View seo settings menu" 3724 3724 msgstr "" 3725 3725 3726 #: includes/functions.php:31 163726 #: includes/functions.php:3122 3727 3727 msgid "Saturday" 3728 3728 msgstr "" 3729 3729 3730 #: includes/functions.php:31 193730 #: includes/functions.php:3125 3731 3731 msgid "Sunday" 3732 3732 msgstr "" 3733 3733 3734 #: includes/functions.php:312 23734 #: includes/functions.php:3128 3735 3735 msgid "Monday" 3736 3736 msgstr "" 3737 3737 3738 #: includes/functions.php:31 253738 #: includes/functions.php:3131 3739 3739 msgid "Tuesday" 3740 3740 msgstr "" 3741 3741 3742 #: includes/functions.php:31 283742 #: includes/functions.php:3134 3743 3743 msgid "Wednesday" 3744 3744 msgstr "" 3745 3745 3746 #: includes/functions.php:313 13746 #: includes/functions.php:3137 3747 3747 msgid "Thursday" 3748 3748 msgstr "" 3749 3749 3750 #: includes/functions.php:31 343750 #: includes/functions.php:3140 3751 3751 msgid "Friday" 3752 3752 msgstr "" 3753 3753 3754 #: includes/functions.php:31 373754 #: includes/functions.php:3143 3755 3755 msgid "Off Day" 3756 3756 msgstr "" 3757 3757 3758 #: includes/functions.php:34 443758 #: includes/functions.php:3450 3759 3759 msgid "privacy policy" 3760 3760 msgstr "" 3761 3761 3762 #: includes/functions.php:34 843762 #: includes/functions.php:3490 3763 3763 msgid "Please Login to Continue" 3764 3764 msgstr "" -
dokan-lite/trunk/readme.txt
r2129956 r2144282 6 6 Tested up to: 5.2.2 7 7 WC requires at least: 3.0 8 WC tested up to: 3. 6.58 WC tested up to: 3.7.0 9 9 Requires PHP: 5.6 10 10 Stable tag: trunk … … 285 285 == Changelog == 286 286 287 v2.9.20 -> August 23, 2019 288 ------------------------------------ 289 - **Fix*** Geolocation map settings value is not saving 290 - **Fix*** Fix warning in vendor dashboard widget when seller setup wizard is not run 291 - **Fix*** Store banner height in vendor settings page it not honouring the saved settings 292 - **Fix*** Conflict with avada theme fution builder 293 - **Tweak*** Use WordPress backend date format while printing date in approved and cancelled withdraw request 294 287 295 v2.9.19 -> July 29, 2019 288 296 ------------------------------------ -
dokan-lite/trunk/templates/settings/store-form.php
r2129956 r2144282 84 84 $general_settings = get_option( 'dokan_general', [] ); 85 85 $banner_width = dokan_get_option( 'store_banner_width', 'dokan_appearance', 625 ); 86 $banner_height = dokan_get_option( 'store_banner_ width', 'dokan_appearance', 625);86 $banner_height = dokan_get_option( 'store_banner_height', 'dokan_appearance', 300 ); 87 87 88 88 $help_text = sprintf( -
dokan-lite/trunk/templates/withdraw/approved-request-listing.php
r1994959 r2144282 23 23 <td><?php echo wc_price( $row->amount ); ?></td> 24 24 <td><?php echo esc_html( dokan_withdraw_get_method_title( $row->method ) ); ?></td> 25 <td><?php echo esc_html( date_i18n( 'M j, Y g:ia', strtotime( $row->date ) ) ); ?></td>25 <td><?php echo esc_html( date_i18n( get_option( 'date_format' ), strtotime( $row->date ) ) ); ?></td> 26 26 </tr> 27 27 <?php } ?> -
dokan-lite/trunk/templates/withdraw/cancelled-request-listing.php
r1994959 r2144282 24 24 <td><?php echo wc_price( $row->amount ); ?></td> 25 25 <td><?php echo esc_html( dokan_withdraw_get_method_title( $row->method ) ); ?></td> 26 <td><?php echo esc_html( date_i18n( 'M j, Y g:ia', strtotime( $row->date ) ) ); ?></td>26 <td><?php echo esc_html( date_i18n( get_option( 'date_format' ), strtotime( $row->date ) ) ); ?></td> 27 27 <td><?php echo wp_kses_post( $row->note ); ?></td> 28 28 </tr>
Note: See TracChangeset
for help on using the changeset viewer.