Not compatible with iThemes Security
-
One of the features with iThemes Security is to change the wp-content directory to another name to make it harder for hackers. This is not normally a problem unless the wp-content folder is hard coded into the plugin as is with Find Me On.
Here are the lines from the plugin:
$findmeonplugindir = get_settings(‘siteurl’).’/wp-content/plugins/’.dirname(plugin_basename(__FILE__));
$pluginrelativedir = ‘/wp-content/plugins/’.dirname(plugin_basename(__FILE__));To fix, find lines 48 and 49 in /[new directory name]/plugins/find-me-on/find-me-on.php and change to:
$findmeonplugindir = plugin_dir_url( __FILE__ );
$pluginrelativedir = plugin_dir_path( __FILE__ );Also on line 538, change:
echo ‘<link type=”text/css” rel=”stylesheet” href=”‘ . $findmeonplugindir . ‘/stylesheet.css” />’ . “\n”;
To:
echo ‘<link type=”text/css” rel=”stylesheet” href=”‘ . $findmeonplugindir . ‘/css/style.css” />’ . “\n”;
- The topic ‘Not compatible with iThemes Security’ is closed to new replies.