mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
Merge remote-tracking branch 'refs/remotes/ultimatemember/master'
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user