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
Gerhard Potgieter
794272a732
Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes.
2018-02-13 09:55:50 +02:00
Shiva Poudel
1bf1f84560
Fix - Bulk action in status logs table, Closes #17919
2017-11-29 14:49:49 +05:45
Rasmus Bengtsson
6a7fc8650f
Remove unused local variables
2017-05-15 12:06:52 +02:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Jon Surrell
4cfc6b4d04
Handle top and bottom bulk actions
2017-01-02 14:42:14 +01:00
Jon Surrell
4cf86ef346
Use constants over settings to configure logger
...
Settings have been removed.
WC_LOG_THRESHOLD and WC_LOG_HANDLER constants have been added.
2016-12-29 11:58:43 +01:00
Jon Surrell
5700043e6d
Deprecate wc_get_log_file_path
...
wc_get_log_file_path moves into `WC_Log_Handler_File` class as a static
method.
Update deprecations and version info.
2016-12-29 11:58:43 +01:00
Jon Surrell
de076a313e
Fix settings log texts
...
Add 'woocommerce' to __ translated texts.
Improve texts.
2016-12-29 11:58:43 +01:00
Jon Surrell
5f24eca7e2
Add delete to db log viewer table
...
Clean up some nonce logic.
Use a single <form> containing log table.
2016-12-29 11:58:43 +01:00
Jon Surrell
0f13cca921
Use autoloader for log handlers
2016-12-29 11:58:43 +01:00
Jon Surrell
e2f76bcd54
Fix logs-db redirects
2016-12-29 11:58:42 +01:00
Jon Surrell
c633db9d65
Add woocommerce_default_log_handler setting
...
Adds configuration to settings page
Show status-logs page based on settings (unify logs & database logs)
Register default log handler by default
2016-12-29 11:58:42 +01:00
Jon Surrell
c945d727d5
Add log flushing to db log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
30fdca65a9
Log viewer via html template
2016-12-29 11:58:42 +01:00
Jon Surrell
bc3f788507
Implements database log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
9adb64b6b9
Restore log deletion from admin log viewer page
...
WC_Logger no longer controls logging and has no knowledge of files.
Correctly handle `remove_log` action via file log handler.
2016-12-29 11:58:42 +01:00
Mike Jolley
d9420e01d2
Fix themes_api fatal error
2016-12-07 11:37:00 +00:00
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