Unspecific loading of functions.php
-
I just upgraded a site to Ajaxify Comments 2.0.5, and had issues with how you require functions.php on line 40 of wp-ajaxify-comments.php.
Because you’re unspecific about which functions.php you’re requiring, I had a case where it was the theme’s functions.php that was included instead of yours. (My file lives inside the theme, but is called directly.)
I changed
require_once 'functions.php'
torequire_once __DIR__ . '/functions.php'
in your file and it solved my problem, but I’d appreciate if you do the same in a future release, so I don’t have to patch it again. ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Unspecific loading of functions.php’ is closed to new replies.