Changeset 3383485
- Timestamp:
- 10/23/2025 01:49:40 PM (4 months ago)
- Location:
- myd-delivery
- Files:
-
- 12 edited
- 1 copied
-
tags/1.2 (copied) (copied from myd-delivery/trunk)
-
tags/1.2/README.txt (modified) (2 diffs)
-
tags/1.2/includes/api.php (modified) (2 diffs)
-
tags/1.2/includes/class-orders-front-panel.php (modified) (3 diffs)
-
tags/1.2/myd-delivery.php (modified) (2 diffs)
-
tags/1.2/templates/admin/dashboard.php (modified) (1 diff)
-
tags/1.2/templates/admin/settings-tabs/payment/tab-payment.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/api.php (modified) (2 diffs)
-
trunk/includes/class-orders-front-panel.php (modified) (3 diffs)
-
trunk/myd-delivery.php (modified) (2 diffs)
-
trunk/templates/admin/dashboard.php (modified) (1 diff)
-
trunk/templates/admin/settings-tabs/payment/tab-payment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
myd-delivery/tags/1.2/README.txt
r3379185 r3383485 5 5 Requires at least: 5.5 6 6 Tested up to: 6.8 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 Requires PHP: 7.4 9 9 License: GPL-3.0+ … … 76 76 == Changelog == 77 77 78 = 1.2 = 79 * Changed: code improvements. 80 * Changed: payment type options don't show in some conditions. 81 * Changed: orders page showing finished orders. 82 78 83 = 1.1 = 79 84 * Changed: code improvements. -
myd-delivery/tags/1.2/includes/api.php
r3379132 r3383485 46 46 'posts_per_page' => 1, 47 47 'no_found_rows' => true, 48 'orderby' => 'date', 49 'order' => 'DESC', 50 'post_status' => 'publish', 48 51 'meta_query' => [ 52 [ 49 53 'key' => 'order_status', 50 54 'value' => [ … … 52 56 'confirmed', 53 57 'in-delivery', 58 'done', 59 'waiting', 54 60 ], 55 61 'compare' => 'IN', 56 62 ], 63 ], 57 64 ]; 58 65 -
myd-delivery/tags/1.2/includes/class-orders-front-panel.php
r3379132 r3383485 4 4 5 5 if ( ! defined( 'ABSPATH' ) ) { 6 exit; // Exit if accessed directly.6 exit; 7 7 } 8 8 … … 27 27 'posts_per_page' => 30, 28 28 'no_found_rows' => true, 29 'orderby' => 'date', 30 'order' => 'DESC', 31 'post_status' => 'publish', 29 32 'meta_query' => [ 30 'key' => 'order_status', 31 'value' => [ 32 'new', 33 'confirmed', 34 'in-delivery', 35 'done', 36 'waiting', 33 [ 34 'key' => 'order_status', 35 'value' => [ 36 'new', 37 'confirmed', 38 'in-delivery', 39 'done', 40 'waiting', 41 ], 42 'compare' => 'IN', 37 43 ], 38 'compare' => 'IN',39 44 ], 40 45 ]; … … 194 199 die( esc_html__( 'Ops! Security check failed.', 'myd-delivery' ) ); 195 200 } else { 196 if ( empty( $this->orders_object ) ) { 197 /** 198 * Query orders 199 */ 200 $orders = new Myd_Store_Orders( $this->default_args ); 201 $orders = $orders->get_orders_object(); 202 $this->orders_object = $orders; 203 } 201 $orders = new Myd_Store_Orders( $this->default_args ); 202 $orders = $orders->get_orders_object(); 203 $this->orders_object = $orders; 204 204 205 205 echo wp_json_encode( array( -
myd-delivery/tags/1.2/myd-delivery.php
r3379150 r3383485 6 6 * Author: EduardoVillao.me 7 7 * Author URI: https://eduardovillao.me/ 8 * Version: 1. 18 * Version: 1.2 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 5.5 … … 26 26 define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) ); 27 27 define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) ); 28 define( 'MYDDELIVERY_VERSION', '1. 1' );28 define( 'MYDDELIVERY_VERSION', '1.2' ); 29 29 define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' ); 30 30 define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' ); -
myd-delivery/tags/1.2/templates/admin/dashboard.php
r3379132 r3383485 124 124 <picture> 125 125 <source srcset="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.avif' ); ?>"> 126 <img id="mydd-admin-support-ilustration" src="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.webp' ); ?>" alt="<?php esc_attr_e( 'Support Illustration', 'myd-delivery' ); ?>" >126 <img id="mydd-admin-support-ilustration" src="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.webp' ); ?>" alt="<?php esc_attr_e( 'Support Illustration', 'myd-delivery' ); ?>" decoding="async"> 127 127 </picture> 128 128 <p class="mydd-admin-card__support-description"> -
myd-delivery/tags/1.2/templates/admin/settings-tabs/payment/tab-payment.php
r3379150 r3383485 92 92 rows="5" 93 93 class="large-text" 94 ><?php esc_html ( $payment_type, 'myd-delivery' ); ?></textarea>94 ><?php esc_html_e( $payment_type, 'myd-delivery' ); ?></textarea> 95 95 <p class="description"> 96 96 <?php esc_html_e( 'These are payment options to be used directly upon delivery and not while placing the order in the system.', 'myd-delivery' ); ?> -
myd-delivery/trunk/README.txt
r3379185 r3383485 5 5 Requires at least: 5.5 6 6 Tested up to: 6.8 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 Requires PHP: 7.4 9 9 License: GPL-3.0+ … … 76 76 == Changelog == 77 77 78 = 1.2 = 79 * Changed: code improvements. 80 * Changed: payment type options don't show in some conditions. 81 * Changed: orders page showing finished orders. 82 78 83 = 1.1 = 79 84 * Changed: code improvements. -
myd-delivery/trunk/includes/api.php
r3379132 r3383485 46 46 'posts_per_page' => 1, 47 47 'no_found_rows' => true, 48 'orderby' => 'date', 49 'order' => 'DESC', 50 'post_status' => 'publish', 48 51 'meta_query' => [ 52 [ 49 53 'key' => 'order_status', 50 54 'value' => [ … … 52 56 'confirmed', 53 57 'in-delivery', 58 'done', 59 'waiting', 54 60 ], 55 61 'compare' => 'IN', 56 62 ], 63 ], 57 64 ]; 58 65 -
myd-delivery/trunk/includes/class-orders-front-panel.php
r3379132 r3383485 4 4 5 5 if ( ! defined( 'ABSPATH' ) ) { 6 exit; // Exit if accessed directly.6 exit; 7 7 } 8 8 … … 27 27 'posts_per_page' => 30, 28 28 'no_found_rows' => true, 29 'orderby' => 'date', 30 'order' => 'DESC', 31 'post_status' => 'publish', 29 32 'meta_query' => [ 30 'key' => 'order_status', 31 'value' => [ 32 'new', 33 'confirmed', 34 'in-delivery', 35 'done', 36 'waiting', 33 [ 34 'key' => 'order_status', 35 'value' => [ 36 'new', 37 'confirmed', 38 'in-delivery', 39 'done', 40 'waiting', 41 ], 42 'compare' => 'IN', 37 43 ], 38 'compare' => 'IN',39 44 ], 40 45 ]; … … 194 199 die( esc_html__( 'Ops! Security check failed.', 'myd-delivery' ) ); 195 200 } else { 196 if ( empty( $this->orders_object ) ) { 197 /** 198 * Query orders 199 */ 200 $orders = new Myd_Store_Orders( $this->default_args ); 201 $orders = $orders->get_orders_object(); 202 $this->orders_object = $orders; 203 } 201 $orders = new Myd_Store_Orders( $this->default_args ); 202 $orders = $orders->get_orders_object(); 203 $this->orders_object = $orders; 204 204 205 205 echo wp_json_encode( array( -
myd-delivery/trunk/myd-delivery.php
r3379150 r3383485 6 6 * Author: EduardoVillao.me 7 7 * Author URI: https://eduardovillao.me/ 8 * Version: 1. 18 * Version: 1.2 9 9 * Requires PHP: 7.4 10 10 * Requires at least: 5.5 … … 26 26 define( 'MYDDELIVERY_BASENAME', plugin_basename( __FILE__ ) ); 27 27 define( 'MYDDELIVERY_DIRNAME', plugin_basename( __DIR__ ) ); 28 define( 'MYDDELIVERY_VERSION', '1. 1' );28 define( 'MYDDELIVERY_VERSION', '1.2' ); 29 29 define( 'MYDDELIVERY_MIN_PHP_VERSION', '7.4' ); 30 30 define( 'MYDDELIVERY_MIN_WP_VERSION', '5.5' ); -
myd-delivery/trunk/templates/admin/dashboard.php
r3379132 r3383485 124 124 <picture> 125 125 <source srcset="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.avif' ); ?>"> 126 <img id="mydd-admin-support-ilustration" src="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.webp' ); ?>" alt="<?php esc_attr_e( 'Support Illustration', 'myd-delivery' ); ?>" >126 <img id="mydd-admin-support-ilustration" src="<?php echo esc_url( MYDDELIVERY_URL . 'assets/img/admin/support.webp' ); ?>" alt="<?php esc_attr_e( 'Support Illustration', 'myd-delivery' ); ?>" decoding="async"> 127 127 </picture> 128 128 <p class="mydd-admin-card__support-description"> -
myd-delivery/trunk/templates/admin/settings-tabs/payment/tab-payment.php
r3379150 r3383485 92 92 rows="5" 93 93 class="large-text" 94 ><?php esc_html ( $payment_type, 'myd-delivery' ); ?></textarea>94 ><?php esc_html_e( $payment_type, 'myd-delivery' ); ?></textarea> 95 95 <p class="description"> 96 96 <?php esc_html_e( 'These are payment options to be used directly upon delivery and not while placing the order in the system.', 'myd-delivery' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.