Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
102 stars 54 forks source link

Define WPML_CACHE_PATH_ROOT to have it in a standard cache directory #169

Closed ottok closed 3 years ago

ottok commented 3 years ago

Change verified to work:

/data/wordpress/htdocs] $ find wp-content/cache/
wp-content/cache/
wp-content/cache/wpml
wp-content/cache/wpml/wpml
wp-content/cache/wpml/wpml/twig
wp-content/cache/wpml/wpml/twig/6a
wp-content/cache/wpml/wpml/twig/6a/6a312ce335003814601401a12f974ba29db9f83a3d811095a8866e3b460c6d4b.php
ottok commented 3 years ago

I tested this on a couple of regular sites. Since this applies only for new sites, the roll-out is pretty safe and slow, and I'd opt for it. If it needs to be reverted, it can be done on a per-site basis.