Title: openbase_dir issue.
Last modified: August 21, 2016

---

# openbase_dir issue.

 *  Resolved [NewEraCracker](https://wordpress.org/support/users/neweracracker/)
 * (@neweracracker)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/openbase_dir-issue/)
 * File: video-thumbnails.php
    Line: 96
 * load_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
 * [https://wordpress.org/plugins/video-thumbnails/](https://wordpress.org/plugins/video-thumbnails/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [NewEraCracker](https://wordpress.org/support/users/neweracracker/)
 * (@neweracracker)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/openbase_dir-issue/#post-4716534)
 * Sorry for the typo.
 * I changed that line to:
 * load_plugin_textdomain( ‘video-thumbnails’, false, basename(VIDEO_THUMBNAILS_PATH).‘/
   languages/’ );
 * Regards,
    NewEraCracker
 *  Plugin Author [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * (@sutherlandboswell)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/openbase_dir-issue/#post-4716738)
 * Thanks for the catch, I’ll release a fix. I believe [the official example](https://codex.wordpress.org/Function_Reference/load_plugin_textdomain)
   needs a correction too.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘openbase_dir issue.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/video-thumbnails_3e6f7f.svg)
 * [Video Thumbnails](https://wordpress.org/plugins/video-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/video-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-thumbnails/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sutherland Boswell](https://wordpress.org/support/users/sutherlandboswell/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/openbase_dir-issue/#post-4716738)
 * Status: resolved