[Plugin: Post Links] Post links and 2.6’s moving wp-content
-
Hello,
I’d just like to note to the author and to WP2.6 users using or wishing to use this plugin that changing the location of
wp-content
in WordPress 2.6 breaks this plugin. For any users affected by this wishing to use it, though, it’s a very simple fix.At line 205 is the following:
$path = get_option('siteurl') . '/wp-content/plugins/' . basename(dirname(__FILE__)) . '/post-links-js.php';
Replace it with these two lines:
if ( defined('WP_PLUGIN_URL') ) $path = WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__)). '/post-links-js.php'; else $path = get_option('siteurl') . '/wp-content/plugins/' . basename(dirname(__FILE__)) . '/post-links-js.php';
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Post Links] Post links and 2.6’s moving wp-content’ is closed to new replies.