mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 05:03:33 +09:00
Revert to stable version
This commit is contained in:
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user