Skip to content

Commit b3af5c8

Browse files
committed
Updates & renames all dummy data to sample data.
1 parent c81b3cf commit b3af5c8

9 files changed

+3201
-5463
lines changed

.codeclimate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ratings:
1919
exclude_paths:
2020
- "tests/"
2121
- "apigen/"
22-
- "dummy-data/"
22+
- "sample-data/"
2323
- "i18n/"
2424
- "includes/api/legacy/"
2525
- "includes/libraries/"

.scrutinizer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ checks:
2424
filter:
2525
excluded_paths:
2626
- apigen/
27-
- dummy-data/
27+
- sample-data/
2828
- i18n/
2929
- includes/api/legacy/
3030
- includes/gateways/simplify-commerce/includes/

dummy-data/dummy-products.csv

-26
This file was deleted.

dummy-data/dummy-products.xml

-5,426
This file was deleted.

includes/admin/importers/class-wc-tax-rate-importer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function greet() {
244244
echo '<div class="narrow">';
245245
echo '<p>' . esc_html__( 'Hi there! Upload a CSV file containing tax rates to import the contents into your shop. Choose a .csv file to upload, then click "Upload file and import".', 'woocommerce' ) . '</p>';
246246

247-
echo '<p>' . sprintf( esc_html__( 'Tax rates need to be defined with columns in a specific order (10 columns). <a href="%s">Click here to download a sample</a>.', 'woocommerce' ), esc_url( WC()->plugin_url() ) . '/dummy-data/sample_tax_rates.csv' ) . '</p>';
247+
echo '<p>' . sprintf( esc_html__( 'Tax rates need to be defined with columns in a specific order (10 columns). <a href="%s">Click here to download a sample</a>.', 'woocommerce' ), esc_url( WC()->plugin_url() ) . '/sample-data/sample_tax_rates.csv' ) . '</p>';
248248

249249
$action = 'admin.php?import=woocommerce_tax_rate_csv&step=1';
250250

readme.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ Automatic updates should work like a charm; as always though, ensure you backup
112112

113113
If on the off-chance you do encounter issues with the shop/category pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal.
114114

115-
= Dummy data =
115+
= Sample data =
116116

117-
WooCommerce comes with some dummy data you can use to see how products look; either import dummy_data.xml via the [WordPress importer](https://wordpress.org/plugins/wordpress-importer/) or use our [CSV Import Suite plugin](https://woocommerce.com/products/product-csv-import-suite/) to import dummy_data.csv and dummy_data_variations.csv.
117+
WooCommerce comes with some sample data you can use to see how products look; import sample_products.xml via the [WordPress importer](https://wordpress.org/plugins/wordpress-importer/). You can also use the core CSV importer or our [CSV Import Suite plugin](https://woocommerce.com/products/product-csv-import-suite/) to import sample_products.csv.
118118

119119
== Frequently Asked Questions ==
120120

@@ -170,7 +170,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woocommerce/wo
170170
* Feature - Changing image sizes will trigger automatic thumbnail regeneration in the background.
171171
* Feature - Improved how downloads are stored within products, and added new reporting/logging features to track who downloaded what, when.
172172
* Feature - Improved the overall appearance of the backend orders list, and added a new 'preview' button to quickly see order details.
173-
* Feature - New default dummy data and placeholders.
173+
* Feature - New default sample data and placeholders.
174174
* Feature - Added sandbox and live API details to the PayPal standard data, as well as an indication on the checkout to what mode is currently active. PayPal IPN email notifications are also now optional.
175175
* Feature - Introduced product category threshold filter (`woocommerce_product_category_filter_threshold`). AJAX powered select will kick in when you have over 100 categories.
176176
* Feature - Added `add_to_cart_description` method and aria-labels to cart buttons in the loop for accessibility.
@@ -187,7 +187,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woocommerce/wo
187187
* Tweak - Post types with no archives should not show in breadcrumb.
188188
* Tweak - Only load session handler class on frontend not during cron.
189189
* Tweak - Moved the 'Store Notice" option into the customizer.
190-
* Tweak - Checkout Postcode / Zip validation error message was missing Billing / Shipping Identification.
190+
* Tweak - Checkout Postcode / Zip validation error message was missing Billing / Shipping Identification.
191191
* Tweak - Added Iris color picker validation.
192192
* Tweak - Use scrollIntoView on checkout.
193193
* Tweak - Converted input submit elements to button submit elements across the entire codebase for consistency.
@@ -210,12 +210,12 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woocommerce/wo
210210
* Dev - Added actions before calculations order totals and taxes and is_vat_excempt support.
211211
* Dev - Add filter 'woocommerce_coupon_get_apply_quantity'.
212212
* Dev - Grouped products; added filters to allow custom columns and changes to values.
213-
* Dev - Allow for cloning the WC_Cart object
214-
* Dev - Apply filters to registration-error-email-exists error.
213+
* Dev - Allow for cloning the WC_Cart object
214+
* Dev - Apply filters to registration-error-email-exists error.
215215
* Dev - Added `woocommerce_cross_sells_order` filter.
216-
* Dev - Add order-details `before` hooks to complement existing hooks.
216+
* Dev - Add order-details `before` hooks to complement existing hooks.
217217
* Dev - WC_CHUNK_SIZE constant for controlling readfile.
218-
* Dev - Add short circuit to customer bought product function.
218+
* Dev - Add short circuit to customer bought product function.
219219
* Dev - Added a `wc_caught_exception` method to aid with logging.
220220
* Dev - Added Data stores and CRUD for working with Webhooks.
221221
* Dev - Bumped minimum WP version requirement to 4.5 and removed legacy API files.

0 commit comments

Comments
 (0)