"Use of undefined constant is_home …" in line 1178
-
The plugin brings a “Use of undefined constant is_home …” in line 1178.
Original:
if(is_home || is_single() || is_page() || is_search() || is_404() || is_archive() || is_attachment()) { echo "<!-- powered by WP-AdminTools -->\r\n"; }
Fixed?:
if(is_home() || is_single() || is_page() || is_search() || is_404() || is_archive() || is_attachment()) { echo "<!-- powered by WP-AdminTools -->\r\n"; }
- The topic ‘"Use of undefined constant is_home …" in line 1178’ is closed to new replies.