Revert to stable version

This commit is contained in:
ultimatemember
2015-01-14 00:16:44 +02:00
parent b4d7f80d24
commit 95d244b2f3
5 changed files with 40 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
class UM_Cache {
function __construct() {
add_action( 'init', array(&$this, 'do_not_cache' ) );
}
function do_not_cache() {
if ( um_is_core_uri() )
define( "DONOTCACHEPAGE", true );
}
}