Claudio Sanches
6a21ec401c
Fixed coding standards
2018-11-21 16:12:35 -02:00
Claudio Sanches
fa8ec35006
Fixed REST API authentication when using 3rd party auth methods
...
Closes #21789
2018-11-21 16:10:36 -02:00
Claudio Sanches
dbec84e0a9
Allow oAuth1.0a under SSL
...
Closes #20042
2018-05-15 23:51:59 +01:00
Khan M Rashedun-Naby
9aed8394cb
Removed unnecessary else condition check. I think in this situation after early returning the else is redundant.
2018-04-19 11:04:44 +06:00
Claudio Sanches
f0d37ff4f5
Fixed PHPCS violations on REST API
2018-03-06 15:04:58 -03:00
Claudio Sanches
e8017e985b
Fixed coding standards issues with PHPCBF
2018-03-05 17:53:06 -03:00
Mike Jolley
b0cb64b93d
API - use current scheme
...
This caused issues for me locally forcing http to test requests. Ok to
change @claudiosanches ?
2017-09-07 15:32:29 +01:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches
f37e066d97
[REST API] Allow OPTIONS requests again
2017-07-13 15:19:17 -03:00
Claudio Sanches
2523490f9f
[REST API] Fixed oAuth1.0a to allow multi-dimensional arrays
...
Fixes #15395
Closes #15396
2017-06-06 17:05:03 -03:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Claudio Sanches
1aa8218b26
Fixed oauth signature replacing spaces by plus sign
...
oAuth signatures are encoded by base64, that can generate plus signs.
See RFC 4648 <http://www.rfc-editor.org/rfc/rfc4648.txt >
By default plus signs in query params are replaced into spaces while
trying to access by super globals like $_GET and $_POST
Closes #13615
2017-03-16 14:23:45 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Claudio Sanches
b1b536b5d2
Give REST API authentication a lower priority
...
Bigger than add_filter( 'determine_current_user', 'wp_validate_auth_cookie' );
Smaller than add_filter( 'determine_current_user', 'wp_validate_logged_in_cookie', 20
);
This solve issues while trying to authenticate in a browser while logged
in.
Closes #13134
2017-02-10 15:35:52 -02: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
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Claudio Sanches
eb55096a32
Allow oAuth1.0a authentication using headers
2016-08-22 17:39:41 -03:00
Claudio Sanches
81690c4dee
Fixed duplicated semicolon
2016-06-30 18:25:39 -03:00
Claudio Sanches
ef41395ae9
[2.6] [REST API] Added support for WP REST API with custom URL prefix
2016-06-30 18:23:21 -03:00
Claudio Sanches
58a7ec9659
[2.6] [REST API] Do not register errors for missing/invalid consumer key, closes #11124
2016-06-14 19:47:39 -03:00
Mike Jolley
76a4ffe2e0
Unused vars
...
@claudiosmweb
2016-06-06 18:10:03 +01:00
Claudio Sanches
35fdcd243a
[REST API] Added method to check if the request is to the rest api and allow third party plugins
2016-05-11 11:52:29 -03:00
Claudio Sanches
cae8056172
[REST API] Fixed a conflict with authentication and our old API
...
This make authentication avaiable only on the WP REST API for the wc/v1
namespace.
Closes #10890
2016-05-10 18:27:28 -03:00
Claudio Sanches
89068f0a4b
Fixed coding standards
2016-04-05 14:58:18 -05:00
Claudio Sanches
bf64942b28
Align variables
2016-03-31 16:14:18 -03:00
Claudio Sanches
242b362020
Fixed file names
2016-03-28 09:25:50 -03:00