Commit Graph

40 Commits

Author SHA1 Message Date
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
Coen Jacobs 19688ad9ef Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
Closes #4216
2013-11-27 10:03:47 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Mike Jolley 3408965b8a Product functions 2013-11-25 14:01:38 +00:00
Scott Basgaard de77ec07ea esc_url() all the things. 2013-11-20 19:54:01 +01:00
Mike Jolley 03e3e6e9ca Load thumbnails Fixes #3581
@coenjacobs this needs applying to .14
2013-08-17 02:01:54 +01:00
Mike Jolley d77bac9330 Removed hooks and functions from admin. 2013-08-06 16:56:15 +01:00
Mike Jolley e7bd988470 Admin taxonomies 2013-07-25 17:51:28 +01:00