Commit Graph

71 Commits

Author SHA1 Message Date
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 6c30f84fa2 WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys 2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos 32ddc22465 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma 2016-08-27 05:14:16 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Justin Shreve 35cae38aa2 Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes. 2016-08-09 10:14:47 -07:00
Justin Shreve 9dbd365be8 First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool. 2016-08-09 09:51:30 -07:00
Mike Jolley cfe28c9b25 Made WC_Logger pluggable via wc_get_logger function.
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley d756b9c7ba Merge branch 'pr/11337'
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:44:00 +01:00
Mike Jolley 922ba0337f Fix removal and tweak buttons 2016-08-02 14:42:27 +01:00
Mike Jolley 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
toddlahman 4b5af40536 add button to delete any log file 2016-07-04 17:10:17 -07:00
toddlahman 26353d7099 added remove method to logger class, and delete GeoIP Log button to tools 2016-07-02 23:16:11 -07:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00
toddlahman fb66dd2c80 Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
If the size of the woocommerce_sessions table is 3.2 GB before the
Clear all sessions button is clicked, then it will delete all rows, but
leave the table size 3.2. Truncating/emptying the table resets the size
of the table, and deletes all rows.
2016-03-24 21:24:36 -07:00
Shiva Poudel e8077b4f9d Remove new line 2016-02-23 14:42:22 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Shiva Poudel b0432827f5 Fix - theme_api check as an object first 2016-02-06 01:33:45 +05:45
Mike Jolley bdb8de7785 Zone unit tests 2016-01-08 14:53:24 +00:00
Mike Jolley d585e65e5a Use cache and invalidation for taxes
Closes #9712
2015-12-02 15:53:54 +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
Mike Jolley 781adc121c Check parent theme version
Closes #9477
2015-11-02 10:01:42 +00:00
Mike Jolley b27635409c New Session Handler
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846.

Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476)
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load

Kudos to @kloon for the bulk of the work and testing on Woo.com.

cc @claudiosmweb
2015-10-07 14:47:29 +01:00
Claudio Sanches c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Claudio Sanches aa8e469a9d Download translations in setup wizard 2015-08-19 12:36:59 -03:00
Mike Jolley 1ce272b385 [2.3] Tweak transient clear SQL 2015-06-01 11:38:43 +01:00
Mike Jolley 62c70603ec [2.3] When updating transients, clear previous version of transients
Closes #8131 @claudiosmweb
2015-05-25 01:48:17 +01:00
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
shivapoudel a56b93a143 Tweaks for System Status 2015-03-07 09:01:08 +05:45
Claudio Sanches 566f1ea7b6 Make possible to show log by URL
@mikejolley
2015-02-02 21:58:25 -02:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Gerhard 8610ca6aef Merge branch 'master' into 6711-opt-in-tracking
Conflicts:
	includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Mike Jolley 2d8f021cc7 Optimise the admin notices class.
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley 0e4026941b Move $current_tab to where used 2015-01-20 10:41:26 +00:00
Mike Jolley 0e9bb50aae Docblock experiments continued... 2015-01-20 10:29:54 +00:00
Mike Jolley 33e046a4d0 Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
Closes #7151
2015-01-19 13:19:44 +00:00
Mike Jolley 64901d82e5 Clear order transients when trashing posts. Closes #7052 2015-01-08 15:48:01 +00: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
Gerhard 522416f698 Change succesfull reset message. 2014-11-27 09:46:11 +02:00
Gerhard 69553d53ab Add button to tools page to reset usage settings. 2014-11-27 09:43:43 +02:00
Mike Jolley dbcc8430e9 Installer tweaks + unit tests closes #6356 2014-11-25 17:09:24 +00:00
Gregory Karpinsky 5460e0fed0 Avoid notices if file does not exist
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php, 
my-theme/woocommerce/single-product\bundled-item-image.php, 
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.

2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
claudiosmweb b47e649e6a Improved the translation update messages
When is multisite shows only the button for download directly
If not is multisite will show the button for make the download with the
WordPress update system and the button to download directly
And added a new button to hide the update message

@mikejolley
2014-09-12 19:32:21 -03:00
claudiosmweb dc0122a4d6 Created method for install the translations directly
This will download the package directly from Github and install using
WP_Filesystem()

@mikejolley
2014-09-12 18:55:50 -03:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley fd0a9e52b6 Replace usage of WPLANG with get_locale() for installs without WPLANG set
cc @claudiosmweb
2014-09-04 11:33:30 +01:00
Mike Jolley 3e0f6e2511 Term counts only need to be deleted when terms are recounted 2014-06-19 12:25:10 +01:00