openbase_dir issue.
-
File: video-thumbnails.php
Line: 96load_plugin_textdomain( ‘video-thumbnails’, false, VIDEO_THUMBNAILS_PATH . ‘/languages/’ );
This call causes an openbase_dir issue. That is because load_plugin_textdomain appends WP_PLUGIN_DIR to the path that is passed in the 3rd argument which leads to doubled WP_PLUGIN_DIR path.
My fix to this problem was changing this line to:
load_plugin_textdomain( ‘video-thumbnails’, false, basedir(VIDEO_THUMBNAILS_PATH) . ‘/languages/’ );
Regards,
NewEraCracker
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘openbase_dir issue.’ is closed to new replies.