voceconnect/multi-post-thumbnails — pull request #16 by genexp (2013-10-21 01:53:48+00:00)
Title: Update multi-post-thumbnails.php

Hi Team -

For various deployment reasons, we're required to have an approved set of plugins and symlink them into our WP directory. There's a bug in the plugin that forces it to resolve the directory of the symlinked plugin, rather than the wp content directory. This fixes it.

For reference, here's what the generated links looked like before:

http://localhost/~brian/firebird-wordpress/wp/wp-content/plugins/Users/brian/code/wbie/firebird-wordpress/wp-content/plugins/multiple-post-thumbnails/js/media-modal.js?ver=3.6.1

And here's after:

http://localhost/~brian/firebird-wordpress/wp/wp-content/plugins/multiple-post-thumbnails/js/media-modal.js?ver=3.6.1

Also note, there might be a better way to do this, I'm not WP pro :)