notice eliminating
This commit is contained in:
parent
5b5bf7fbdc
commit
879425e38e
1 changed files with 7 additions and 5 deletions
|
@ -243,12 +243,14 @@ function wp_ffpc_callback( $buffer ) {
|
||||||
else
|
else
|
||||||
$meta['type'] = 'unknown';
|
$meta['type'] = 'unknown';
|
||||||
|
|
||||||
/* check if caching is disabled for page type */
|
if ( $meta['type'] != 'unknown' ) {
|
||||||
$nocache_key = 'nocache_'. $meta['type'];
|
/* check if caching is disabled for page type */
|
||||||
|
$nocache_key = 'nocache_'. $meta['type'];
|
||||||
|
|
||||||
/* don't cache if prevented by rule */
|
/* don't cache if prevented by rule */
|
||||||
if ( $wp_ffpc_config[ $nocache_key ] == 1 ) {
|
if ( $wp_ffpc_config[ $nocache_key ] == 1 ) {
|
||||||
return $buffer;
|
return $buffer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( is_404() )
|
if ( is_404() )
|
||||||
|
|
Loading…
Reference in a new issue