Support » Plugin: Media Tags » [Plugin: Media Tags] Doesn't work if you don't use wp-contents

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Menard

    (@pmenard)

    justinph,

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

    P-

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Media Tags] Doesn't work if you don't use wp-contents’ is closed to new replies.