Viper's Video Quicktags
Use of deprecated/obsolete path in load_plugin_textdomain (1 post)

  1. sfetchit
    Posted 2 years ago #

    I am wondering since the code in the VVQ class requires WordPress 2.8+, why is a deprecated argument as of WordPress 2.7 being used:

    load_plugin_textdomain( 'vipers-video-quicktags', '/wp-content/plugins/vipers-video-quicktags/localization' ); // Old format

    Although this is deprecated, it results in the plugin looking for the text domain info in a folder that may not exist if the plugin directory name or location has been changed in the configuration since /wp-content/plugins/ is an absolute location relative to ABSPATH. I fthe argument is omitted, wordpress will automatically set the correct path for the plugin folder - WP_PLUGIN_DIR - the relative path from the plugin folder should be the 3rd parameter. I'm using a site where the plugin folder location is changed and this causes issues with the VVQ plugin.

    I can patch it, but creates an ongoing problem with updates...

    Thanks for looking into this.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Viper's Video Quicktags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic