Commit Graph

8 Commits

Author SHA1 Message Date
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 f34cead914 Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax() 2014-11-18 14:45:29 -02:00
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
Chuck Mac fa0b829b15 Add new 'wc_admin_reports_path' filter with name
Add $name to filter to be able to use the original passed value as well.
2014-05-14 19:54:45 -04:00
Chuck Mac 2de7df9425 Add new 'wc_admin_reports_path' filter to reports
Add filter to allow for changing of the report class files.

This will allow 3rd party plugins to use this function to extend the
reporting. Currently this can only include files in the woocommerce plugin
directory itself.
2014-05-08 12:34:30 -04:00
Mike Jolley 8615d06a33 Refactored report transients to use fixed names based on the report classname. Allows use of delete_transient and Fixes #5041 2014-03-20 11:10:25 +00:00
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00