Theme Check Issue
Hi, Following error was found when i'm using Theme check plugin.
RECOMMENDED: TEMPLATEPATH was found in the file admin-config.php. Use get_template_directory() instead.
Line 23: if ( defined('TEMPLATEPATH') && strpos( Redux_Helpers::cleanFilePath( FILE ), Redux_H
Can you help me please!
I think it's not an error, just a recommendation as it says.
It's not an error, really. It's a variable that holds the template path. Since get_template_directory is a function, it cannot be checked like a variable. If its Envato you're worried about, no need. It will pass their guidelines. :)
@kprovance @tpaksu Thanks
@kprovance @dovy
Just got soft rejected because of this (and yes, I write them what Kevin said). Can this be changed to get_template_directory without problems?
Cheers :)
@maarcin
This has been updated already. Check out the new sample-config.php line 24 in version 3.1.8.21
@SilverKenn
Thanks. Missed that one.