Commit Graph

57 Commits

Author SHA1 Message Date
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
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
Mike Jolley 3e0f6e2511 Term counts only need to be deleted when terms are recounted 2014-06-19 12:25:10 +01:00
claudiosmweb 61c94f9e25 fixed some hard code strings 2014-06-11 17:12:23 -03:00
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Coen Jacobs e2ebb387f7 Better workaround for esc_url stripping spaces #4842 2014-02-17 11:48:43 +01:00
Coen Jacobs a19266b955 esc_attr instead of esc_url to preserve spaces in img src #4842 2014-02-17 11:29:36 +01:00
Mike Jolley 8d52b8d243 No class exist check needed for files included once #4616 2014-02-05 15:02:30 +00:00
Coen Jacobs 52f22aaea4 Thumbnail upload buttons shouldn't be submit type. Closes #4263 2013-12-02 13:10:32 +01:00