Claudiu Lodromanean
|
4aad055e62
|
Merge pull request #21696 from siananda/fix-21652
Prevent deleting default product category via REST API
|
2018-11-02 08:09:21 -07:00 |
Md. Saiful Islam
|
285151843f
|
compare with $request['id'] instead of $term
|
2018-10-30 11:36:16 +06:00 |
Gerhard Potgieter
|
dba5469efa
|
update comment for PHPCS passes
Co-Authored-By: siananda <anandacsebd@gmail.com>
|
2018-10-29 20:21:14 +06:00 |
Claudio Sanches
|
ccb3f3d82c
|
Normalize string in terms controller
|
2018-10-26 20:12:09 -03:00 |
Md. Saiful Islam
|
50d33a5793
|
Fix for issue #21652
Prevent deleting the default product category. Added additional checking is the category is the default category or not.
|
2018-10-26 21:05:52 +06:00 |
Peter Fabian
|
70d876d122
|
Replaced query attribute placeholder with actual value for header link.
|
2018-07-02 16:02:54 +02:00 |
Gerhard Potgieter
|
c2dbc0c887
|
Keep taxonomy_hierarchical test in place
|
2018-05-04 08:50:14 +02:00 |
Gerhard Potgieter
|
a43ac9acae
|
No need to do checks of parent, WordPress does all the checks when running wp_insert_term and wp_update_term
|
2018-05-03 08:19:16 +02:00 |
Gerhard Potgieter
|
992a46c513
|
Do not unset parent_id when 0 but actuall handle 0 as it can be passed to wp_insert_term.
|
2018-05-02 12:19:56 +02:00 |
Gerhard Potgieter
|
61e624b937
|
Allow parent:0 param passing when updating a term via the API
|
2018-05-02 08:44:06 +02:00 |
Gerhard Potgieter
|
2124972232
|
If 0 is supplied as parent ID simply remove it before creating the term. 0 means no parent.
|
2018-05-02 08:31:28 +02:00 |
Claudio Sanches
|
1cf8dc4232
|
Fixed coding standards warnings with PHPCBF
|
2018-01-24 15:09:50 -02:00 |
Claudio Sanches
|
75de578d38
|
Fixed coding standards errors
|
2018-01-24 15:07:51 -02:00 |
Claudio Sanches
|
4536afb47c
|
[REST API] Prevent errors when taxonomy is unregistered
Closes #18567
|
2018-01-24 15:04:32 -02:00 |
victorfreitas
|
9dcfe4883a
|
Fix error when invalid parent term
|
2017-10-03 17:59:58 -03: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 |
claudiulodro
|
4515e5fca9
|
Fix undefined/incorrectly used variables
|
2017-06-09 14:10:55 -07:00 |
Rasmus Bengtsson
|
185934fad9
|
Fix phpdoc to include params and correct types
|
2017-05-15 13:50:52 +02:00 |
Govind Kumar
|
200cd2de63
|
Fixed: get_term() returns objects not array.
|
2017-04-18 13:00:04 +05:30 |
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 |
Mike Jolley
|
82d7fe6e73
|
Added more missing args and types
|
2017-01-26 20:33:39 +00:00 |
Mike Jolley
|
eb2b9d78f8
|
Merge pull request #12947 from woocommerce/improve-rest-api-error-data
Allow pass error data using WC_Data_Exception
|
2017-01-24 12:45:49 +00:00 |
Claudio Sanches
|
03b34fb738
|
[REST API] Improved messages for term_exists error
|
2017-01-23 17:07:36 -02:00 |
Claudio Sanches
|
10a9baeada
|
[REST API] Fixed PHP notices while trying to set product category parent as 0
|
2017-01-23 16:44:22 -02:00 |
Justin Shreve
|
9889222bd1
|
Swap "doesn't" with "does not" in 404 error messages.
|
2016-09-08 15:17:02 -07:00 |
Justin Shreve
|
fe7e26d68d
|
Error fixes:
* Typos
* Consistent edit error handles
* Consistent error messages
|
2016-08-08 14:52:46 -07:00 |
Claudio Sanches
|
69b976e3a9
|
[REST API] Remove the term if something fails while creating, closes #11303
|
2016-06-30 15:24:23 -03:00 |
Mike Jolley
|
76a4ffe2e0
|
Unused vars
@claudiosmweb
|
2016-06-06 18:10:03 +01:00 |
Claudio Sanches
|
2b1d4eced6
|
[REST API] Allow batch create, update and delete for almost all endpoints
|
2016-05-11 16:34:53 -03:00 |
Claudio Sanches
|
1021bfb754
|
Simplified the way how check terms permissions
|
2016-03-31 16:57:55 -03:00 |
Claudio Sanches
|
c890961f76
|
Fixed contexts on abstract terms controller
|
2016-03-31 16:17:39 -03:00 |
Claudio Sanches
|
bf64942b28
|
Align variables
|
2016-03-31 16:14:18 -03:00 |
Claudio Sanches
|
f574a149d1
|
Attributes permissions
|
2016-03-30 14:49:22 -03:00 |
Claudio Sanches
|
0fce9c5243
|
New product terms permissions
|
2016-03-30 14:17:40 -03:00 |
Claudio Sanches
|
935a784061
|
Fixed header location when creating attribute terms
|
2016-03-22 15:34:27 -03:00 |
Claudio Sanches
|
5f73c23da6
|
Better query params name
|
2016-03-09 01:46:04 -03:00 |
Claudio Sanches
|
396242b89c
|
Fixed links for terms
|
2016-03-07 17:28:52 -03:00 |
Claudio Sanches
|
426410c2ae
|
Manipule product attribute terms
|
2016-03-07 16:39:24 -03:00 |
Claudio Sanches
|
9f07be5271
|
Make easy to extend our rest controllers
|
2016-03-07 15:36:17 -03:00 |
Claudio Sanches
|
b5e65c68b9
|
Added methods to update and create terms
|
2016-03-07 14:49:14 -03:00 |
Claudio Sanches
|
d4d91d0fe9
|
Allow delete categories, tags and shipping classes
|
2016-03-03 18:19:02 -03:00 |
Claudio Sanches
|
1f8e07108f
|
Created methods to list and get terms
|
2016-03-02 20:22:12 -03:00 |
Claudio Sanches
|
43a5f6f842
|
Created abstract classes for posts and terms
|
2016-02-22 16:43:52 -03:00 |