roykho
8663c3b5f9
Assign default category to products closes #29540
2021-04-13 19:43:04 -07:00
Nestor Soriano
63ced34e2d
Convert optional-before-required arguments to required (take 2)
...
In PHP 8 required parameters after optional parameters in
function/method signatures trigger a deprecation notice. These type
of parameters are pointless since a value needs to always be
provided for them anyway, so they are actually de-facto required.
This commit converts all these not-so-optional parameters into
truly required parameters by removing their default values.
2020-10-16 13:08:31 +02:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
rmalviya
4190e9fd4b
Add missing post_type=product in url
...
Show Products->Categories active when clicked on "Make Default" link
under any product category and fix #23923 .
2019-06-14 12:28:08 +05:30
Mike Jolley
cc6ca5bdbd
Add deprecated
2019-03-05 19:00:37 +00:00
Rodrigo Primo
c798ea9ea8
Fix phpcs errors
2019-01-28 15:20:22 -02:00
Mike Jolley
32ae0192e5
Use WP term meta functions
2019-01-25 20:47:54 +00:00
Mike Jolley
8823559880
get rid of old term meta table
2019-01-25 20:44:25 +00:00
Joshua Flowers
2a76f0c19d
Add WC_Admin_Taxonomies instance method
2018-11-12 11:30:09 +08:00
Khan M Rashedun-Naby
f1f3eee195
discussion_r219948141 and discussion_r219949290 fix
2018-09-27 12:41:45 +06:00
Khan M Rashedun-Naby
f979b43b25
Fix for issue #21395
2018-09-21 14:36:04 +06:00
Keith Light
4144211754
Add class names to `edit_category_fields()` to be inline with other fields
...
Class names are added in `add_category_fields()` but not `edit_category_fields()`
2018-07-16 15:24:57 +01: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
Mike Jolley
2c45696498
Add a 'make default' button to change the default product category
2018-02-12 13:17:47 +00:00
Caleb Burks
210c22e57c
Update docs
2018-02-08 11:58:20 -05:00
Caleb Burks
454c226778
Use wc_help_tip()
2018-02-08 11:52:32 -05:00
Mike Jolley
b95812d563
Handle quick edit
2018-02-08 12:35:57 +00:00
Caleb Burks
4ca94e8f21
Add tooltip for default category
2018-02-07 19:24:43 -05:00
Caleb Burks
c8a888acba
Add note underneath product categories in admin
2018-02-07 18:12:31 -05:00
Mike Jolley
832d767a83
Full support for sorting
2018-01-31 20:17:06 +00:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Mike Jolley
17f78d9668
Fallback to full image
...
Closes #12759
2017-01-05 14:31:04 +00:00
rspublishing
8265295862
Minor text changes
2016-09-13 13:56:49 +02:00
Mike Jolley
3d3b24e39c
[2.6] Check taxonomy is set
...
Closes #11526
2016-07-26 11:19:01 +01:00
Mike Jolley
d4d6f3181c
Best practice tweaks
2016-06-06 17:24:31 +01:00
Leon Francis Shelhamer
1e5785da3f
Fix {$taxonomy}_pre_add_form hook for attributes
...
previous {$taxonomy}_pre_add_form hook inside of wc_get_attribute_taxonomies() loop was not written to work with the results of wc_get_attribute_taxonomies()
2016-05-29 17:57:10 -04:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
6dc0fecaa0
CB should be first
2016-04-18 15:39:19 +01:00
EmilEriksen
a9d7315048
Fix undefined index "cb"
2016-04-18 16:08:54 +02:00
Matheus Lopes
ed754fb23f
working on coding standards
2016-04-05 17:28:45 -03:00
Matheus Lopes
61b8fece41
WooCommerce standards fix.
2016-04-04 17:59:53 +00:00
Matheus Lopes
c9ee861f57
Check response before clear fields, now field 'Display type' is clean also.
2016-04-04 17:53:36 +00:00
Matheus Lopes
a1f398e756
Minor fix for issue #10637
2016-04-04 17:25:23 +00:00
Mike Jolley
b221f9964a
Merge branch 'master' into 4-4-term-meta-handling
2016-03-02 18:24:52 +00:00
Jon Koops
a8cb7f7d00
Add wrapper classes to product category form fields.
...
Add wrapper classes to Display Type and Thumbnail fields of a product category in the admin. These classes follow the same naming convention as other taxonomy fields in the WordPress admin.
2016-03-01 15:37:01 +01:00
Mike Jolley
d821b87f8a
Move shipping classes to custom UI in shipping section
2016-01-13 16:52:28 +00:00
Fredrik Forsmo
559d9259ea
Improve docblock comments in WC_Admin_Taxonomies class
...
* Added missing param tags
* Updated param types to right type
2016-01-05 16:42:03 +01:00
Mike Jolley
19da7cf8bc
No need to delete termmeta if using the new tables
2015-11-06 15:33:23 +00: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
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Mike Jolley
3bd52a78a5
Use wc_get_attribute_taxonomies instead of global
2015-08-11 17:10:34 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Claudio Sanches
d53d21781b
[2.3] Fixed product category media upload modal and some coding standards, closes #8227
2015-05-26 10:24:49 -03:00
Mike Jolley
77e7de0ef7
Add note about #7555
...
Closes #7555
2015-03-24 10:28:53 +00:00
Mike Jolley
66e6c682ed
Only run save_category_fields for product_cat taxonomy.
...
Closes #7665
2015-03-09 11:29:14 +00:00
Claudio Sanches
177bcbe7d5
Removed unused code
2015-01-23 16:34:43 -02: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
claudiosmweb
74ba11c189
Removed some unused code
2014-11-19 21:36:47 -02:00
Cor van Noorloos
e4bc36fcec
category meta box and category column thumbnail
2014-09-28 17:23:58 +02:00