tomjn / tomjn.com

TomJN.com WordPress theme
https://tomjn.com
2 stars 1 forks source link

Simple condition in tomjnhttp2() #14

Open szepeviktor opened 5 years ago

szepeviktor commented 5 years ago

! ( defined( 'WP_USE_THEMES' ) && WP_USE_THEMES ) || is_feed()

The WP_USE_THEMES constant is only defined in /index.php

See https://github.com/szepeviktor/debian-server-tools/blob/master/webserver/wordpress/_core-is.php#L72