WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sfetchit
    Member
    Posted 11 months 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.

    http://wordpress.org/plugins/vipers-video-quicktags/

Reply

You must log in to post.

About this Plugin

About this Topic