Commit Graph

17704 Commits

Author SHA1 Message Date
Ashley Rich 33048e742c Fix session locking in background processing class 2016-09-12 15:10:04 +01:00
Mike Jolley 1037f9b8c4 Merge pull request #11895 from tlovett1/api-silent-images-fail
(API) Add filter to continue uploading images if one fails
2016-09-12 14:53:58 +01:00
Mike Jolley 481471a64c Merge remote-tracking branch 'origin/master' 2016-09-12 14:53:10 +01:00
Mike Jolley f9b2ed88c2 Merge branch 'pr/11883'
# Conflicts:
#	includes/class-wc-shortcodes.php
2016-09-12 14:53:04 +01:00
Mike Jolley 8b8c2780b4 Merge pull request #11901 from rasmusbe/patch-1
Make WC_Logger follow FS_CHMOD_FILE when file is created
2016-09-12 14:49:21 +01:00
Mike Jolley 18b5648211 Merge branch 'slash1andy-patch-1' 2016-09-12 14:41:08 +01:00
Mike Jolley 63b6323b54 no www. 2016-09-12 14:41:03 +01:00
Mike Jolley 22c9c3aebf [2.6][api] Also need to decode the input. Passes unit tests. 2016-09-12 14:39:00 +01:00
Mike Jolley 978fa976f7 [2.6][api] Convert posted names to the API to slugs before save.
Fixes #11871

@claudiosmweb can you review the API changes made today - there are a
few like this - for inclusion in 2.6 asap. Let me know on slack.
2016-09-12 14:37:44 +01:00
Mike Jolley 8d19028754 Merge branch 'pr/11876' 2016-09-12 14:23:10 +01:00
Mike Jolley 0b6f1cbca8 [2.6][API] decode before sanitize
Fixes #11874
2016-09-12 13:46:01 +01:00
Mike Jolley 804178b6d1 [2.6] Remove empty ids.
Fixes #11887
2016-09-12 13:10:08 +01:00
Mike Jolley e7fb89be5f Protocol relative images
Closes #11884
2016-09-12 13:03:44 +01:00
Rasmus 9e8670015e Make WC_Logger follow FS_CHMOD_FILE when file is created
When WC_Logger creates a file it should use the permissions defined in FS_CHMOD_FILE

See https://codex.wordpress.org/Editing_wp-config.php#Override_of_default_file_permissions
2016-09-12 12:59:18 +02:00
Taylor Lovett 6eae03c6df Make sure to continue to next image on error 2016-09-09 23:49:45 -04:00
Taylor Lovett 3c164427ca Add filter to continue uploading images if one fails (api) 2016-09-09 22:41:41 -04:00
Andrew Wikel a489d492b8 Change the "Premium Support" link to updated link
Change the domain to WooCommerce.com and then used the link from the menu on WooCommerce.com
2016-09-09 14:50:26 -05:00
Claudio Sanches 2d991ff1d1 Merge pull request #11890 from woothemes/support-new-us-postcodes
Added support for the new US postcode format with 9 digits
2016-09-09 15:07:12 -03:00
Claudio Sanches 7a4e0da1c1 Update tests for wc_format_postcode() 2016-09-09 15:05:44 -03:00
Claudio Sanches 25b42700c2 Added support for the new US postcode format with 9 digits 2016-09-09 14:51:41 -03:00
Aristeides Stathopoulos 230c0398b3 fix failing test from master 2016-09-09 19:39:09 +03:00
Aristeides Stathopoulos 831b4463d0 Merge pull request #5 from woothemes/master
sync
2016-09-09 16:49:48 +03:00
Justin Shreve c8ddca0635 Merge pull request #11882 from woothemes/settings-and-api-fixes
Settings & API Fixes
2016-09-09 05:52:23 -07:00
Justin Shreve 9a37843c3c Merge pull request #11886 from woothemes/crud-private-protected
CRUD Updates: Prefix & get_/set_id
2016-09-09 05:47:27 -07:00
Justin Shreve e1e6c682b5 * Stop using _ as a prefix for protected or private vars and functions. We have a keyword for that.
* Introduces set_id and get_id to WC_Data for the CRUD classes to share
2016-09-09 05:36:54 -07:00
Aristeides Stathopoulos 888ad9bfdd another PHP syntax fix for lower PHP versions 2016-09-09 15:34:46 +03:00
Aristeides Stathopoulos b71b52f466 missing ; 2016-09-09 15:13:35 +03:00
Aristeides Stathopoulos 88da683f0a Merged branch master into master 2016-09-09 14:49:32 +03:00
Aristeides Stathopoulos 0cf5fc4904 fix PHP Fatal errors on lower PHP versions
Fatal error: Can't use method return value in write context
2016-09-09 14:49:14 +03:00
Aristeides Stathopoulos 7a509f53d4 Merge pull request #4 from woothemes/master
sync
2016-09-09 03:17:28 +03:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Justin Shreve 6fafbe855c Fix register-wp-admin-settings.php tests based on recent changes to handle email registration 2016-09-08 15:38:58 -07:00
Justin Shreve a36b25a68f Add setting validation to the REST API 2016-09-08 15:20:15 -07:00
Justin Shreve b665f5e1c6 Setting IDs do not need to be unique across the entire system.. just the group. 2016-09-08 15:20:15 -07:00
Justin Shreve 49676d1781 Hook up email settings to the API
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
2016-09-08 15:20:15 -07:00
Justin Shreve 9889222bd1 Swap "doesn't" with "does not" in 404 error messages. 2016-09-08 15:17:02 -07:00
Claudio Sanches fb1e2f8ee2 Merge pull request #11879 from ChaseWiseman/master
Prevent average product rating meta from being set for other post types
2016-09-08 16:56:46 -03:00
Claudio Sanches 1259a118c8 Fixed dashboard.php documentation, closes #11878 2016-09-08 15:58:37 -03:00
Chase Wiseman 51b5d11b97 Prevent average product rating meta from being set for other post types 2016-09-08 09:36:56 -07:00
Daniel Hüsken 47561278b8 API: Attribute slug will not be sanitize correctly #11874 2016-09-08 15:06:19 +02:00
Daniel Hüsken 367e16ffa9 API Variation returns sanitize attribute names #11868 2016-09-08 14:13:39 +02:00
Mike Jolley 238483ff2b No need to strip pa_ here
Closes #11868
2016-09-08 12:04:51 +01:00
Mike Jolley f4a30e3be6 Merge pull request #11873 from woothemes/issues/11872/args-for-updated_checkout
Added data to be passed in `updated_checkout` event handler.
2016-09-08 11:40:44 +01:00
Akeda Bagus e213e1cd00 Added data to be passed in `updated_checkout` event handler.
Resolves #11872.
2016-09-08 16:17:37 +07:00
Mike Jolley c96a3ea395 [2.6] Merge pull request #11860 from jobthomas/taxes-ux
Taxes ux
2016-09-08 10:07:45 +01:00
Mike Jolley 459d5584a4 Merge pull request #11865 from iconicwp/patch-1
[actions] Pass $atts into do_action
2016-09-08 10:06:56 +01:00
Mike Jolley 7c134d7f7c Do action when login fails.
Closes #11864
2016-09-08 10:06:16 +01:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos b70f62bfa9 Add 4th-level-deep tests 2016-09-08 00:34:39 +03:00
Aristeides Stathopoulos f6af54cb72 no need for verbose-mode phpcs tests. 2016-09-08 00:33:34 +03:00