Changeset 3437579
- Timestamp:
- 01/12/2026 10:25:02 AM (3 months ago)
- Location:
- adscale-ai/trunk
- Files:
-
- 4 edited
-
adscale-ai.php (modified) (2 diffs)
-
changelog.txt (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
src/PluginApi/Orders.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adscale-ai/trunk/adscale-ai.php
r3435129 r3437579 8 8 * Plugin URI: https://www.adscale.com/integration/#woocommerce 9 9 * Description: AdScale plugin allows you to automate Ecommerce advertising across all channels and drive more sales to your store. Easily create, manage & optimize ads on one platform. 10 * Version: 2.2.1 310 * Version: 2.2.14 11 11 * Author: AdScale LTD 12 12 * Author URI: https://www.adscale.com … … 23 23 defined( 'ABSPATH' ) || exit; // Exit if accessed directly. 24 24 use AdScale\App; 25 define( 'ADSCALE_INTERNAL_MODULE_VERSION', 'v202601 08-M' );25 define( 'ADSCALE_INTERNAL_MODULE_VERSION', 'v20260112-M' ); 26 26 define( 'ADSCALE_PLUGIN_DIR', __DIR__ ); 27 27 define( 'ADSCALE_PLUGIN_FILE', __FILE__ ); -
adscale-ai/trunk/changelog.txt
r3435129 r3437579 1 1 *** AdScale AI Changelog *** 2 3 2026-01-12 - version 2.2.14 4 * Fix: WP_Query order date filtering now uses full-day boundaries (00:00:00–23:59:59) and inclusive ranges. 2 5 3 6 2026-01-08 - version 2.2.13 -
adscale-ai/trunk/readme.txt
r3435129 r3437579 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 2.2.1 37 Stable tag: 2.2.14 8 8 License: GPL-2.0+ 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
adscale-ai/trunk/src/PluginApi/Orders.php
r3435129 r3437579 394 394 395 395 if ($start || $end) { 396 $args['date_query'] = []; 396 // Initialize date_query and make the bounds inclusive. 397 $args['date_query'] = array( 398 'inclusive' => true, 399 ); 397 400 398 401 if ($start) { 399 $args['date_query'][] = ['column' => 'post_date', 'after' => $start]; 402 // From start of day (site timezone) 403 $args['date_query'][] = array( 404 'column' => 'post_date', 405 'after' => $start . ' 00:00:00', 406 ); 400 407 } 401 408 402 409 if ($end) { 403 $args['date_query'][] = ['column' => 'post_date', 'before' => $end]; 410 // Until end of day (site timezone) 411 $args['date_query'][] = array( 412 'column' => 'post_date', 413 'before' => $end . ' 23:59:59', 414 ); 404 415 } 405 416 }
Note: See TracChangeset
for help on using the changeset viewer.