WordPress.org

Ready to get started?Download WordPress

Forums

Media Tags
Doesn't work if you don't use wp-contents (2 posts)

  1. justinph
    Member
    Posted 3 years ago #

    The plugin is hard-coded to expect that the plugins path will contain wp-contents. WordPress finds it completely acceptable to move all kinds of directory locations around, including renaming the wp-contents directory. Aspects of this plugin break if you do that. Thankfully, it is easy to fix.

    On line 36 of media_tags.php, change:
    $this->plugindir_url = get_bloginfo('wpurl') . "/wp-content/plugins/". $plugindir_node;

    to:
    $this->plugindir_url = WP_CONTENT_URL."/plugins/". $plugindir_node;

    And it works fine.

    http://wordpress.org/extend/plugins/media-tags/

  2. Paul Menard
    Member
    Plugin Author

    Posted 3 years ago #

    justinph,

    Meant to thank you for pointing this earlier. This tweak will be in the next release of Media-Tags.

    P-

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags