Commit Graph

3037 Commits

Author SHA1 Message Date
Claudio Sanches 92ad1b43b2 Updated webhook admin options 2016-11-22 23:08:22 -02:00
Claudio Sanches 5d1c074998 Fixed headers response data 2016-11-22 22:48:31 -02:00
Claudio Sanches a98c4b429f Fixed broke webhooks pagination label 2016-11-22 22:48:00 -02:00
Claudio Sanches 4d85905c0b Allow set webhook api version on admin 2016-11-22 21:58:36 -02:00
Justin Shreve 90e93e1eba Set a blank default name when displaying the shipping zone form, so the placeholder will be used instead. 2016-11-22 10:52:58 -08:00
Mike Jolley bc1103b438 Missing key in download variation 2016-11-22 15:43:21 +00:00
Mike Jolley b73bbabab6 Fix missing key variable 2016-11-22 15:41:37 +00:00
Mike Jolley 32de28355a Merge branch 'master' into order-data-store
# Conflicts:
#	includes/admin/meta-boxes/class-wc-meta-box-order-data.php
2016-11-21 14:45:46 +00:00
Mike Jolley b81bde4f5a admin updates 2016-11-18 19:56:17 +00:00
Claudio Sanches 0806897fa8 Keep backwards compatibility while saving and displaying order custom addresses metadata on admin 2016-11-18 17:40:32 -02:00
Mike Jolley b1565cf0d6 Download update routine and interface 2016-11-18 19:29:37 +00:00
Mike Jolley 1b6d7acd24 Data store for downloads 2016-11-18 17:13:02 +00:00
Claudio Sanches 6d66391a68 Merge pull request #12388 from woocommerce/terms-performance
Optimize terms queries
2016-11-18 13:01:38 -02:00
Claudio Sanches 2a4aa26a31 Removed extra … 2016-11-18 12:19:44 -02:00
Claudio Sanches a27ac728f3 Fixed undefined post 2016-11-18 12:17:29 -02:00
Claudio Sanches 7bf6fa0f11 Merge pull request #12391 from woocommerce/support-wp47-bulk-actions
Use new WP 4.7 bulk actions filters
2016-11-18 09:14:24 -02:00
Claudio Sanches c0809d0b72 Fixed a typo and missing comma 2016-11-18 09:13:37 -02:00
Claudio Sanches 375b6e9789 Remove legacy dependency code 2016-11-17 19:06:46 -02:00
Claudio Sanches 92c7cafff8 Use new WP 4.7 bulk actions filters, closes #12379 2016-11-17 18:57:48 -02:00
Claudio Sanches f5a228509a Fixed coding standards 2016-11-17 18:07:58 -02:00
Claudio Sanches e1aeba9f21 Remove all wp_get_post_terms() and wp_get_object_terms() terms occurrences 2016-11-17 17:02:05 -02:00
James Koster 1039babe2c manual order creation - make address load/copy icons text links to improve usability. closes #12356 2016-11-17 12:38:15 +00:00
Justin Shreve 20fca44334 Handle product quick and bulk edit. 2016-11-16 12:54:53 -08:00
Justin Shreve a6155c2d7c Add zone_id to get_zones output for ajax. 2016-11-16 04:54:42 -08:00
Justin Shreve 735c1b7a14 Finish moving queries to the shipping zone data store, update usage of deprecated get_zone_id, legacy updates. 2016-11-16 04:53:23 -08:00
Mike Jolley 76b32c9aa5 WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Sanitize ids later

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Bump template version

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* Made abstract function useful

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* Allow WP_Query to preload post data, and meta in wc_get_products()

Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Sanitize ids later

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Bump template version

* Made abstract function useful

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* Prevent notices

* Handle image_id from parent

* Fix error

* Remove _wc_save_product_price

