Commit Graph

16373 Commits

Author SHA1 Message Date
Claudiu Lodromanean dc55b9b002
Merge pull request #21232 from hahn208/fix/21229-shipping-class
#21229 Updated class attribute for shipping class meta box
2018-08-30 12:17:49 -07:00
Claudio Sanches 4738162c25 Improvements to wc_create_attributes (DRI) 2018-08-30 12:13:16 -07:00
Hahn 6623db017b #21229 Updated class attribute for shipping class meta box 2018-08-30 12:17:43 -06:00
Claudiu Lodromanean fd722da88a
Merge pull request #21188 from woocommerce/fix/21156
Updated phone validation and formatting rules.
2018-08-30 09:52:13 -07:00
Jeff Stieler 8a29945531 OBW: move Jetpack+WCS requirement description to plugin install info area at bottom of payment step. 2018-08-29 16:47:46 -06:00
Jeff Stieler 0028902eb2 OBW: change Stripe and PayPal account creation to opt-out and remove descriptions. 2018-08-29 16:44:47 -06:00
Rodrigo Primo eee61b7880 Merge branch 'issue/21062' of https://github.com/kakshak/woocommerce into kakshak-issue/21062 2018-08-29 13:27:39 -03:00
Rodrigo Primo e3cbebf29e
Merge pull request #21192 from woocommerce/fix/20979
Restrict category creation in importer to appropriate permissions
2018-08-29 11:27:49 -03:00
Rodrigo Primo f1c2dbbf2b Remove unneeded phpcs ignore comment 2018-08-29 10:34:06 -03:00
Rodrigo Primo e28bdddbc2
Merge pull request #21191 from woocommerce/fix/21161
Only suppress comments number on unsupported theme shop page
2018-08-29 10:29:20 -03:00
Claudiu Lodromanean 1258f242ff
Merge pull request #21204 from woocommerce/fix/21197
Corrected wording of stock quantity description.
2018-08-28 13:23:49 -07:00
Claudiu Lodromanean 8d21f4ad77
Merge pull request #21205 from woocommerce/fix/21107
Unslash city name to prevent double escape.
2018-08-28 13:04:23 -07:00
Claudiu Lodromanean e1b1aca807
Merge pull request #21200 from madeincosmos/fix/21199
Enable PDT handling for custom pending payment statuses
2018-08-28 10:47:53 -07:00
Peter Fabian 964ee9ac1a Unslash city name to prevent double escape. 2018-08-27 18:33:14 +02:00
Peter Fabian 32d3ff76c5 Use simple quote. 2018-08-27 17:28:29 +02:00
Peter Fabian 058f14e7d3 Corrected wording of stock quantity description. 2018-08-27 17:20:46 +02:00
Maria Górska 0369e3d622 Enable PDT handling for custom pending statuses 2018-08-27 12:10:36 +02:00
Gerhard Potgieter 43de3d00cd Remove icanhazip service from ip lookup, their DNS is blacklisted and blocked by most servers. 2018-08-27 11:21:37 +02:00
claudiulodro 74645b13f9 Dont allow users without manage_product_terms permissions to create categories using the importer 2018-08-24 11:32:48 -07:00
claudiulodro 2e87ec3bf1 Only suppress comments number on unsupported theme shop page 2018-08-24 10:46:57 -07:00
Claudiu Lodromanean 66c7c244ca
Merge pull request #21186 from woocommerce/fix/string-i18n
Use entire sentence for checkout address_2 placeholder string
2018-08-24 10:04:54 -07:00
Claudiu Lodromanean d72ffe48e7
Merge pull request #21180 from woocommerce/fix/21160
Make RO state required.
2018-08-24 09:53:53 -07:00
Claudiu Lodromanean 1b405c2c12
Merge pull request #21162 from wackywombaat12/Fix/20987
Fix/20987
2018-08-24 09:51:23 -07:00
Claudiu Lodromanean a479ba1ff6
Merge pull request #21168 from woocommerce/fix/21079
Updated order of array traversal to respect user's order
2018-08-24 07:04:05 -07:00
Peter Fabian 897af8d20e Updated phone validation and formatting rules. 2018-08-24 15:43:46 +02:00
Rodrigo Primo e1aa7bba4d Use entire sentence for checkout address_2 placeholder string
The placeholder string that is displayed in the address_2 field in the checkout was changed in #20639 to hide the "(optional)" part when the field is mandatory. The problem is that this was done splitting the sentence in two parts which goes against i18n best practices (https://developer.wordpress.org/themes/functionality/internationalization/#best-practices-for-writing-strings) as the order of the words can be different depending on the language. This commit creates two full sentences one with the "(optional)" part and another one without it to better support the translation of both strings.
2018-08-24 09:45:16 -03:00
Peter Fabian 2e350fe5b7 Small PHPCS fix. 2018-08-24 09:21:49 +02:00
Gerhard Potgieter bea8151533 Make RO state required. 2018-08-24 09:16:07 +02:00
Jack Boyle 63b84ef407 Fix Requested Changes
Changed to check if field exists and the field is not blank.
2018-08-24 13:03:09 +10:00
Claudiu Lodromanean babfacd6bb
Merge pull request #21108 from woocommerce/fix/21025
Set tabindex=1 for notices
2018-08-23 13:11:08 -07:00
Andrew Minion 067a79c336
fix typo 2018-08-23 14:37:54 -04:00
Peter Fabian f5fd36fbdf Updated order of array traversal to respect user's order when changing order of attributes for variations. 2018-08-23 18:41:28 +02:00
Jack Boyle fd33f2c2a6 Added Tests
Added Tests for new wildcard functionality.
2018-08-23 15:23:35 +10:00
Jack Boyle c4eda39177 Add wildcard handler for SKU and other meta values
Add wildcard handler for SKU and other meta values
2018-08-23 09:59:39 +10:00
Claudiu Lodromanean fe69a875e2
Merge pull request #20993 from woocommerce/fix/20959
Changed wc_clean to checking for valid utf8 for line items and password.
2018-08-22 10:12:48 -07:00
Gerhard Potgieter 64c9b5fc6a
Merge pull request #21109 from woocommerce/fix/21057
Fix: properly output product structured data when product URL contains some non-ASCII characters
2018-08-22 13:09:14 +02:00
kakshak 4d17ebeadc fix(woocommerce): per cart coupon condition updated 2018-08-22 11:09:58 +05:30
kakshak 0f27d4799b Merge branch 'master' of https://github.com/woocommerce/woocommerce into issue/21062 2018-08-22 11:03:55 +05:30
Claudiu Lodromanean bfa36fe923
Merge pull request #21106 from woocommerce/fix/21027
Use refund currency when displaying refund amount
2018-08-21 12:46:59 -07:00
Claudiu Lodromanean 9777ba18ff
Merge pull request #21103 from woocommerce/fix/21093
Disabled postcode requirement for Bahrain.
2018-08-21 12:11:11 -07:00
Peter Fabian 5b0cc306a5 Moved the wc_kses_notice to wc-notice-functions.php and applied it in wc_print_notices(). 2018-08-21 12:00:48 +02:00
Peter Fabian 9845c3c131 PHPCS. 2018-08-21 11:48:29 +02:00
Peter Fabian ae05d6e5ea Removed author tag and bumped version of templates to 3.5.0, factored out function to one common place. 2018-08-21 11:47:50 +02:00
Peter Fabian 9319b3c262 Bahrain postcode visible, but not required. 2018-08-21 11:15:09 +02:00
Rodrigo Primo 5e7c8c6959 Remove unneeded call to wc_clean() when outputting product structured data
This commit removes an unneeded call to wc_clean() before outputting product structured data to the browser. wp_json_encode() is called before the data is sent to the browser and it should be enough to escape it. wc_clean(), which calls sanitize_text_field() internally, was causing issues with the product URL when its name contained some non-ASCII characters (see #21057 for examples of characters).
2018-08-20 14:48:17 -03:00
Claudiu Lodromanean 42e2e4a4b2
Merge pull request #21073 from woocommerce/fix/20694
Show system status updates for woocommerce wp.org plugins
2018-08-20 10:29:01 -07:00
Peter Fabian 355d95db9d Added tabindex 1 to Add to cart notices (View cart/Continue shopping). 2018-08-20 18:39:31 +02:00
Rodrigo Primo b8354da6b1 Use refund currency when displaying refund amount
Use the refund currency when wc_price() is called to display the refund amount in the "Edit order" admin screen. Without this change, wc_price would use the store default currency which is a problem for stores that at some point changed their currency or stores using extensions which support multiple currencies.
2018-08-20 11:32:56 -03:00
Rodrigo Primo aef5d3373c phpcs fixes 2018-08-20 11:12:12 -03:00
Peter Fabian a777f9b548 Disable postcode requirement for Bahrain. 2018-08-20 12:40:53 +02:00