Changeset 1572434
- Timestamp:
- 01/11/2017 11:52:01 AM (9 years ago)
- Location:
- trustvox/trunk
- Files:
-
- 4 edited
-
includes/api.php (modified) (1 diff)
-
includes/retro.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
trustvox.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trustvox/trunk/includes/api.php
r1452960 r1572434 10 10 $items_order = $order->get_items(); 11 11 $trustvox_options = get_option('trustvox'); 12 $trustvox = $items = []; 12 $items = array(); 13 $trustvox = $items; 14 // $trustvox = $items = []; 13 15 14 16 foreach ($items_order as $item) { 15 $item_arr = []; 17 // $item_arr = []; 18 $item_arr = array(); 16 19 17 20 $item_arr['id'] = $item['product_id']; -
trustvox/trunk/includes/retro.php
r1452960 r1572434 5 5 */ 6 6 7 // Envia os ultimos 3 meses de pedidos após a instalação do plugin7 // Envia os últimos 3 meses de pedidos após a instalação do plugin 8 8 function trustvox_inside_settings_page(){ 9 9 $currentPage = ( isset($_GET['page']) ) ? $_GET['page'] : false; -
trustvox/trunk/readme.txt
r1462234 r1572434 1 === Trustvox ===2 Contributors: cleytontrustvox, lampejos , thomazcia, felipedefarias, samuelbartag1 === Trustvox === 2 Contributors: cleytontrustvox, lampejos 3 3 Donate link: 4 4 Tags: trustvox, review, comentário, opinião, selo site sincero 5 5 Requires at least: 4.0 6 Tested up to: 4. 67 Stable tag: 0.6. 26 Tested up to: 4.7 7 Stable tag: 0.6.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 125 125 Adiciona a opção de modificar o titulo do widget na exibição do produto 126 126 127 = 0.6.3 = 128 Correção array php 129 130 = 0.6.4 = 131 Ajuste do arquivo readme 132 127 133 == Upgrade Notice == 128 134 = 0.1 = -
trustvox/trunk/trustvox.php
r1454755 r1572434 8 8 Text Domain: trustvox 9 9 Domain Path: /languages 10 Version: 0.6. 210 Version: 0.6.4 11 11 */ 12 12 … … 30 30 require dirname(__FILE__) . '/includes/front.php'; 31 31 32 // Verifica se j acontém o ID e o Token32 // Verifica se já contém o ID e o Token 33 33 $trustvox_options = get_option('trustvox', false); 34 34 35 35 if ( $trustvox_options != false and !empty($trustvox_options['loja_ID']) and !empty($trustvox_options['loja_token']) ) { 36 36 37 // Passa os pedidos conclu idos para a trustvox37 // Passa os pedidos concluídos para a trustvox 38 38 require dirname(__FILE__) . '/includes/api.php'; 39 39 40 // Ativa o envio retroativo dos pedidos feitos nos ultimos 3 meses40 // Ativa o envio retroativo dos pedidos feitos nos últimos 3 meses 41 41 require dirname(__FILE__) . '/includes/retro.php'; 42 42 … … 53 53 54 54 } else { 55 // Mensagem de erro para o plugin rodar apenas se tiver woocommerce55 // Mensagem de erro para o plugin rodar apenas se tiver woocommerce 56 56 function trustvox_woocommerce_not_found() { 57 57 $class = 'notice notice-error';
Note: See TracChangeset
for help on using the changeset viewer.