Rodrigo Primo
7337ab60c2
Fix PEAR.Functions.FunctionCallSignature violations
...
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Yash Kapoor
5c1a64026a
Fixed escaping function.
2019-09-11 15:12:34 +05:30
Mike Jolley
b091a0975d
Switch span to paragraph
2019-02-05 11:28:46 +00:00
John Rom
741435d816
Switch user meta permissions filter from user data to user id
2019-01-16 11:20:42 -05:00
John Rom
130a36107c
Added filter to the save method so it is not bypassable
2019-01-16 11:00:46 -05:00
John Rom
186a1d5b7e
Combine permission conditions into a single filter provided the default value
2019-01-16 10:56:26 -05:00
John Rom
1055d79301
Add a filter, woocommerce_current_user_can_edit_customer_meta_fields, to bypass manage_woocommerce when editing customer meta fields
2018-12-20 11:06:33 -05:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
JeroenSormani
453862c02f
Assign type='button' to 'Copy from billing address'
2017-11-16 14:46:05 +01:00
Kelly Dwan
3cb3a1b085
Style & escaping fixes, based on review feedback
2017-05-16 14:01:14 -04:00
Kelly Dwan
ce06a92e57
Profiles: Add get_user_meta helper, which can fall back on core user fields when applicable, such as first_name, last_name, and email for billing fields.
2017-05-15 17:10:31 -04:00
Kelly Dwan
faea811a92
Customer profile: Add a “Copy from billing” button to shipping user meta fields
2017-05-15 17:09:02 -04:00
Claudio Sanches
b528e25759
Improve address labels to help translations
2017-03-21 15:54:23 -03:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00: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
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03: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
Mike Jolley
da0c0b4ade
[2.6] h2 in profile screen
...
Closes #11515
2016-07-25 12:54:00 +01:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Claudio Sanches
c76c965b59
Removed user api keys options
2015-05-15 18:04:58 -03:00
Mike Jolley
154e289b08
Fix unclosed div element Closes #7575
2015-03-02 11:58:13 +00:00
Claudio Sanches
20470db763
Add select2 to State/Country user meta fields in admin profile #6359
2015-01-12 17:15:37 -02:00
splashingpixels
0923d31de2
use proper label tags for generate api key setting field
2015-01-01 13:33:08 -08:00
Tamara Zuk
af442599b1
Code Standards: Finish up admin includes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
@see http://make.wordpress.org/core/handbook/coding-standards/php/
@see part 1: #6157
2014-11-30 01:52:32 -05:00
Bryce
8b1cc5f902
#5850 - Add QR code to API credentials
...
This uses https://github.com/jeromeetienne/jquery-qrcode for generating
the QR code.
This is what it looks like:
![see screen shot](http://cld.wthms.co/11wpb+ )
It’s small, **but**, it scans perfectly without any issues.
2014-11-20 15:46:46 +07:00
shivapoudel
4091fe00ad
Absolute path and Indentation fix for includes/admin/{roots-files}.php :)
2014-09-21 01:37:30 +05:45
profetes
77a5b601ed
WC API: can generate API keys for different user than the one that is making request
2014-03-25 17:22:48 +01:00
Max Rice
ac1cd5d23d
Fix API keys permissions bug
...
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.
Part of #4055
2014-01-23 16:24:16 -05:00
Patrick Rauland
263d2116de
fixing county typo
2013-11-29 18:26:42 -06:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Gerhard
bb43d086c9
Fix warning in new rest api key generation
2013-11-19 15:18:25 +02:00
Max Rice
f542ce87a1
Add key management UX
...
Part of #4055
2013-11-19 03:02:28 -05:00
Mike Jolley
708423b96f
Notices/undefined vars Closes #3911 .
2013-10-11 12:31:36 +01:00
Mike Jolley
728b1bf244
Some more admin class conversions
2013-07-24 19:55:02 +01:00