Merge remote-tracking branch 'refs/remotes/ultimatemember/master'

This commit is contained in:
champsupertramp
2015-11-08 20:32:18 +08:00
3 changed files with 4 additions and 192 deletions
-22
View File
@@ -1,22 +0,0 @@
<?php
class UM_Cache {
function __construct() {
add_action( 'init', array(&$this, 'do_not_cache' ) );
}
/***
*** @needed for some cache plugins
***/
function do_not_cache() {
if ( um_is_core_uri() && ! defined( 'DONOTCACHEPAGE' ) ) {
define( "DONOTCACHEPAGE", true );
}
}
}