diff --git a/README.md b/README.md index f36e633..d37bf46 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,3 @@ When creating a public release, do the following: * Post your changelog notes in the description of the release. * Create & attach a binary containing a zip for the latest plugin version. The binary name should be `wc-api-dev.zip`. Please double check that the folder inside the archive is also called `wc-api-dev` and not something like `wc-api-dev-###hash` or `wc-api-dev-master`. You can create this binary by downloading a zip from GitHub, unzipping, and renaming the folder. * Publish your release. - -## Translation - -For strings located in API endpoints, use `woocommerce` as your text-domain. These endpoints will at some point be merged back into WooCommerce Core. - -For other changes (such as the `hotfixes/` folder, which is being used to power an in-development interface for managing stores on WordPress.com) that are not to be merged into core, you can use `wc-api-dev` as your text-domain. These will most likely be split-out into a separate plugin soon. diff --git a/hotfixes/wc-api-dev-cheque-defaults.php b/hotfixes/wc-api-dev-cheque-defaults.php deleted file mode 100644 index 9b01588..0000000 --- a/hotfixes/wc-api-dev-cheque-defaults.php +++ /dev/null @@ -1,19 +0,0 @@ -plugin_dir . '/wc-api-dev.php' ); } diff --git a/wc-api-dev.php b/wc-api-dev.php index 412b78f..a9efba4 100644 --- a/wc-api-dev.php +++ b/wc-api-dev.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce API Dev * Plugin URI: https://woocommerce.com/ * Description: A feature plugin providing a bleeding edge version of the WooCommerce REST API. - * Version: 0.8.1 + * Version: 0.8.0 * Author: Automattic * Author URI: https://woocommerce.com * Requires at least: 4.4 @@ -15,10 +15,6 @@ define( 'WC_API_DEV_AUTO_UPDATE', true ); } -if ( ! defined( 'WC_API_DEV_ENABLE_HOTFIXES' ) ){ - define( 'WC_API_DEV_ENABLE_HOTFIXES', true ); -} - if ( defined( 'WC_API_DEV_AUTO_UPDATE' ) && true === WC_API_DEV_AUTO_UPDATE ) { include_once( plugin_dir_path( __FILE__ ) . 'auto-update.php' ); new WC_API_Dev_Updater; @@ -123,11 +119,8 @@ public function includes() { include_once( dirname( __FILE__ ) . '/api/class-wc-rest-dev-payment-gateways-controller.php' ); // Things that aren't related to a specific endpoint but to things like cross-plugin compatibility - if ( defined( 'WC_API_DEV_ENABLE_HOTFIXES' ) && true === WC_API_DEV_ENABLE_HOTFIXES ) { - include_once( dirname( __FILE__ ) . '/hotfixes/wc-api-dev-jetpack-hotfixes.php' ); - include_once( dirname( __FILE__ ) . '/hotfixes/wc-api-dev-email-site-title.php' ); - include_once( dirname( __FILE__ ) . '/hotfixes/wc-api-dev-cheque-defaults.php' ); - } + include_once( dirname( __FILE__ ) . '/hotfixes/wc-api-dev-jetpack-hotfixes.php' ); + include_once( dirname( __FILE__ ) . '/hotfixes/wc-api-dev-email-site-title.php' ); } /**