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
Jaydeep Rami
46d3638089
Fix missing return statement ( #16148 )
...
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
2017-07-20 18:01:14 +01:00
claudiulodro
a2867fae6a
Set up select2 and selectWoo
2017-07-06 08:43:10 -07:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Claudio Sanches
3920a12d71
Prevent RTL flip only color picker inputs
...
Fixes #13723
2017-04-04 17:27:11 -03:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
refael iliaguyev
d8cd0a7550
prevent flipping of color input in rtl
2017-03-22 22:12:07 +02:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
748db4e675
Defer flush so CPT is updated before flush.
...
Fixes #12787
2017-01-11 16:12:00 +00:00
Mike Jolley
d7dfdd3d10
Wrap all deprecation calls.
2016-11-23 16:15:00 +00:00
Rami Yushuvaev
d85075dcb0
a11y: replace `title` attributes with `aria-label`, for better accessibility
2016-11-04 17:41:51 +02:00
Daniel Hüsken
ab7f9dd674
Flush rewrite rules with cron for attribute terms ( #12132 )
2016-10-21 15:29:50 +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
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Aristeides Stathopoulos
734f284fa4
WordPress.PHP.YodaConditions.NotYoda
2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos
6ac7f03241
Generic.Formatting.DisallowMultipleStatements.SameLine
2016-09-02 06:40:52 +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
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03: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