* Remove todo

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* [Product CRUD] Abstract todos (#12305)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Revert "[Product CRUD] Abstract todos (#12305)"

This reverts commit 9a6136fcf8.

* Remove deprecated get_variation_id()

* New default attributes method

* [Product CRUD] Product Datastore (#12317)

* Fix up tests in the product/* folder.

* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.

* Variations & variable changes.

* Update -functions.php calls to use data store.

* Add an interface for the public product data store methods.

* Finished product factory tests

* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.

* Fix up delete in all versions of the api

* Handle feedback

* Match protected decloration to parent

* Product crud abstract todos (#12316)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Fix up store

* Fixed method returning in write context

* Fix error in variation admin

* Check for parent value - fixes tax class

* Remove old/complete todos

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* Remove deprecated get_variation_id()

* New default attributes method

* Fixed method returning in write context

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed coding standards

* TODO is not accurate.

* Should pass WC_Product instancies to WC_Comments methods (#12327)

* Use new method in abstract order class to prevent headers sent issue in tests

* Fixed variable description in REST API

* Updated how create initial product variation

* Fixed a few fatal errors and warnings in Products CRUD (#12329)

* Fixed a few fatal errors and warnings in Products CRUD

* Fixed sync functions

* Add variations CRUD to legacy API (#12331)

* Apply crud to variable products in legacy API v1

* New REST API do not need fallback for default attributes

* Apply variations CRUD to legacy API v2

* Legacy v2 - save default attributes

* Variations in legacy API v2 do not have descriptions

* Fixed legacy API v2 variations params

* Applied variations CRUD to legacy API v3

* Sync before save in legacy apis

* Punc

* Removed API todos

* Removed test

* Products endpoint tweaks (#12354)

* Var type already normalized on CRUD

* Let Product CRUD handle with validation, sanitization and conditional checks

* Set downloads using WC_Product_Download

* Stop try catch exceptions more than one time

* Handle WC_Data_Exception in legacy API

* Complete remove products when fails on creating

* On creating I mean!

* Already have a method to complete delete products

* Fixed standards using WP CodeSniffer

* get_the_terms() returns false when empty

* get_manage_stock returns boolean

@claudiosanches

* Merge conflict

* Variations API endpoint fixes

* Product CRUD improvements (#12359)

* args is not used any more - remove todo

* Added test for attributes

* wc_get_price_excluding_tax usage

* parent usage

* Fix rating counts

* Test fixes

* Cleanup after tests

* Make sure status transition code runs even during API calls, not just in admin.

* Default visibility

* Fix attribute setting in API

* Use get name instead of get title

* variation id usage

* Improved cross sell templates

* variation_data

* Grouped product sync

* Notices

* Sync is not needed in API

* Delete

* Rename interfaces

* Update counts in data store
2016-11-16 12:38:24 +00:00
Mike Jolley c3b4f87d4a Fix text
Closes #12294
2016-11-10 16:18:05 +00:00
Justin Shreve 8612ce877c Merge pull request #12284 from woocommerce/system-status-security-section
New system status security section
2016-11-10 00:53:48 -08:00
Claudio Sanches 4d4fb839be Applied REST API methods for security section on system status page 2016-11-09 22:19:47 -02:00
Claudio Sanches 6b5786e35f Updated messages 2016-11-09 11:54:28 -02:00
Claudio Sanches 49a574e704 Move all JavaScript from system status page to a new file (#12283) 2016-11-09 11:36:14 +00:00
Claudio Sanches 52f09d9fda New system status security section 2016-11-08 21:00:46 -02:00
Claudio Sanches d0fae22528 Fixed undefined property on admin addons 2016-11-08 18:31:39 -02:00
Rami Yushuvaev 402216a553 a11y: add `role="button"` to delete note links 2016-11-05 19:12:04 +02:00
Rami Yushuvaev e71cae8d8f a11y: make order notes metabox accessible 2016-11-05 18:56:03 +02:00
Rami Yushuvaev d85075dcb0 a11y: replace `title` attributes with `aria-label`, for better accessibility 2016-11-04 17:41:51 +02:00
Rami Yushuvaev 9469673c05 a11y: remove unneeded `title` attributes 2016-11-04 17:40:15 +02:00
Claudio Sanches 2de494e105 Merge pull request #12219 from ramiy/i18n-translation-comments
i18n: add translators comments
2016-11-03 13:24:35 -02:00
Mike Jolley 32e814eef1 Use all paid statuses in $customer->get_total_spent() 2016-11-03 11:27:03 +00:00
Rami Yushuvaev 55f08d62ae add translators comments 2016-10-29 23:03:28 +03:00
Rami Yushuvaev cb0b487433 Fix travis error 2016-10-29 20:51:23 +03:00
Rami Yushuvaev 93d55dade9 add translators comments 2016-10-29 20:32:38 +03:00
Rami Yushuvaev 9c9f165448 Fix travis error 2016-10-29 16:10:55 +03:00
Rami Yushuvaev 4e36ce7425 add translators comments 2016-10-29 15:57:09 +03:00
Rami Yushuvaev 8ab8bef52e add translators comments 2016-10-29 13:51:56 +03:00
Rami Yushuvaev 6cc301e58c add translators comments 2016-10-29 13:16:03 +03:00
Claudio Sanches 4a1d5d3b0c Use Order CRUD to save admin order data (#12181)
* Fixed downlodable permissions while updating orders.

- Fixed undefined $wpdb fatal error
- Fixed how to update permissions when updated the billing_email

cc @mikejolley

* Use order CRUD to update admin order data

* Updated WC_Meta_Box_Order_Data::save() params and updated docblocks

* Missing period

* Handle cache and status on CRUD side
2016-10-28 10:52:01 +01:00
Claudio Sanches 7c28cb4d27 Merge pull request #12199 from woocommerce/product-checkboxes
Improved product type options.
2016-10-27 16:04:16 -02:00
Claudio Sanches fa0c710802 i18n <a> links, closes #12195 2016-10-27 15:36:24 -02:00
Claudio Sanches 9b0b4be843 Improved product type options, closes #12183 2016-10-27 15:06:33 -02:00
Rami Yushuvaev 0be4db2261 more i18n updates (#12189)
* i18n: simpler translation strings

* i18n: simpler translation strings

* i18n: readble printf(), and moving the %s placeholder to `%s product`

* i18n: make string translatable and remove the HTML tags

* i18n: avoide using HTML tags in translatino strings

* i18n: move the colon into the translation string and use %s placeholder for the IP

* i18n: use sprintf() on field-validation translation strings, and unify those strings

* i18n: move colons into the translation strings

* i18n: use `%s` placeholder as the site name in "Powered by WooCommerce" string

* i18n: use `%s` placeholder for min and max price

* i18n: rewrite the translation strings printf()
2016-10-26 14:35:52 -02:00
Rami Yushuvaev 0c1e531091 few more i18n updates (#12185)
* i18n: simpler translation strings

* i18n: simpler translation strings

* i18n: readble printf(), and moving the %s placeholder to `%s product`

* i18n: make string translatable and remove the HTML tags

* i18n: avoide using HTML tags in translatino strings
2016-10-26 11:31:32 -02:00
Rami Yushuvaev 59dc477a20 Direction characters (i18n, RLT, a11y) (#12177)
* RTL+i18n: product title stricture as translation string to allow RTL languages to change `&rarr;` TO `&larr;`

* i18n: move the `&rarr;` into the translation string to allow RTL languages to translate to `&larr;`

* RTL: product filter indent using `&rarr;` and `&larr;` chars

* a11y: remove `&larr;` char, it's a bad accessibility practice to use visual indicators to point to menus

* a11y: remove `&larr;` char, it's a bad accessibility practice to use visual indicators to point to menus
2016-10-25 21:34:50 -02:00
Mike Jolley 6c80a08174 [2.6] Split method up and check permissions
Closes #12168
2016-10-25 11:43:44 +01:00
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Rami Yushuvaev f27499b501 i18n Improvements (#12078)
* use %s in translations strings

* merge simmilar error strings

* i18n: use sprintf() in translation strings to make them easier to understand for translators

* i18n: remove sprintf() function from translation string with unused parameter

* i18n: move colons and brackets into the translation strings

* revert comit addaa5d

* Fix broken sprintf()

* i18n: move colons into the translation strings on error messages

* Fix Travis-CI Error: operator must be surrounded by a single space
2016-10-24 08:33:32 +01:00
Rami Yushuvaev 4375618438 i18n context functions (#12156)
* Replace some context function with translation comments

* Remove two more context function

* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00
Terence O'Donoghue edd14cd8df New Action for after Product Attribute Settings (#12099)
Allows developers to add extra checkboxes etc.
2016-10-21 15:31:20 +01:00
Daniel Hüsken ab7f9dd674 Flush rewrite rules with cron for attribute terms (#12132) 2016-10-21 15:29:50 +01:00
Mike Jolley 958b97a578 Merge pull request #12129 from shivapoudel/plugin-review
Update wp.org plugin review rating link
2016-10-19 11:14:21 +01:00
Shiva Poudel 64c6ec8537 Update wp.org plugin review rating link 2016-10-19 11:29:20 +05:45
Rami Yushuvaev fec057c993 Use get_admin_page_title() function to display admin titles (#12077)
*  Use get_admin_page_title() function to display admin titles

* revert

* i18n: use sprintf() in translation strings
2016-10-13 13:34:48 -03:00
James Koster 3823b78318 Add/product galleries (#11665)
* register prettyPhoto but don't enqueue. #10721

* Remove lightbox option. #10721

Also registers the prettyPhoto styles instead of enqueueing

* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721

* Add flexslider assets #10721

* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721.

* Add zoom functionality. #10721

* Move js to single-product.js. #10721

* styling of the gallery thumbnails when using the `product_page` shortcode. #10721

* Only enable the zoom if the image is large enough. #10721

* Use a 4 column layout by default. #10721

* Make the carousel options filterable. #10721

* rtl styles for gallery. #10721

* Don't zoom on handheld devices. #10721

* markup tweaks in prep for photoswipe

* disable zoom for now

* Add and enqueue photoswipe assets

* add the photoswipe template

* initialise photoswipe - it's alive!

* tidy up js. add title. add separate trigger. #10721

* Move photoswipe functions to single-product.js. #10721

* reactivate the zoom! #10721

* style the photoswipe trigger. #10721

* disable flexslider animation loop. #10721

* js tidy up. #10721

* Fix jshint

* Abstract the product gallery scripts

* Minify

* Fixed conflict with the admin bar

* Photoswipe conflict with admin bar

* Index. #10721

* photoswipe button styles. #10721

* Styling. #10721

* No animation on zoom
* Image width on mobile

* No shadows please. #10721

Looking at you, Twenty Twelve.

* code tidy and add class to placeholder figure. #10721

* simplify rtl query

* photoswipe button styles

* Comma should not be here

* zoom icon #10721

* gallery thumb styles. #10721

* trigger icon. #10721

* Image margins. #10721

* icon hover states. #10721

* Variation handling

* Fix zoom and heights

* Resize after timeout
2016-10-13 15:25:42 +01:00
Mike Jolley 42f420b16c Correct admin link for variable product. 2016-10-13 15:18:44 +01:00
Mike Jolley e3fa4de7c8 Hide shipping tax class setting when shipping is disabled
Closes #11960
2016-10-13 12:14:41 +01:00
Rami Yushuvaev b8f2f29d5a Remove deprecated admin screen icons (#12074) 2016-10-12 10:57:24 -03:00
Manos Psychogyiopoulos 4658245625 Revise the stock + stock status saving logic (#11858)
* use set_stock to reset stock meta when not managing stock

Ensures that the 'woocommerce_{ variation | product }_set_stock' hooks fire to refllect the fact that stock becomes infinite.

* track state of Manage Stock? option

* quick/bulk edit fixes

* reapply quick and bulk edit fixes

* improve conditional reset logic that prevents actions from *_set_stock actions from firing with every save
2016-10-12 12:51:40 +01:00
Mike Jolley a426004975 Fixed numbered properties 2016-10-12 12:02:51 +01:00
Mike Jolley 0829200299 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	includes/admin/class-wc-admin-help.php
2016-10-12 11:18:27 +01:00
Rami Yushuvaev eae583fc3c Update wp.org plugin directory links 2016-10-12 11:16:58 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev 65cf1bcb6f Merge branch 'master' of https://github.com/ramiy/woocommerce into i18n/similar-strings 2016-10-11 21:14:56 +03:00
Mike Jolley 2a51a76e4e Merge branch 'pr/12056' 2016-10-11 17:36:40 +01:00
Mike Jolley a7ccc38096 Define classnames to choose what gets hidden 2016-10-11 17:36:34 +01:00
Mike Jolley cee978e6f7 Add notice and hide templates 2016-10-11 12:44:54 +01:00
Mike Jolley d7f2d29ddc Add row actions back 2016-10-11 11:46:23 +01:00
Rami Yushuvaev 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +03:00
Mike Jolley 8a510994ef Merge branch 'master' into shipping-zone-ui
# Conflicts:
#	assets/css/admin.css
2016-10-10 18:45:54 +01:00
Mike Jolley 2d270fb405 Fix saving and rest of world 2016-10-10 18:41:07 +01:00
Mike Jolley 160049eddd Remove save button from zones screen. 2016-10-10 17:50:29 +01:00
Jonathan Belcher 45739697e0
Change Add-ons to Extensions within the admin 2016-10-05 14:25:28 -04:00
Claudio Sanches 81ffb798a1 Removed nav menu rename hack 2016-10-04 13:55:50 -03:00
Claudio Sanches 514d8899ba Merge pull request #12012 from woocommerce/fix-add-ons
Only display image if src is provided
2016-10-04 13:23:00 -03:00
Jonathan Belcher f740497883 Update class-wc-admin-addons.php 2016-10-04 12:15:52 -04:00
Jonathan Belcher 1ef33a0452
Only display image if src is provided 2016-10-04 11:47:38 -04:00
Justin Shreve 2cc04663ee Don't run expiry date through date() if it isn't set. Also don't do a string comparison check on an integer. 2016-09-30 14:16:41 -07:00
Matty d037c4a3f2 Ensures any checks for 'woothemes.com' in logic also check for 'woocommerce.com'. 2016-09-28 12:19:58 +02:00
Matty ae75f8b8cd Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'. 2016-09-28 12:17:40 +02:00
Justin Shreve 0aa65fa0d0 Merge pull request #11951 from woothemes/feature-add-ons
[feature] Add ons screen update
2016-09-27 11:25:53 -07:00
Claudio Sanches 150ce8b7ee Merge pull request #11965 from woothemes/iMazed-patch-1
Change Twitter handle to WooCommerce
2016-09-27 12:45:36 -03:00
Claudio Sanches e972c1aac2 Change woothemes.com to woocommerce.com, closes #11966 2016-09-27 12:44:48 -03:00
Jonathan Belcher 1d066234d5
[feature] Add ons screen update 2016-09-26 15:45:10 -04:00
Mike Jolley 83cc0c7066 Work on shipping zone screens 2016-09-24 03:22:57 +01:00
Ines 53391bad01 Change Twitter handle to WooCommerce
Tweets were sending out with the @WooThemes handle still, the account we're phasing out. Changed `data-via=` from WooThemes to WooCommerce.
2016-09-23 10:34:23 +02:00
Claudio Sanches c5c1e9ecbe Merge pull request #11904 from BIOSTALL/patch-1
Fix settings sectionend
2016-09-13 18:53:15 -03:00
Claudio Sanches be029374ce Fixed coding standards 2016-09-13 18:24:21 -03:00
Claudio Sanches 5de8dd0d65 Fixed coding standards 2016-09-13 17:47:19 -03:00
rspublishing e640707f89 Use numbered index in sprintf 2016-09-13 14:39:16 +02:00
rspublishing 8265295862 Minor text changes 2016-09-13 13:56:49 +02:00
rspublishing 9ec739c167 Link to SSL/HTTPS doc from checkout settings 2016-09-13 13:50:52 +02:00
rspublishing 2526ba49a8 Replace WooThemes.com with WooCommerce.com 2016-09-13 13:47:40 +02:00
Steve Marks 9f007e0875 Fix settings sectionend
Fixed incorrect sectionend reference in Email settings
2016-09-12 15:40:28 +01:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Mike Jolley 311c540662 Merge pull request #11833 from aristath/master
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Mike Jolley e4c91aef62 [2.6] Don't SUM meta
#11838
2016-09-07 10:05:17 +01:00
Mike Jolley ed2b7a9f57 [2.6] refunded_order_items should be reset per loop
#11838
2016-09-07 09:31:17 +01:00
Mike Jolley cf59524dd7 Fix order total race condition in CRUD 2016-09-07 09:28:11 +01:00
Justin Shreve 376a53de04 Merge pull request #11846 from woothemes/payment-gateway-api
Add Payment Gateways API
2016-09-06 10:34:09 -07:00
Mike Jolley 0618719b03 [2.6] Dynamic max run text
fixes #11849
2016-09-06 12:52:10 +01:00
Mike Jolley 0c78ed7f9b [2.6] Start sale on variation save if applicable
Fixes #11804
2016-09-06 11:37:20 +01:00
Justin Shreve fd952e8efa Payment Gateways API 2016-09-05 14:49:29 -07:00
Aristeides Stathopoulos 6ac7f03241 Generic.Formatting.DisallowMultipleStatements.SameLine 2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos 2346c3b735 Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace 2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos c6a87301c1 Squiz.Commenting.InlineComment.SpacingBefore 2016-09-02 05:48:11 +03:00
Aristeides Stathopoulos 39d4d4bd69 Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar 2016-09-02 05:40:36 +03:00
Aristeides Stathopoulos cc0b29ccf4 PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket 2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 8fe4cd65a4 PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket 2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos e07511502d Additional coding-standards fixes. 2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Mike Jolley 402d0ff077 Merge branch 'master' into pr/11797
# Conflicts:
#	includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
#	includes/api/class-wc-rest-coupons-controller.php
#	includes/class-wc-coupon.php
#	tests/unit-tests/api/coupons.php
#	tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
corsonr 8cb17c1923 branch conflict fix 2016-08-30 14:30:05 +02:00
Mike Jolley 499e190efb Merge pull request #11785 from woothemes/coupon-exceptions
Coupon Exceptions and REST/CRUD improvements
2016-08-30 11:44:19 +01:00
Mike Jolley df35845d4d wc_get_coupon_id_by_code 2016-08-30 11:43:53 +01:00
Oliver Juhas 9a0c283b10 Making sure `wc_get_screen_ids` function exists
This is a fix for issue #11795
2016-08-27 16:46:23 +02:00
Aristeides Stathopoulos 72696901f3 WordPress.WhiteSpace.OperatorSpacing.SpacingAfter 2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos fb62d280b5 WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore 2016-08-27 09:07:42 +03:00
Aristeides Stathopoulos e69fafbda7 WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter 2016-08-27 09:06:22 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos a19848978a WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis 2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos 9543c7fe1c WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis 2016-08-27 07:29:49 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos d430dabb37 Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines 2016-08-27 07:04:18 +03:00
Aristeides Stathopoulos 741f2b954a Squiz.WhiteSpace.SuperfluousWhitespace.EndLine 2016-08-27 07:01:22 +03:00
Aristeides Stathopoulos 56fd004a72 WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline 2016-08-27 06:56:09 +03:00
Aristeides Stathopoulos 55075ce3a4 WordPress.Arrays.ArrayDeclaration.IndexNoNewline 2016-08-27 06:35:20 +03:00
Aristeides Stathopoulos 6c30f84fa2 WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys 2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos ff852038c9 WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys 2016-08-27 06:11:30 +03:00
Aristeides Stathopoulos 72ee94d11b WordPress.Arrays.ArrayDeclaration.SpaceBeforeComma 2016-08-27 05:46:40 +03:00
Aristeides Stathopoulos 0b0f67ad28 WordPress.Arrays.ArrayDeclaration.SpaceAfterDoubleArrow 2016-08-27 05:36:32 +03:00
Aristeides Stathopoulos 58b9df6564 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis 2016-08-27 05:23:54 +03:00
Aristeides Stathopoulos 32ddc22465 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma 2016-08-27 05:14:16 +03:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Shiva Poudel 330215db42 Check tax object name before modifying label 2016-08-26 21:14:50 +05:45
Mike Jolley ed01282340 Made data match schema 2016-08-26 15:20:44 +01:00
Mike Jolley 210763e536 use CRUD in admin 2016-08-26 14:50:17 +01:00
Mike Jolley 627b08ba37 Test coverage 2016-08-25 17:42:47 +01:00
Mike Jolley 885231baba yoda 2016-08-25 17:10:59 +01:00
Mike Jolley 7f87800d8d Fix save order item function 2016-08-25 13:50:37 +01:00
Mike Jolley 25883f8687 Set_props helper to load data from DB and handle errors 2016-08-25 13:05:27 +01:00
Mike Jolley 077f57f139 Merge branch 'master' into WC_Data_Exception 2016-08-25 11:03:14 +01:00
Caleb Burks a3524c95f3 Filter instead of action 2016-08-24 18:26:14 -05:00
Caleb Burks dc876749cc Rename taxonomies at Appearance > Menus > Pages 2016-08-24 18:22:47 -05:00
Mike Jolley 0667c1cde1 Remove option based tools 2016-08-24 17:35:13 +01:00
Mike Jolley 84487d0f4b Shipping debug mode moved to shipping settings 2016-08-24 16:55:34 +01:00
Mike Jolley 26c4b3ce13 Delete if qty = 0 2016-08-24 16:09:39 +01:00
Mike Jolley 938361535f Exception handling 2016-08-24 16:02:19 +01:00
Claudio Sanches 2407a880f7 Updated the default colors for emails to match the Woo Style Guide
Closes #11748

cc @jameskoster
2016-08-22 20:59:56 -03:00
Mike Jolley 169780d31b woocommerce-message--success
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions

Closes #11722
2016-08-22 18:41:38 +01:00
Mike Jolley 2cea613566 Fix shipping meta save
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley 7cf75f5085 Remove use of deprecated functions 2016-08-22 16:57:54 +01:00
Mike Jolley 95b11606fc get_product_from_item -> get_product 2016-08-22 16:51:24 +01:00
Mike Jolley c88984eb0e Replace add methods 2016-08-22 16:48:19 +01:00
Mike Jolley fdd7e797ba API get refunds 2016-08-22 13:15:15 +01:00
Mike Jolley 9e45927803 Create refund with crud 2016-08-22 13:15:15 +01:00
Mike Jolley 698c84827d Merge pull request #11717 from woothemes/improve-configure-terms
Change "Configure terms" into a link
2016-08-22 09:49:27 +01:00
Mike Jolley 9558c9e99a Merge pull request #11730 from woothemes/improve-log-viewer
Removed internal scroll from log viewer
2016-08-22 09:48:55 +01:00
Claudio Sanches f7bf0b1184 Improve save customer meta fields and removed extra escape function #11733 2016-08-20 13:02:04 -03:00
Claudio Sanches 4c8a60fa06 Allow checkboxes in customer profiles, closes #11733 2016-08-20 12:57:35 -03:00
Claudio Sanches 47177667aa Removed internal scroll from log viewer, closes #11729 2016-08-19 18:48:49 -03:00
Mike Jolley 3f4ffe8a49 More crud updates 2016-08-19 17:05:47 +01:00
Mike Jolley 190cd0bf86 Remove direct access of item props in admin 2016-08-19 15:08:00 +01:00
Mike Jolley 21ad196297 Use CRUD in wc_save_order_items 2016-08-19 13:43:33 +01:00
Claudio Sanches 2799bbdb27 Changed "Configure terms" into a link 2016-08-18 00:02:18 -03:00
Claudio Sanches b1ac42220a Merge pull request #11690 from sumnermic/patch-1
Add anchor attribute target "_blank"
2016-08-16 18:40:12 -03:00
Mike Jolley 5afac69f10 Fix write context errors 2016-08-15 17:50:02 +01:00
Mike Jolley eb45acf0d5 [2.6] Use method title in admin shipping dropdown
fixes #11678
2016-08-12 14:23:59 +01:00
sumnermic e336886afa Add anchor attribute target "_blank"
Add anchor attribute target "_blank" to Regenerate Thumbnails link. It's pretty annoying for it to not open in a new window/tab.
2016-08-12 13:58:54 +01:00
Mike Jolley 3b0af0c54b Merge pull request #11670 from woothemes/fix-reports-custom-daterange
Reports: Clean up custom date range UI
2016-08-12 10:36:48 +01:00
kellychoffman f41321fb27 input length: increased to 11 2016-08-11 15:59:25 -06:00
corsonr 51060807c4 remove un-necessary slashes 2016-08-11 16:07:40 +02:00
rspublishing f3956131bf Copy update in setup wizard 2016-08-11 08:40:12 +02:00
kellychoffman 9a7b391b74 custom date: add en dash, larger inputs, no hidden text 2016-08-10 10:35:42 -06:00
Mike Jolley efd390e951 Merge pull request #11645 from woothemes/orders-crud-function-update
Orders crud functions
2016-08-10 12:19:38 +01:00
Justin Shreve 35cae38aa2 Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes. 2016-08-09 10:14:47 -07:00
Justin Shreve 9dbd365be8 First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool. 2016-08-09 09:51:30 -07:00
Mike Jolley 8d58febaf8 Merge branch 'master' into orders-crud-function-update
# Conflicts:
#	includes/class-wc-checkout.php
2016-08-09 14:03:06 +01:00
Mike Jolley 39eb584321 Merge branch 'master' into orders-crud-function-update 2016-08-08 17:24:40 +01:00
Mike Jolley a6bb78b34a date created 2016-08-08 16:32:03 +01:00
Mike Jolley a8759fc0aa Meta/product handling 2016-08-08 16:20:15 +01:00
Mike Jolley c3aa933ad2 coupon 2016-08-08 15:25:22 +01:00
Mike Jolley 75975de58a Item meta 2016-08-08 15:22:00 +01:00
Mike Jolley 9bbf5df1fd Billing/shipping details 2016-08-08 14:49:53 +01:00
Job f5e45d254e update woothemes > woocommerce
changes in the help tab

WooThemes Helpdesk > WooCommerce Helpdesk
2016-08-08 15:37:30 +02:00
Mike Jolley cfe28c9b25 Made WC_Logger pluggable via wc_get_logger function.
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley 5eaee825f1 Ensure page_object is valid
Closes #11641
2016-08-08 12:14:41 +01:00
Mike Jolley 6bf05396c2 date_paid 2016-08-05 16:14:30 +01:00
Mike Jolley 0a0330bac0 customer_user 2016-08-05 16:09:40 +01:00
Mike Jolley 007a767657 billing_phone 2016-08-05 16:09:04 +01:00
Mike Jolley 7685587b22 payment_method 2016-08-05 16:04:41 +01:00
Mike Jolley 693e5ece36 billing_company 2016-08-05 16:03:09 +01:00
Mike Jolley 8d3b4bc5a4 payment_method_title 2016-08-05 15:59:55 +01:00
Mike Jolley 4d87665d95 get_customer_note 2016-08-05 15:59:32 +01:00
Mike Jolley 1c18c2f44a billing_first_name 2016-08-05 15:58:44 +01:00
Mike Jolley 84c52370fa more getters 2016-08-05 15:57:40 +01:00
Mike Jolley 39b4831e95 get_id 2016-08-05 15:56:23 +01:00
Mike Jolley 9181c107a8 get_currency 2016-08-05 15:49:17 +01:00
Mike Jolley c346a1b711 Merge pull request #11540 from woothemes/tax-rate-auto-ordering
Automatic Tax Rate Sorting
2016-08-05 15:06:03 +01:00
Mike Jolley c61c08f405 Merge branch 'master' into tax-rate-auto-ordering
# Conflicts:
#	assets/css/admin.css
2016-08-04 14:06:52 +01:00
Justin Shreve 8df6ff3c7b Convert wp-admin's system status page to use the same backend code as the API. 2016-08-03 10:50:47 -07:00
Mike Jolley d756b9c7ba Merge branch 'pr/11337'
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:44:00 +01:00
Mike Jolley 922ba0337f Fix removal and tweak buttons 2016-08-02 14:42:27 +01:00
Mike Jolley 4de8af8a83 Merge pull request #11367 from andyexeter/master
Add NOT IN operator to WC_Admin_Report::get_order_report_data()
2016-08-02 14:22:50 +01:00
Mike Jolley e271825ffb Merge branch 'master' into tax-rate-auto-ordering
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:17:23 +01:00
Mike Jolley 3c1f5e5e46 Tweak geoip instruction
Closes #11587
2016-08-02 14:06:48 +01:00
Mike Jolley 3f8af04a4e This should be disallowed
Closes #11570
2016-08-01 15:50:04 +01:00
Mike Jolley 45d6b88ac6 woocommerce_after_/before prefixes 2016-08-01 10:27:15 +01:00
Moritz Meißelbach 97b0161c4c Add hooks to edit form 2016-08-01 09:13:21 +02:00
Moritz Meißelbach 68abee516e Rename hooks as suggested 2016-08-01 09:04:11 +02:00
Moritz Meißelbach 6591ff1866 Provide 2 hooks for adding fields to the attribute creation form 2016-07-29 16:31:16 +02:00
Claudio Sanches a5ba8a05ed Fixed checkboxes in the admin settings
This allow set yes/no or null/1 for checkboxes

cc @mikejolley @jeffstieler
2016-07-27 17:52:11 -03:00
Claudio Sanches 63a570f161 [2.6] Display proper screen render text for custom range reports, closes #11543 2016-07-27 16:16:54 -03:00
Mike Jolley 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
Mike Jolley 0d6a3af108 Remove sorting function 2016-07-27 10:22:02 +01:00
Mike Jolley 052f4d9cc3 Update education text
Closes #11519
2016-07-27 10:13:06 +01:00
Jeff Stieler e14d77a987 When saving settings, only allow values found in “options” for “select” type fields. 2016-07-26 10:24:15 -07:00
Jeff Stieler 3de28d2356 Take in options data to be saved as an optional argument, defaulting to $_POST.
This allows for reuse of the options field saving mechanism.
2016-07-26 10:24:15 -07:00
Justin Shreve 3de423b5c2 Wrap up settings api 2016-07-26 10:24:15 -07:00
Mike Jolley 4775cec578 Merge pull request #11534 from woothemes/localization-tweaks
Localization tweaks
2016-07-26 15:29:02 +01:00
Nicola Mustone 0aed3bd8b8 missing ) 2016-07-26 16:13:09 +02:00
Nicola Mustone e799b1e234 reduce number of strings 2016-07-26 15:46:50 +02:00
Nicola Mustone 5fb8a05a19 typo 2 2016-07-26 14:50:31 +02:00
Nicola Mustone 624f3c2eb1 typo 2016-07-26 14:49:11 +02:00
Mike Jolley bdcf3e2a04 [2.6] Merge pull request #11506 from woothemes/fix/mysql-status-report
Fix "MySQL Version" on the system status page
2016-07-26 11:21:10 +01:00
Mike Jolley 3d3b24e39c [2.6] Check taxonomy is set
Closes #11526
2016-07-26 11:19:01 +01:00
Justin Shreve de603974d4 Only hide MySQL (when is_mysql is set) if MariaDB is found in the version string. 2016-07-25 10:43:27 -07:00
Justin Shreve 9b2ae1827d Remove unneccessary ver variable. We already display using wpdb's db_version 2016-07-25 10:29:27 -07:00
Justin Shreve dbba5c7bbc Remove "MySQL" string check on version, which was preventing the MySQL version from displaying on the system status report. Version #s don't seem to include "MySQL" in them anymore so the check would prevent the block from being shown. 2016-07-25 10:29:27 -07:00
Mike Jolley da0c0b4ade [2.6] h2 in profile screen
Closes #11515
2016-07-25 12:54:00 +01:00
Mike Jolley 66c8d6cdcf Merge pull request #11496 from franticpsyx/order_item_class_args
[2.6] Add $order arg to order_item_class filters
2016-07-22 13:58:58 +02:00
Mike Jolley 00d5eedda2 Merge pull request #11483 from jobthomas/hotfix-geolite-notice
Hotfix geolite notice
2016-07-22 13:57:13 +02:00
Mike Jolley 203349cbb0 [2.6] Merge pull request #11512 from jobthomas/copy-product-display
Copy product display
2016-07-22 13:30:11 +02:00
James Koster 02e08e071e Use number inputs for hour/minute fields on edit order screen. closes #11494 2016-07-22 12:19:18 +01:00
Job 49d3200c52 Adding order of dimensions
Based on customer input, I added what dimension comes first in the
product display sizes to the tip.
2016-07-22 12:51:05 +02:00
Mike Jolley 72a5f9a9d1 Maintain method_order sorting for zones in list
Closes #11486
2016-07-21 14:30:05 +01:00
Manos Psychogyiopoulos 0173447cf9 add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters 2016-07-21 11:50:45 +03:00
Claudio Sanches 56f4efc8e3 Merge pull request #11469 from corsonr/status_report_db_prefix
Add database prefix to status report
2016-07-20 17:09:50 -03:00
Mike Jolley bc80b75540 Merge pull request #11324 from woothemes/out-of-stock-threshold-11322
Out of stock threshold 11322
2016-07-20 14:44:41 +02:00
corsonr b825b0b943 removed un-necessary esc_html 2016-07-20 14:43:41 +02:00
Mike Jolley d17b4de6d5 woocommerce_admin_order_item_bulk_actions
Closes #11099
2016-07-20 13:37:17 +01:00
Job 614cd520ba Updated error message
To not cause extra problems for the maxmind team, added better
explanation on which file to download.
2016-07-20 11:51:32 +02:00
Mike Jolley 664597b5c8 Tweak zone text
Closes #11472
2016-07-19 16:45:10 +01:00
corsonr c2eb7f50ca display error if prefix longer than 20 2016-07-19 14:47:36 +02:00
corsonr eab45222a4 fixed parse error 2016-07-19 14:13:31 +02:00
corsonr c385e57fbe added esc_html() and conditional statement 2016-07-19 14:11:09 +02:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
corsonr 06e8c7e6de Add database prefix to status report 2016-07-19 09:12:06 +02:00
Mike Jolley 53511e36ec Use permission id to revoke access to downloads to prevent removing wrong rows.
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Mike Jolley 23c853dc3b When duplicating product variations, set title, name, and guid.
Fixes #11311 @claudiosmweb
2016-07-14 14:54:39 +02:00
Leon Francis Shelhamer 20c4a8bf77 Show shipping method titles in Add shipping method modal
The modal was calling shipping method titles with $method->title this resulted in blank select options. I replaced it with $method->method_title to fix this.
2016-07-13 21:16:59 -04:00
Claudio Sanches 7778583340 Fixed wrong number of decimal precision, closes #11368 2016-07-11 17:26:54 +02:00
Claudio Sanches 7d9d091767 Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
andyexeter 043eecedc5 Add NOT IN operator to WC_Admin_Report::get_order_report_data() 2016-07-06 00:15:39 +01:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
toddlahman 4b5af40536 add button to delete any log file 2016-07-04 17:10:17 -07:00
Patrick Rauland efee5d9b9b updating rating admin footer text to remove references to WooThemes 2016-07-04 11:33:24 -06:00
toddlahman 26353d7099 added remove method to logger class, and delete GeoIP Log button to tools 2016-07-02 23:16:11 -07:00
Mike Jolley 99e1e215bb Tooltips 2016-07-01 12:06:31 +01:00
Claudio Sanches 57ac24ace8 Merge pull request #11318 from kristinaplauche/jquery-minify
11317
2016-06-30 15:05:02 -03:00
Kristina Plauche 4913539977 11318 update
Applied update suggested by Claudio
2016-06-30 14:02:16 -04:00
Kristina Plauche 2f99cb7211 11317
Makes jquery-ui minify
2016-06-30 13:06:42 -04:00
Claudio Sanches 18b1b8c238 Disable empty my account endpoints, closes #11274 2016-06-30 13:58:10 -03:00
Mike Jolley 53e75f3d4d Merge pull request #11300 from rspublishing/update-class-wc-meta-box-coupon-data.php
Updates class-wc-meta-box-coupon-data.php
2016-06-30 09:32:40 +01:00
Mike Jolley 361ab507d2 Cast class to array
Closes #11294
2016-06-30 08:47:06 +01:00
Mike Jolley 02f8e12ed5 Remove h1 and legacy icon, switch to nav element
Closes #11296
2016-06-30 08:39:04 +01:00
rspublishing 63c0445957 Replacing link 2016-06-30 09:25:39 +02:00
rspublishing 1a0f5ae723 Updates the includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php file 2016-06-30 09:16:52 +02:00
Kevin Killingsworth 89fda4204e Fix checkout gateway section urls (#11273)
Fixes issue #11273

Changes from class name to gateway id for section name.
2016-06-28 12:48:03 -05:00
Claudio Sanches 53552f8028 Require create webhook secret in the REST API 2016-06-27 21:55:54 -03:00
Mike Jolley 2bbb1453fb External product SKU 2016-06-27 16:04:49 +01:00
Mike Jolley 931660038a Update debug mode wording
Closes #11258
2016-06-27 12:28:46 +01:00
Mike Jolley b1d4ce3276 Only show mysql notice if mysql in version string
Closes #11254
2016-06-27 12:23:47 +01:00
Claudio Sanches df075875b4 Improved wc_webhook_generate_secret() 2016-06-24 14:32:06 -03:00
Claudio Sanches fd5d1e2085 Improve webhook secret generation in admin screen 2016-06-24 12:22:07 -03:00
Mike Jolley 270dd30fd5 Remove non-existant callback
Fixes #11210
2016-06-22 11:38:39 +01:00
Mike Jolley 479a136edb Added view_admin_dashboard cap for disabling the admin access restriction in custom roles.
Closes #11198 @claudiosmweb
2016-06-21 11:18:14 +01:00
Mike Jolley e1ec01c9f9 Zone wording tweaks
Closes #11184
2016-06-20 12:50:55 +01:00
Mike Jolley 887d398d91 Return default types for script so that show/hide works
Fixes #11188
2016-06-20 10:59:54 +01:00
Beka Rice 37c441dc45 Shows the "customer pay page" link for any order that needs payment 2016-06-17 16:56:14 -04:00
Mike Jolley b57030afb7 Fix the showing/hiding of panels when terms do not exist by using wc_get_product_types() for retrieving product types.
@claudiosmweb
2016-06-16 14:58:44 +01:00
Mike Jolley 6fc6e07c46 Added link to force DB update if cron is disabled.
@claudiosmweb
2016-06-15 11:07:12 +01:00
Claudio Sanches 5d3515848d Merge pull request #11116 from woothemes/SiR-DanieL-patch-1
Typo
2016-06-14 18:06:52 -03:00
Claudio Sanches 6a65bc73c7 Fixed invalid pattern for hour and minute in the admin screen 2016-06-14 18:03:00 -03:00
Claudio Sanches 05c7f186ba Fixed line_subtotal_tax and line_tax localized price format 2016-06-14 17:41:20 -03:00
Nicola Mustone a9c55d8d54 typo 2016-06-14 16:34:28 +02:00
Ryan Ray f22d064a3e Dialed back the intensity so no strings are disturbed for 2.6 2016-06-14 09:35:12 -04:00
Ryan Ray 46d0265988 Updated the videos needed for the help tab when using WooCommerce. 2016-06-14 08:51:37 -04:00
Mike Jolley 045ef70143 literal check 2016-06-14 11:10:13 +01:00
Shiva Poudel d4ca34f8ac Prevent on empty section, as we want to check API keys settings page 2016-06-14 12:17:35 +05:45
Claudio Sanches c9a3ce465f Fixe the return type of wc_order_search() 2016-06-13 15:26:14 -03:00
Mike Jolley b3dbd93df5 Updating if do_update_woocommerce is set. 2016-06-13 18:15:07 +01:00
Mike Jolley 1cd71e29e4 Default shipping tax class should be blank, not 'title'
#11103
2016-06-13 17:46:55 +01:00
Claudio Sanches e253382702 Created wc_order_search() function
cc @mikejolley
2016-06-13 17:08:20 +01:00
Claudio Sanches 831ab7411d Merge jobs adjust-campaign-tags branch 2016-06-13 12:14:35 -03:00
Mike Jolley 34f2bd683e Prevent update notice appearing twice
@claudiosmweb
2016-06-13 12:44:19 +01:00
Shiva Poudel f0856612a1 Remove unused global var 2016-06-10 17:57:51 +05:45
Mike Jolley 32a7c2e611 Fix: Permalink sanitization/saving
Fixes #11065
2016-06-08 11:30:02 +01:00
Mike Jolley 59a33d2188 Remove target blank on blank slate 2016-06-07 16:14:23 +01:00
Mike Jolley 847dea6a2d docs/vars 2016-06-07 14:02:02 +01:00
Mike Jolley f8db1c403f Type casting and docs 2016-06-07 11:22:36 +01:00
Mike Jolley 1185333b56 Move legacy API code into WC_Legacy_API
@claudiosmweb to keep legacy api separated from the new REST API code.
2016-06-07 11:03:16 +01:00
Slobodan Manic 3194c24c84 Introduce woocommerce_before_save_order_items hook 2016-06-07 08:13:35 +02:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 8ef3957ad1 Var checks 2016-06-06 19:15:40 +01:00
Shiva Poudel 00cc3711ac Minor tweaks and JSHint ignore for update notice script 2016-06-06 23:05:10 +05:45
Mike Jolley 76a4ffe2e0 Unused vars
@claudiosmweb
2016-06-06 18:10:03 +01:00
Mike Jolley d4d6f3181c Best practice tweaks 2016-06-06 17:24:31 +01:00
Mike Jolley a40fb29eca wc_set_time_limit helper function 2016-06-06 16:55:27 +01:00
Mike Jolley 779ab28f90 Merge pull request #11049 from TeemuSuoranta/master
Add filters in attribute selection UI (html-product-attribute.php)
2016-06-06 11:30:18 +01:00
Mike Jolley 4a0fb8f27b Merge pull request #11041 from woothemes/blank-slates
Blank slates
2016-06-06 11:05:26 +01:00
Claudio Sanches 934eb9599c Removed note about default webhook secret generated using consumer secret 2016-06-05 17:50:22 -03:00
Claudio Sanches e0bb183631 Improved payment method endpoint descriptions 2016-06-05 17:42:22 -03:00
Claudio Sanches 4b65b10923 s/CURL/cURL 2016-06-05 16:07:46 -03:00
Teemu Suoranta 35519fb685 Add filters for attribute selection UI 2016-06-05 21:22:10 +03:00
Mike Jolley 8d97468f24 Tracking links 2016-06-03 14:55:38 +01:00
Mike Jolley 55f6fd9614 remove debug 2016-06-03 14:36:44 +01:00
Mike Jolley f6cb7b596a Coupon and product blank slate text 2016-06-03 14:19:02 +01:00
Mike Jolley 5cb0d5ed29 Add a blank slate area for shop orders 2016-06-03 14:07:41 +01:00
Mike Jolley fa0422a7f0 Fix activation error due to countries class 2016-06-03 12:28:27 +01:00
Mike Jolley ebc913da38 Notice tweaks 2016-06-03 12:28:27 +01:00
Manos Psychogyiopoulos 410c09d6b0 add 'woocommerce_admin_stock_html' filter 2016-06-01 15:06:10 +03:00
Mike Jolley d6993daab2 Class was not present in 2.5 and can be dropped.
d0354fd4fd
2016-05-31 11:30:32 +01:00
Mike Jolley 19c6b0fead Merge remote-tracking branch 'origin/master' 2016-05-31 11:04:21 +01:00
Claudio Sanches d0354fd4fd Suit CSS naming for #10994
cc @jameskoster
2016-05-30 13:35:12 -03:00
Leon Francis Shelhamer 1e5785da3f Fix {$taxonomy}_pre_add_form hook for attributes
previous {$taxonomy}_pre_add_form hook inside of wc_get_attribute_taxonomies() loop was not written to work with the results of wc_get_attribute_taxonomies()
2016-05-29 17:57:10 -04:00
Mike Jolley c0dc352df1 Clear parent transients when clearing own transients
Fixes #10996
2016-05-27 11:12:23 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley 42374d6ed6 Merge pull request #10994 from DavidAnderson684/patch-2
Place customer IP inside a span for easier access
2016-05-26 16:07:05 +01:00
Mike Jolley ddae9d3722 Split update notice text 2016-05-26 15:00:22 +01:00
David Anderson 6cd2fc12f0 Place customer IP inside a span for easier access
I want to code something that shows a country flag / link to ipinfo.io next to the customer IP address on the order dashboard page. Putting the IP address inside a span makes it easier to locate without ugly hacks / less prone to breakage.
2016-05-26 14:44:51 +01:00
Mike Jolley 62712c1648 Fix maxmind label 2016-05-25 12:05:33 +01:00
Mike Jolley b3844257a0 Use wc_get_shipping_method_count helper 2016-05-25 12:05:33 +01:00
Claudio Sanches 1becb295c5 Fixed Undefined index product_permalink warning
While saving plain permalinks isset( $_POST['permalink_structure'] ) is
true, but we don't have any $_POST['product_permalink'] or
$_POST['product_permalink_structure']

cc @mikejolley
2016-05-24 20:15:15 -03:00
Claudio Sanches 2ddf19c447 Fixed updated date when save webhooks on admin screen 2016-05-24 17:05:50 -03:00
Mike Jolley cc41c38ff8 Tweak page titles on account pages 2016-05-24 19:09:07 +01:00
Mike Jolley 22291e3ead Generate a zone name if left blank
@coderkevin
2016-05-24 18:59:35 +01:00
Mike Jolley 146f79914f Move stock update code
Fixes #10976
2016-05-24 14:38:54 +01:00
Mike Jolley a02ac79339 Change range symbol to ... to avoid conflicts with postcodes with hyphens 2016-05-23 17:30:37 +01:00
Mike Jolley a540b04d8c Fix prefix and spacing
#10956
2016-05-23 17:01:45 +01:00
Mike Jolley d24fceab44 When calculating discount amount in backend, use unrounded values
#10963
2016-05-23 16:23:27 +01:00
Mike Jolley c1c089a95c Merge pull request #10956 from aelia-co/Tweak-Shipping_Zones_Methods_Page_Hooks
Added action before the rendering of a zone's methods
2016-05-23 13:18:34 +01:00
Diego Zanella fb51c07a65 Renamed new filter from wc_shipping_zone_before_methods_list to wc_shipping_zone_before_methods_table 2016-05-20 22:52:33 +01:00
Claudio Sanches 33b12d70ee Fixed WC_Admin version 2016-05-20 18:02:57 -03:00
Nico Hauser 62dbb131ac Bumped version 2016-05-20 17:00:19 +02:00
Nico Hauser d75d784e48 Add 'woocommerce_mail_content' to preview
Added the 'woocommerce_mail_content' filter which is used before sending the email in /includes/emails/class-wc-email.php#L465 to the preview
2016-05-20 16:47:18 +02:00
Diego Zanella 60bb76d558 Added action before the rendering of a zone's methods
* The new action will allow to add elements to the page without having to override the view.
2016-05-20 13:27:25 +01:00
Mike Jolley 54231c2946 Allow shipping classes interface to be extended. 2016-05-19 12:38:28 +01:00
Beka Rice 8a715e0957 [2.6] Fix WooComm 101 video embeds...
…removes unused videos due to shipping zones changes; adjusts when
“shipping classes” video is shown
2016-05-17 15:43:57 -04:00
Mike Jolley 19a4648a5a clean post cache after update 2016-05-17 14:46:08 +01:00
Mike Jolley dce5c312e5 Hide simplify notice outside of US 2016-05-16 11:30:20 +01:00
Mike Jolley 36021ab1ac Improve no longer editable text
Closes #10916
2016-05-16 11:12:04 +01:00
Mike Jolley cf06f69b6b Merge remote-tracking branch 'origin/master' 2016-05-16 10:17:55 +01:00
Mike Jolley ba2bfdc685 Fix invalid closing tag 2016-05-16 10:17:44 +01:00
Caleb Burks e707adedd4 Remove a duplicate filter 2016-05-15 00:41:52 -05:00
corsonr becc4ef841 use wc_help_tip() 2016-05-13 18:49:58 +02:00
corsonr ca040a3d1f Add a refund reason help bubble 2016-05-13 18:15:35 +02:00
Mike Jolley cf64786447 Full breadcrumbs in zones UI 2016-05-13 16:08:19 +01:00
Ryan Ray b57da86dee Made a tiny adjustment to the order of words and formatting. The sentence is a bit shorter and clearer (to me) now. 2016-05-12 14:22:48 -04:00
Mike Jolley 9c1aa8afe8 Merge pull request #10899 from woothemes/background-updates
Handle DB updates in the background
2016-05-12 16:45:42 +01:00
Mike Jolley 5f46f60cb0 Merge pull request #10907 from corsonr/confirm_delete_order_note
Add order note deletion confirmation
2016-05-12 12:26:26 +01:00
Mike Jolley 986bd5abc7 Fix save and striping 2016-05-12 12:18:35 +01:00
Mike Jolley 07db739a47 Revise link wording and page title 2016-05-12 11:37:48 +01:00
Mike Jolley 8be8fe4c8a Use modal for adding methods on both screens 2016-05-12 11:29:33 +01:00
Mike Jolley 3dba8e3697 Changed icons for methods into text based links and moved save buttons to left to match other settings screens 2016-05-12 11:07:18 +01:00
corsonr 52f3cb3d8a Add order note deletion confirmation 2016-05-12 10:04:32 +02:00
Claudio Sanches 47ef7e17a1 Created new function to generate webhook secrets based on the user ID and username, closes #10881 2016-05-11 13:14:00 -03:00
Mike Jolley c1830c12cc Redirect to install page w/ nonce
Fixes #10860
2016-05-11 17:01:34 +01:00
Mike Jolley 44bca2633e Notice HTML 2016-05-11 14:22:21 +01:00
Mike Jolley bba4bab8e1 Save notices during shutdown 2016-05-11 14:22:06 +01:00
Mike Jolley a8bd4bc6e1 Updating/updated notices 2016-05-11 12:43:35 +01:00
Mike Jolley d3b450139b Merge branch 'pr/10893' 2016-05-11 10:58:09 +01:00
Mike Jolley 96cb47e037 escape 2016-05-11 10:58:04 +01:00
Mike Jolley e54a0479fa Merge branch 'pr/10895' 2016-05-11 10:55:38 +01:00
Mike Jolley a0b792625d Adjust action args 2016-05-11 10:55:33 +01:00
Caleb Burks 2fd455769d Make customer download links available for admins 2016-05-10 23:52:18 -05:00
Steve 2da25a7708 Update class-wc-admin-attributes.php 2016-05-10 13:13:30 +12:00
Steve ff03ca81ac Add 'woocommerce_before_attribute_delete' action
Adding an action so 3rd party plugin developers can prevent attributes essential for plugin functionality from being deleted while their plugin is active.
2016-05-10 13:11:53 +12:00
Claudio Sanches 857471843a Merge pull request #10874 from allendav/master
Add filtering for system status page tabs and actions too
2016-05-09 18:37:32 -03:00
Allen Snook 98a15d52d7 Changed action name to avoid potential filter collision 2016-05-09 13:42:27 -07:00
Shiva Poudel 4c7a78ab31 Tweak - Use of single backbone modal script for shipping and order panel 2016-05-08 21:34:05 +05:45
Allen Snook 920f2a7809 Check against tabs list before considering action 2016-05-06 11:38:10 -07:00
Allen Snook 58a04a1922 Add filtering for system status page tabs and actions too 2016-05-06 11:27:56 -07:00
Mike Jolley b39ec6b2d6 Fix undo on storefront
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley 0782b869f5 Remove double filter on meta_key label
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley 85faaf8b77 Remove old permissions when generating new download permissions
Closes #10839
2016-05-03 15:22:49 +01:00
Mike Jolley c6975fa7d5 Merge branch 'pr/10750' 2016-05-03 12:01:09 +01:00
Mike Jolley a0faffec85 Lang tweak 2016-05-03 12:01:03 +01:00
Mike Jolley ad3f9d0754 Show payment date on order screen
Closes #10828
2016-05-02 12:02:07 +01:00
Matheus Lopes f0c26b7439 Refatoring main code 2016-04-28 13:37:30 -03:00
Lee Willis e5b4932495 Fix typo 2016-04-28 13:35:11 +01:00
Mike Jolley 43af207558 Output buffering and redirects after turning off legacy
Closes #10806
2016-04-28 12:36:51 +01:00
Claudio Sanches 133c904d1a Remove product SKU if is not unique while untrashing products, closes #10807 2016-04-27 16:06:32 -03:00
Mike Jolley e21313a237 Check for is_mysql
Closes #10793
2016-04-27 12:03:52 +01:00
Matheus Lopes 71a46df6b0 Editing titles 2016-04-25 13:51:40 -03:00
Mike Jolley 9aace06536 Cheques for 'murica
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley 6f42514afb Pass false for product in attribute label filter
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley 4468d34548 Show invoice email in dropdown 2016-04-25 13:22:31 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00
Claudio Sanches 505dfd7672 Fixed i18n functions 2016-04-22 14:08:44 -03:00
Mike Jolley 9a3aa8e498 Further woocommerce_termmeta removal 2016-04-22 17:43:07 +01:00
Mike Jolley b0dfb55710 Tweak account settings grouping
Closes #10766
2016-04-22 12:29:06 +01:00
Mike Jolley 10f16f074c Further zone tweaks to delete new rows on cancel 2016-04-22 12:24:20 +01:00
Mike Jolley a9b8101e48 No blank slate if methods exist
Closes #10757
2016-04-22 12:24:20 +01:00
Shiva Poudel 8fd8c58aaa Change Codex docs to https support 2016-04-22 00:26:15 +05:45
Mike Jolley a8b2a5668f Added cancel button to shipping zones UI
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley c71e17a71b Don't duplicate SKUs
Closes #10751
2016-04-21 14:03:20 +01:00
Mike Jolley 0425ad5060 Check for set but non existing pages
Closes #10758
2016-04-21 12:23:50 +01:00
Mike Jolley fbca27b3d4 Tweak postcode example text
Closes #10755
2016-04-21 12:15:17 +01:00
Matheus Lopes 2c191f5bb7 Enable countries exceptions to Billing and Shipping 2016-04-20 14:55:05 -03:00
Mike Jolley c1a8d6742f Note when WC.php is used in theme
Closes #10741
2016-04-20 10:37:54 +01:00
Mike Jolley 1879a44373 PayPal case 2016-04-19 22:17:09 +01:00
Mike Jolley 03a7892da6 Learn more links to .org 2016-04-19 13:31:41 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley 8e0e9a0cc2 Deprecate Simplify in favour of feature plugin 2016-04-19 13:14:13 +01:00
Mike Jolley 5acb2d7661 Adjusts logos 2016-04-19 12:04:52 +01:00
Job c93b16bd05 Updated campaign tags
* Source: setupwizard, helptab, addons, notice (took the terms already
used in WC core and deleted all dashes)
* Medium: product
* Content: videos, docs, storefront, themecompatibility, wcthemes,
wcextensions, about, newsletter, tickets, apidocs (+ different content
for every reference in addons tab)
* Campaign: woocommerceplugin
2016-04-19 11:32:45 +02:00
Job d3cb293e2d Sidekick removal
Partnership with Sidekick ended:

* Removed all styles and mentions of Sidekick
* Updated docs prompt on last step on boarding: *Read more* > *Learn
more*
2016-04-19 11:01:22 +02:00
Mike Jolley 1439b6da31 Do plugin install in the background 2016-04-18 17:05:19 +01:00
Mike Jolley 4b3d06821e Update wording 2016-04-18 15:58:22 +01:00
Mike Jolley 53b867e03e Merge branch 'pr/10724' 2016-04-18 15:39:25 +01:00
Mike Jolley 6dc0fecaa0 CB should be first 2016-04-18 15:39:19 +01:00
Mike Jolley 586587b5ec Merge pull request #10719 from JeroenSormani/zones-output-tweak
Only ouput zones UI when in that section, don't default to it
2016-04-18 09:37:45 -05:00
EmilEriksen a9d7315048 Fix undefined index "cb" 2016-04-18 16:08:54 +02:00
Mike Jolley 8fe7f46855 Use order currency in JS
Fixes #10693
2016-04-18 12:36:29 +01:00
Mike Jolley 62e6c9dbfa Merge pull request #10722 from shivapoudel/select-option
Fix - Close option as its not the list-item
2016-04-18 06:08:13 -05:00
Mike Jolley 3fcc68e2f8 Replace http hrefs with https
Closes #10716
2016-04-18 11:58:12 +01:00
Shiva Poudel 31b5530c3e Its option not the list-item to close :P 2016-04-18 16:26:51 +05:45
Mike Jolley 5ce2ab7cfa Allow a filter of products with no shipping class 2016-04-18 09:44:14 +01:00
JeroenSormani f53b59dbc4 Remove unneeded returns 2016-04-18 08:26:24 +02:00
JeroenSormani 88bcaa585c Only ouput zones UI when in that section, don't default to it 2016-04-18 08:23:37 +02:00
Mike Jolley 1824b61355 Merge pull request #10677 from shivapoudel/wp-json-encode
Use of wp_json_encode since WC 2.6 requires at least WP 4.4+
2016-04-15 10:12:16 -05:00
Mike Jolley c2820f608a Merge pull request #10667 from Dev49net/master
Add fallback to company name if customer names are not specified
2016-04-15 10:07:29 -05:00
Mike Jolley 1c21505b0b Make shop page display wording more clear
Closes #10699
2016-04-15 15:57:06 +01:00
Matty 79fe8508c8 Adjusts all Google Analytics tags to be lowercase. 2016-04-14 18:30:25 -04:00
Shiva Poudel dd37b82f9c Use of wp_json_encode since WC 2.6 requires at least WP 4.4+ 2016-04-12 11:22:26 +05:45
Dev49.net 5eb3888045 Added fallback to company name if names are not specified
Use case described in Issue #10666
2016-04-11 04:13:46 +02:00
Mike Jolley db6b6ebb5a Merge pull request #10642 from matheuscl/fixing_product_category_thumbnail_issue
Fix product category thumbnail issue
2016-04-07 10:31:52 -05:00
Mike Jolley 143642acf5 Change default sort order for featured column 2016-04-07 08:58:28 -05:00
Matheus Lopes ed754fb23f working on coding standards 2016-04-05 17:28:45 -03:00
Mike Jolley c0449f445d Merge pull request #10634 from JeroenSormani/product-visual-loading
Optimize the visuals when loading the product data meta box
2016-04-05 14:26:32 -05:00
Mike Jolley f8d483fd30 $updated_gallery_ids was not set 2016-04-05 07:42:03 -05:00
Matheus Lopes 61b8fece41 WooCommerce standards fix. 2016-04-04 17:59:53 +00:00
Matheus Lopes c9ee861f57 Check response before clear fields, now field 'Display type' is clean also. 2016-04-04 17:53:36 +00:00
Matheus Lopes a1f398e756 Minor fix for issue #10637 2016-04-04 17:25:23 +00:00
JeroenSormani a8abfef5fa Optimize the visuals when loading the product data meta box 2016-04-03 19:07:46 +02:00
Mike Jolley 3c97c93569 fix spacing 2016-04-01 17:33:00 +01:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 00ba45512e Merge branch 'shipping-wizard-removal' 2016-04-01 11:20:14 +01:00
Mike Jolley 082a3bc2c9 Change system status nav markup 2016-04-01 10:53:30 +01:00
Mike Jolley bfadb22c7c Added notice when no methods exist 2016-03-31 18:54:33 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley c9196a6377 Move help tip to core functions 2016-03-31 15:30:42 +01:00
Mike Jolley c757fd9940 Merge branch 'shipping-zone-modals'
# Conflicts:
#	assets/css/admin.css
#	assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Mike Jolley cb27af14c4 Status page geoip database 2016-03-30 13:11:26 +01:00
Mike Jolley c82e177fd3 Fix coupon total replacement
Fixes #10618
2016-03-30 12:56:53 +01:00
Mike Jolley 687d4be0bf Case 2016-03-29 19:51:09 +01:00
Mike Jolley 975c360ae3 Tweak icons and blank slate text 2016-03-29 19:37:02 +01:00
Mike Jolley 17958835a9 Merge pull request #10603 from toddlahman/master
Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
2016-03-29 14:52:55 +01:00
Mike Jolley dc635771e8 System status: Output CURL version
@claudiosmweb Might be good for 2.5 too
2016-03-29 14:27:37 +01:00
toddlahman fb66dd2c80 Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
If the size of the woocommerce_sessions table is 3.2 GB before the
Clear all sessions button is clicked, then it will delete all rows, but
leave the table size 3.2. Truncating/emptying the table resets the size
of the table, and deletes all rows.
2016-03-24 21:24:36 -07:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley bea3c66777 Change arrow entity
@jameskoster
2016-03-24 14:27:32 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley af0b38dcea Fix results when no orders match search term
Fixes #10599
2016-03-24 11:21:30 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00
Mike Jolley f73149feaf Tweak variation display and reenable bulk editing 2016-03-22 17:13:39 +00:00
Mike Jolley f1b3d0f708 Further layout tweaks 2016-03-22 14:54:02 +00:00
Mike Jolley 5862785522 Restyle items panel 2016-03-21 18:35:00 +00:00
Mike Jolley 7be2b129b6 Removed bulk actions from order items panel
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.

Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Jeff Stieler 16b65ea8c3 Fire action before order line items are rendered. 2016-03-18 15:25:31 -06:00
Mike Jolley 34767ebe0c Bump min recommended requirements to 5.6 2016-03-16 12:42:57 +00:00
Justin Silver ef3a5b97ef Merge remote-tracking branch 'upstream/master' 2016-03-15 13:51:49 -07:00
Justin Silver 4dec4832e1 Fix highlight series ID for coupons line from legend 2016-03-15 13:50:01 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 0ac7b23a1c Use one save button and add classname
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley e22d324be4 Add notice for legacy shipping zones after update 2016-03-15 15:58:03 +00:00
Mike Jolley c10b861f80 Merge pull request #10558 from doublesharp/master
Add 'woocommerce_admin_report_data' and 'woocommerce_admin_report_chart_data' to filter chart data by 3rd parties
2016-03-15 12:22:18 +00:00
Justin Silver ffdfe816ec Add ‘woocommerce_admin_report_data’ to filter chart data by 3rd parties
Refactor get_main_chart() to use an array of data so that it to can be
filtered
Add ‘woocommerce_admin_report_chart_data’ to filter chart data by
period (for display)
2016-03-14 19:30:49 -07:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Mike Jolley 0516d63c3f Update download permission user and email when changed
Fixes #10543
2016-03-14 14:36:32 +00:00
Mike Jolley ac857999ff [2.5] Prevent notice when unsetting terms
Fixes #10536 @claudiosmweb
2016-03-11 13:12:31 +00:00
Claudio Sanches 5fbd88489b Input type for api keys 2016-03-10 14:39:52 -03:00
Claudio Sanches e233eaa2c3 Fixed missing textdomain 2016-03-10 14:26:06 -03:00
Mike Jolley 2d2c64d2ab Change heading and tab markup
Closes #10515
2016-03-10 12:52:20 +00:00
Mike Jolley 9ce892bd39 Avoid title case. Clean up colon.
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Shiva Poudel d567d12b64 Remove colon from tax setting page 2016-03-10 11:32:33 +05:45
Claudio Sanches 11decde0ab Make sure that the attribute is a taxonomy before unset #10506 2016-03-09 17:17:21 -03:00
Claudio Sanches 99fd5f0d68 [2.5] Unset deleted attributes when update products, closes #10506 2016-03-09 17:12:19 -03:00
Mike Jolley c1e8dd1fe8 Use wc_get_orders iternally 2016-03-09 16:11:05 +00:00
Mike Jolley d3f98dce03 More advanced customer filter
#10500
2016-03-09 14:50:34 +00:00
Shiva Poudel 1a9f30d7e1 Simplify the copy-error message in system status 2016-03-09 01:04:41 +05:45
Shiva Poudel 3111ecf8e8 Remove WP 4.2 emojis prefix in system status report 2016-03-08 23:32:39 +05:45
Mike Jolley f7f26b192b Don't affect log when generating log text 2016-03-08 13:24:19 +00:00
Mike Jolley b3dc976fe3 Only do search logic if search_fields has values
Closes #10497
2016-03-08 12:58:31 +00:00
Mike Jolley 5b7bc59517 [2.5] Rename pay link for clarity 2016-03-08 11:50:41 +00:00
James Koster 69c9ab0345 Use Dashicons on system status page. #9791 2016-03-08 10:21:06 +00:00
Mike Jolley 2a98607532 Remove log dir from debug
@mattyza
2016-03-07 13:16:39 +00:00
James Koster 5d7f95fa7f Update the Storefront banner to include the new logo. closes #10313 2016-03-07 11:36:07 +00:00
Thi 348f9cc235 Fix wrong URL and request duration in webhook logs 2016-03-06 01:24:10 +09:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Mike Jolley 7580f18678 Merge pull request #10469 from allendav/master
Add hide_save_button to shipping zones instance template
2016-03-04 10:56:41 +00:00
Mike Jolley 533d961947 Merge pull request #10473 from shivapoudel/indentation
Tweak indentation tabs and correct use of <br>
2016-03-04 10:56:26 +00:00
Mike Jolley 22dc056e16 Merge branch '4-4-term-meta-handling' 2016-03-04 10:55:53 +00:00
Mike Jolley a1cce4a1b2 Issues from Justin 2016-03-04 10:53:48 +00:00
Shiva Poudel 23ad5580ae Added Periods in the end of comments 2016-03-04 15:26:31 +05:45
Shiva Poudel 51cc7376dd Docblock fix for get_field_description method 2016-03-04 15:15:03 +05:45
Shiva Poudel 3ae7e4e418 Tweak indentation tabs and correct use of br
Sublime linter showing notification due to </br>, instead we should use <br />
2016-03-04 15:08:45 +05:45
Allen Snook 1dbe6c21a0 Add hide_save_button to shipping zones instance template
(Like what is done for legacy shipping methods in the
html admin settings view)
2016-03-03 09:44:09 -08:00
Mike Jolley 7dadae7bc8 Load gateways before save
#10461
2016-03-03 17:05:40 +00:00
Mike Jolley 89e8404acb [2.5] Clear sale price on save if sale is no longer valid.
Closes #10454
2016-03-03 13:16:22 +00:00
Justin Shreve 4c560e4da6 Merge pull request #10462 from justinshreve/clipboard-fail-10450
Provide help if clipboard copying fails (Safari or zeroclipboard issue) in wp-admin
2016-03-03 02:48:42 -08:00
Shiva Poudel e0a99751f8 Blank target for links in theme suport notice 2016-03-03 15:53:12 +05:45
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Mike Jolley b221f9964a Merge branch 'master' into 4-4-term-meta-handling 2016-03-02 18:24:52 +00:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Justin Shreve defff6c5a9 Add the payment token tables to the database status report. 2016-03-01 11:49:40 -08:00
Justin Shreve 5d8967c7d7 Prepare a list of payment methods for output on the payment methods "my account" page. 2016-03-01 11:49:40 -08:00
Jon Koops a8cb7f7d00 Add wrapper classes to product category form fields.
Add wrapper classes to Display Type and Thumbnail fields of a product category in the admin. These classes follow the same naming convention as other taxonomy fields in the WordPress admin.
2016-03-01 15:37:01 +01:00
Mike Jolley d4df89e1b9 [2.5] Don't duplicate rating and review counts
Fixes #10440
2016-02-29 13:36:32 +00:00
Shiva Poudel 4a0e160c3b Since shop manager have no right to edit admin profile 2016-02-28 21:07:51 +05:45
Shiva Poudel 9dec203721 By default display_name is user_login, no target for database change ;) 2016-02-28 21:04:57 +05:45
Mike Jolley efe836dc12 Merge branch 'add/id-based-section-loading-shipping-and-checkout' 2016-02-26 15:26:45 +00:00
Mike Jolley c3554490b5 Backwards compatibility 2016-02-26 15:26:39 +00:00
Mike Jolley 384db11839 Hide disabled emails from dropdown
Fixes #10428
2016-02-26 13:22:31 +00:00
Shiva Poudel 162e6f874e Tweak some lines endings for views 2016-02-23 14:56:02 +05:45
Shiva Poudel e8077b4f9d Remove new line 2016-02-23 14:42:22 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Mike Jolley fc3474f255 Stop message moving
Fixes #10400
2016-02-22 13:32:31 +00:00
Shiva Poudel abe2f108f9 View mode option logic moved to appropriate post-type class 2016-02-20 00:49:36 +05:45
Jeff Stieler 346b25d01b Use ID instead of classname when saving settings for Checkout and Shipping. 2016-02-19 11:46:52 -07:00
Mike Jolley d63f4eb229 Merge pull request #10369 from justinshreve/back-to-emails-button-10317
Add a back button on the email notification management screens
2016-02-19 14:45:51 +00:00
Mike Jolley 986d63c511 Merge pull request #10384 from justinshreve/view-mode-10373
Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons.
2016-02-19 14:44:38 +00:00
Mike Jolley 8d391e86e6 Merge pull request #10370 from BFTrick/system-status-private
Adding Check in System Status for Private WooCommerce Pages
2016-02-19 12:40:49 +00:00
Justin Shreve 2968a66a01 Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons. 2016-02-18 11:58:36 -08:00