plugins_url('',__FILE__) != WP_PLUGIN_URL with sym links
For one of my many sites, plugins/plugin-name
is a sym link pointing to universal-install/wp-content/plugins/plugin-name
.
echo WP_PLUGIN_URL
displays what I expect.
echo plugins_url();
displays what I expect.
echo plugins_url('',__FILE__)
displays what I expect followed immediately by the absolute path to the universal plugins directory.
Is there any way I can fix echo plugins_url('',__FILE__)
to return only the expected result?
Topic plugins-url linux Wordpress
Category Web