Commit Graph

47768 Commits

Author SHA1 Message Date
Ilyas Foo 0b2df9a956 Fix text domain, standardize component conditional, remove unnecessary comment 2022-04-12 10:52:11 +08:00
Jacob Sewell e1db7ab0f2 Changelog for 32573/32574. 2022-04-11 21:17:59 -05:00
Ilyas Foo 7cca9642f4 Remove enabled section 2022-04-12 10:09:07 +08:00
Jacob Sewell e83631983a Add unit tests for new context param in Notes\DataStore::get_notes(). 2022-04-11 21:09:04 -05:00
Jacob Sewell 0ae4f8e484 Add context param to Notes\DataStore::get_notes() and associated methods/filters. 2022-04-11 21:08:26 -05:00
Ilyas Foo e2da686c31 Add eway 2022-04-12 09:49:23 +08:00
Chi-Hsuan Huang 0dcea11bf0
Merge pull request #32531 from Saggre/fix/table-card-docs
Fix TableCard component docs
2022-04-12 08:59:43 +08:00
Corey McKrill ac1ad607b4
Normalize auto-draft as a status in the abstract order class
Ensures that an existing order with auto-draft status won't be
interpreted as pending when determining if the status has changed.

This also fixes an unrelated phpcs formatting error in order to pass the
precommit checks.

Fixes #32539
2022-04-11 16:29:43 -07:00
barryhughes 49b3a328ce PHPCS/formatting fixes; restore inadvertently removed test. 2022-04-11 15:51:55 -07:00
barryhughes 10b8eef1f2 Add changelog. 2022-04-11 15:44:10 -07:00
barryhughes 4729ae1f01 Product downloads → support a concept of active/inactive files. 2022-04-11 14:59:56 -07:00
moon 3c8043885d Add changelog 2022-04-11 10:33:25 -07:00
Jorge A. Torres e9e382adf8
Merge pull request #32034 from woocommerce/cot/31766
Add migration to move orders from wp_posts to custom tables
2022-04-11 14:30:02 -03:00
moon 2bc077e0c9 Clear the note hook directly 2022-04-11 10:26:55 -07:00
moon f2159c4bc2 Fix broken tests 2022-04-11 10:26:55 -07:00
moon 75c7359b27 Import missing namespace 2022-04-11 10:26:55 -07:00
moon 27bf0e5c96 Add WCA clean up code to uninstall.php 2022-04-11 10:26:55 -07:00
moon 1ca12a8784 Update delete_obsolete_notes to use $wpdb directly to delete the notes -- note store is not available when the plugin is activated via CLI 2022-04-11 10:26:55 -07:00
moon ae6a658578 Add replacements for the deprecated actions 2022-04-11 10:26:55 -07:00
moon 2d56be4966 Remove plugin-version test -- we no longer have woocommerce-admin.php 2022-04-11 10:26:55 -07:00
moon 9e90b3be89 Fix styling 2022-04-11 10:26:55 -07:00
moon 5376bd03ce Add WCA uninstall routines 2022-04-11 10:26:55 -07:00
moon 474cff5db6 Remove unnecessary variable 2022-04-11 10:26:55 -07:00
moon 52de6e872b Add tests for the install class 2022-04-11 10:26:55 -07:00
moon 5af9e1f066 Fix failing test 2022-04-11 10:26:55 -07:00
moon 03d3ffe1f9 Delete WCA install completely 2022-04-11 10:26:55 -07:00
moon c17cbb5dbd Remove WCA Install class references 2022-04-11 10:26:55 -07:00
moon 3c1ce9c613 Make create_tables public -- this is needed from WCA classes 2022-04-11 10:26:55 -07:00
moon 70ff5ad3ae Move delete_obsolete_notes to the core 2022-04-11 10:26:55 -07:00
moon 0dae9d450e Move migrate_options to core 2022-04-11 10:26:55 -07:00
moon 9a038a4bd2 Move create_tables to the core 2022-04-11 10:26:55 -07:00
moon dbe913ea0e Move create_cron_jobs to the core 2022-04-11 10:26:55 -07:00
moon 05200a99fb Move $db_updates to the core 2022-04-11 10:26:55 -07:00
moon f974b15f28 Use the new actions 2022-04-11 10:26:55 -07:00
moon 940fcd3157 Remove unnecessary calls 2022-04-11 10:26:55 -07:00
moon 224985adfb Update WCA db update logic -- uses the same logic as the core 2022-04-11 10:26:55 -07:00
moon 663aa3cc72 Add is_installing for backward compatibility 2022-04-11 10:26:55 -07:00
moon f3396df6c0 Add woocommerce_admin_version for backward compatibility 2022-04-11 10:26:55 -07:00
moon abbe855668 Migrate install method to the core
* Moved woocommerce_admin_updated, woocommerce_admin_newly_installed, woocommerce_admin_updated_existing actions to the core -- they are deprecated now

* Added woocommerce_updated, woocommerce_newly_installed, and woocommerce_updated_existing actions
2022-04-11 10:26:55 -07:00
moon f8944a8f54 Remove install from the WCA install
* Moved woocommerce_admin_install_timestamp option and woocommerce_admin_installed action to the core
2022-04-11 10:26:55 -07:00
moon f4af74aa61 Call maybe_update_db_version from the core install 2022-04-11 10:26:55 -07:00
moon eabbab9832 Stop calling maybe_update_db_version 2022-04-11 10:26:55 -07:00
moon 60ce353c0d Call delete_obsolete_notes from the core install 2022-04-11 10:26:55 -07:00
moon 80d5d7fc43 Call create_cron_jobs from the core install. I also renamed create_events to create_cron_jobs to match the function name used in the core 2022-04-11 10:26:55 -07:00
moon eb5e56e374 Call WCA create_tables from the core install 2022-04-11 10:26:55 -07:00
moon 1a86750d06 Call migrate_options from the core install 2022-04-11 10:26:55 -07:00
moon f4a191031c Migrate wpmu_drop_tables logic to core 2022-04-11 10:26:55 -07:00
moon fc7adc283d Add changelog 2022-04-11 10:08:14 -07:00
moon becc53d645 Make sure paymentGatewaySuggestions is defined 2022-04-11 09:55:18 -07:00
jonathansadowski 33bea63963
Merge pull request #32564 from woocommerce/fix/changelogger-more-fetch-depth
Fetch more git history for changelogger comparison
2022-04-11 11:37:20 -05:00