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
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
claudiosmweb
c34cea6523
added a new option in system status to force the translations upgrade
2014-06-04 14:25:49 -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
claudiosmweb
ce867a4150
stopped "no such file or directory" warnings
2014-05-28 10:46:11 -03:00
Mike Jolley
1ed0938581
[2.2] Log changes Closes #4926
...
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Mike Jolley
558a7bbe25
Recount true when recounting terms Fixes #5320
2014-04-24 16:09:03 +01:00
Mike Jolley
a21f8a3d47
delete terms transient during recount. #5204
2014-03-25 11:55:57 +00:00
JustinSainton
d64fc3a764
capital_p_dangit()
2014-02-21 00:47:42 -08:00
Mike Jolley
aff704ae6e
New notice aimed at identifying out of date template files in a theme. Also improves the status page.
...
@coenjacobs
2014-02-11 13:33:56 +00:00
Coen Jacobs
3671eabd13
System Status bold text should have colons to split
2014-01-08 19:03:36 +01:00
Andrew Benbow
030131a311
Add delete tax rates option to system tools
2014-01-06 14:42:54 +00: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
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Mike Jolley
8339354bc2
Merge pull request #4119 from kloon/feature_create_missing_pages_button
...
Add button on tools page to create missing pages
2013-11-19 01:46:22 -08:00
Coen Jacobs
faaebab2ff
Always require braces (since yesterday ;) )
...
In order to comply to the new coding standards:
http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/
2013-11-14 20:31:08 +01:00
Gerhard
3607ecf285
Add button on tools page to create missing pages
2013-11-14 21:20:18 +02:00
Scott Basgaard
f76a5edea8
Display message when tools options have been saved.
2013-11-13 20:36:27 -05:00
Scott Basgaard
71c2012c1b
Add missing message when clearing sessions
...
All other actions add a message from tools
2013-11-11 13:48:36 -05:00
Mike Jolley
c3232d613d
_woocommerce_term_recount
2013-10-29 11:29:21 +00:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00
Mike Jolley
8a6ff89bf1
Moved admin directory and moved some functions to classes (ongoing refactor)
2013-07-24 17:01:36 +01:00