Plugin Directory

Changeset 2771713


Ignore:
Timestamp:
08/17/2022 03:18:48 PM (4 years ago)
Author:
lucascreativecode
Message:

Campo complemento

Location:
unienvios/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • unienvios/trunk/index.php

    r2771691 r2771713  
    44Plugin URI: https://unienvios.com.br/
    55Description: Plugin de Entrega
    6 Version: 1.3.3
     6Version: 1.3.4
    77Author: Unienvios
    88Author URI: https://unienvios.com.br/
     
    102102        $number = $order->get_meta('_billing_number');
    103103        $neighbourhood = $order->get_meta('_shipping_neighborhood');
    104         $complement = $order->get_meta('_billing_address_2');
     104        $complement = $order->get_meta('_billing_address_2') ? $order->get_meta('_billing_address_2') : $order->data['shipping']['address_2'];
    105105
    106106        $dados = [
  • unienvios/trunk/readme.txt

    r2771691 r2771713  
    55Requires at least: 4.7
    66Tested up to: 5.8
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.4
    88Requires PHP: 7.2
    99License: GPLv3 or later
     
    8080* Erro do campo complemento resolvido
    8181= 1.3.3 =
     82
     83* Erro do campo complemento resolvido
     84= 1.3.4 =
Note: See TracChangeset for help on using the changeset viewer.