Commit Graph

38 Commits

Author SHA1 Message Date
Mike Jolley 00ed627b29 Data stores 2016-11-14 18:18:08 +00:00
Justin Stern a3e371e0d7 Make WooCommerce core play nice with Codeception (#11845)
If is_blog_installed() is false then skip some installation steps that
are performed on the 'init' action and which require the database to be
available
2016-11-09 11:53:39 +00:00
Claudio Sanches 1481f1f7b4 Include trailing slash in REQUEST_URI before compare for prevent caching 2016-11-08 17:14:31 -02:00
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Matty ae75f8b8cd Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'. 2016-09-28 12:17:40 +02:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Justin Shreve e65ab6adec start transfering things to billing_ prefix 2016-03-17 12:39:29 -07:00
Justin Shreve 25430afd33 Make session loading work correctly, add an alias for address_1 and shipping_address_1, fix total spent and order count 2016-03-17 09:41:12 -07:00
Claudio Sanches 3e955f6086 [2.5] Create new function to prevent endpoint indexing 2016-03-01 13:45:25 -03:00
Mike Jolley 8edf6d9286 Noindex endpoints
Closes #10433
2016-02-29 12:52:45 +00:00
Mike Jolley 9ba5b7ee26 Add helpers to get and increment cache prefixes
Allows wp_cache to be invalidated with 1 call
2015-11-13 23:06:38 +00:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley b3a3a998bb Add trailing slash in get_page_uris to reduce likelihood of conflicts
Fixes #9386
2015-10-22 16:33:05 +01:00
Mike Jolley 821434cbb7 Fix geolocation redirect with querystring 2015-09-07 16:58:05 +01:00
Mike Jolley cf7a9c3913 Case insentiive matching in cache helper
@georgestephanis
2015-09-01 16:40:17 +01:00
Mike Jolley f7e4bf224d Exclude cart and account pages from geolocation
Closes #8967
2015-09-01 15:41:05 +01:00
Nicola Mustone 7f879b416a added filter woocommerce_delete_version_transients_limit 2015-08-18 11:47:19 +02:00
Mike Jolley 9f703b96db delete_version_transients in blocks of 1000 to prevent timeouts
Uses cron. @claudiosmweb  Closes #8431
2015-07-15 15:12:54 +01:00
Mike Jolley 9adbdd4a2c Tweak URL generation before redirect 2015-06-22 15:30:42 +01:00
Mike Jolley f988aae387 Use hashes and server side redirection 2015-06-22 14:55:15 +01:00
Mike Jolley ba2e638e54 nocache download_file requests
Closes #8162
2015-05-28 11:44:47 +01:00
Mike Jolley 915342f38b [2.3] Only clear in delete_version_transients when version is set 2015-05-27 15:56:49 +01:00
Mike Jolley e383889957 [2.3] Optimise delete_version_transients
1. WC does not work network wide so _site_transient does not need
checking
2. The LIKE matches timeout and transient keys
2015-05-27 12:03:46 +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
Mike Jolley b9eb83403e Split prevent_caching() method 2014-10-27 15:00:14 +00:00
Nicola Mustone 359859df5c Avoid notice errors with W3 Total Cache
Avoid errors in the admin with W3 Total Cache when you add an extra space by mistake.
2014-10-21 22:24:55 +02:00
Mike Jolley 2b55643460 Notices from earlier cache helper change 2014-10-02 17:18:04 +01:00
Mike Jolley 67e47ab682 Updated prevent_caching() method to work if a cart/checkout page isn't set.
Closes #6396
2014-10-02 14:52:09 +01:00
shivapoudel b4abca1c82 Found and fix indendation for multiline comments :) 2014-09-21 00:29:22 +05:45
Mike Jolley 5946e3fd7c $key should be $transient_name
#5777
2014-07-03 13:02:19 +01:00
Mike Jolley ee48dcd5fd Invalidate query transients to avoid cache flush
Part of #5777. These transients are required and cannot be predicted.

If not using an external cache system, the DB is cleared still to keep
size down after invalidation.

For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Mike Jolley e198ee517a Made stateless classes static to allow unhooking of hooks
Closes #5151
2014-05-28 14:52:50 +01:00
Alex Bain 49f935dd8b Enhancing nocache helper
* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
2014-01-28 10:26:01 -08:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 12d6569cc1 Readme + versions 2013-07-19 11:09:19 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00