Plugin Directory

Changeset 1605117


Ignore:
Timestamp:
02/28/2017 10:07:07 AM (9 years ago)
Author:
afterworkdelivery
Message:

have been fixed some warnings

Location:
afterwork-delivery
Files:
38 added
5 edited

Legend:

Unmodified
Added
Removed
  • afterwork-delivery/trunk/core/classes/wtlv-afterworkdelivery-classic.php

    r1523971 r1605117  
    4444                    'type' => 'text',
    4545                    'description' => __('This controls the title which the user sees during checkout.', 'woocommerce'),
    46                     'default' => __('Livraison entre 72h et 5 jours', $this->id),
     46                    'default' => __('Afterwork Delivery : Livraison à domicile sur rendez-vous (en journée, en soirée et le weekend) contre signature', $this->id),
    4747
    4848                ),
     
    5353        }
    5454
    55         public function calculate_shipping( $package )
     55        public function calculate_shipping( $package = array())
    5656        {
    5757
  • afterwork-delivery/trunk/core/classes/wtlv-afterworkdelivery-express.php

    r1523971 r1605117  
    5555        }
    5656
    57         public function calculate_shipping( $package )
     57        public function calculate_shipping( $package = array())
    5858        {
    5959            if( empty($package['destination']['postcode']) )
  • afterwork-delivery/trunk/core/core.php

    r1523971 r1605117  
    1313        private function Init()
    1414        {
    15 
    1615            $this->Attr_Set('prefix', $this->prefix);
    1716
     
    2120            $this->Scripts_Init();
    2221            $this->Shortcodes_Init();
    23             $this->Plugin_Classes_Init();
     22
     23            // called only after woocommerce has finished loading
     24            add_action( 'woocommerce_init', array( $this, 'Plugin_Classes_Init' ) );
    2425
    2526            add_action( 'init', array($this, 'Actions_Init') );
    26 
    2727        }
    2828
  • afterwork-delivery/trunk/data/css/front-style.css

    r1523971 r1605117  
    11.wtlv-logo {
    2     display: block;
     2    display: inline-block;
     3    margin-right: 20px;
    34    position: relative;
    45    width: 170px;
  • afterwork-delivery/trunk/readme.txt

    r1524000 r1605117  
    44Plugin Name:       AfterWork Delivery
    55Requires at least: 3.5
    6 Tested up to:      4.5.2
    7 Stable tag:        1.0.1
    8 Version:           1.0.1
     6Tested up to:      4.5.2
     7Stable tag:        1.0.2
     8Version:           1.0.2
    99Tags:              Afterworkdelivery, shipping, delivery, Afterwork Delivery, WeeTeam
    1010License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.