Commit Graph

146 Commits

Author SHA1 Message Date
Claudio Sanches db06d3dbae Merge branch 'master' into update/22164-tax-rate-class-table 2019-07-08 18:12:23 -03:00
Peter Fabian 98edbd2f78 Added confirmation before saving an empty list of countries to sell to in general WC settings. 2019-05-02 21:26:29 +02:00
Peter Fabian 3caee4451d Fixed PHPCS. 2019-05-02 21:20:08 +02:00
Mike Jolley b387444136 Allow us to define a setting in API but not save as option 2019-03-20 15:26:38 +00:00
Krzysztof Grabania 946b1e2469 Remove whitespace characters from Select2 option title 2019-02-25 20:12:54 +01:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +01:00
Mike Jolley d136926d0c Fix tooltip styling when outside label 2018-05-15 15:59:49 +01:00
Mike Jolley dbd7f2d2e4 Pass autoload when saving options 2018-05-01 11:54:20 +01:00
Mike Jolley e6eaa4f83c Fix colorpicker styling 2018-04-26 12:21:17 +01:00
Mike Jolley 7be62795db Add wp-util script and strings for localisation 2018-04-24 19:26:00 +01:00
claudiulodro 3547df00d9 Use min of 1 for number 2018-04-18 09:48:42 -07:00
claudiulodro c15cb09700 Resolve merge conflicts 2018-04-18 09:46:15 -07:00
claudiulodro 754031ce6d Add min to date number 2018-04-18 09:42:32 -07:00
Mike Jolley d381330a91
Merge pull request #19705 from woocommerce/fix/19619
Handling of PHP's automatic array key conversion to int
2018-04-18 15:40:31 +01:00
Mike Jolley 6c5d4c7cda Add privacy settings 2018-04-17 18:32:31 +01:00
Mike Jolley bce3c7e94c Disable anon for now 2018-04-17 15:33:40 +01:00
Mike Jolley 314d949d2c Background process to cleanup 2018-04-17 15:21:03 +01:00
Peter Fabian 7861d7b95f Changed usage of selected with in_array to wc_selected. 2018-04-17 13:24:39 +02:00
Mike Jolley d8814f9381 tip alignment 2018-04-17 12:19:01 +01:00
Mike Jolley 27cf41bbf0 Added personal data cleanup settings 2018-04-17 11:45:24 +01:00
Mike Jolley 78f96fcd40 Hook mapping/bw compat 2018-04-16 14:27:03 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Rodrigo Primo b4f6dc45e6 Update option instead of adding it
Doing this since on commit 57ae11c4c6, we stopped deleting the option and thus adding it won't do anything as it will be already present.
2018-02-08 09:54:39 -02:00
Rodrigo Primo 61f037060b Use 'yes' instead of 'true' as the value of the option woocommerce_queue_flush_rewrite_rules
WC seems to use 'yes' and 'no' instead of 'true' and 'false' as the values of boolean options, so this commit changes the value of the option woocommerce_queue_flush_rewrite_rules to follow this pattern. Also, the string 'false' can induce bugs as it is truthy.
2018-02-07 10:54:01 -02:00
Claudio Sanches c4da47f8ad Fixed coding standards 2018-02-01 13:53:29 -02:00
Claudio Sanches 1dc56f5ef9 Fixed missing default value #18753 2018-02-01 13:52:05 -02:00
Claudio Sanches 9a202f93c1
Merge pull request #18756 from Drivingralle/patch-5
Pass on default single_select_page setting field value into output
2018-02-01 13:51:13 -02:00
Ralf Wiechers f098f4edb8
Pass on default single_select_page setting field value into output
Addition to #18753
2018-02-01 15:52:32 +01:00
Ralf Wiechers c6839e7962
Default value for single_select_country and multi_select_countries settings field not passed into output
Fix #18753
2018-02-01 15:45:38 +01:00
Rodrigo Primo 538ee2097c
Merge pull request #18594 from alexminza/master
Added support for additional HTML5 input types for settings/checkout forms
2018-01-30 17:33:13 -02:00
claudiulodro 141aeaa1b3 Fix spacing 2018-01-30 06:15:30 -08:00
Gerhard Potgieter e041136974 Cast multiselect keys as strings since html does not know anything about integers. 2018-01-30 14:03:28 +02:00
Alexander Minza 519bfadc63 Added support for additional HTML5 input types 2018-01-25 15:14:30 +02:00
Shiva Poudel 0432b58182 Remove unwanted transient then were not set 2017-12-18 20:03:08 +05:45
Gerhard Potgieter 89d21a50a4 Convert allowed options to string values for comparison, html options have no data type distiction. 2017-12-15 13:39:05 +02:00
Gerhard Potgieter 30398a65f1 Do not use strict comparison when doing in_array on select settings as wp_unslash on the raw_value will return a string that fails comparison with int values. 2017-12-15 13:21:01 +02:00
Claudio Sanches 2f6f6112c2 Merge branch 'master' into feature/webhook-crud 2017-12-07 18:21:52 -02:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
Mike Jolley 39e86db7a7 Use an action/option rather than cron to queue rule flushing
Closes #17851
2017-11-22 11:39:57 +00:00
Claudio Sanches 9fe0c7261e Merge branch 'master' into feature/webhook-crud 2017-11-16 12:20:22 -02:00
Mike Jolley 992d6e3aed Dump old settings 2017-11-14 16:36:18 +00:00
Claudio Sanches 4c4f0c34d5 New settings REST API file 2017-11-09 11:00:11 -02:00
Claudio Sanches f1dfbb2f58 Fixed coding standards for WC_Admin_Settings 2017-11-09 10:57:54 -02:00
Mike Jolley bb31ecdff1 Validation 2017-11-08 13:40:30 +00:00
Mike Jolley be3b37f1df Adjust preview position 2017-11-08 13:36:17 +00:00
Mike Jolley cf448398cd Update API 2017-11-07 19:08:06 +00:00
Mike Jolley db3122cc57 fix 2017-11-07 18:38:23 +00:00
Mike Jolley e025caf177 Widths and aspect ratios 2017-11-07 18:32:43 +00:00
Gregory Karpinsky 73b20bfece Update class-wc-admin-settings.php
Typo: visbility --> visibility
2017-08-21 22:00:23 -04:00
Kathy Darling fe0c190894 Move settings init/save to load-$settings hook. Closes #16221 2017-07-25 14:43:26 -04:00