A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Jeff Stieler 2358f022ef Declare the note constants on the deprecated class. (https://github.com/woocommerce/woocommerce-admin/pull/5215)
* Declare the note constants on the deprecated class.

This avoids triggering PHP errors when third party code references the old class constants.

* Remove deprecation notices and return the call result

* Restore deprecated notices.

* Avoid magic strings.

* Pass WC_Admin_Note constructor argument to migrated class.

* Allow subclasses to access the facade class instance.

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-06 08:56:40 -04:00
plugins/woocommerce-admin Declare the note constants on the deprecated class. (https://github.com/woocommerce/woocommerce-admin/pull/5215) 2020-10-06 08:56:40 -04:00