Admin now uses WP_PLUGIN_DIR and WP_PLUGIN_URL to figure out where it lives instead of manually munging stuff based on PLUGINDIR. #5

Open
egypturnash wants to merge 1 commits from egypturnash/adminworkswithrelocateddirectories into master

1 Commits

Author SHA1 Message Date
Margaret Trauth ff200fd084 Admin now uses WP_PLUGIN_DIR and WP_PLUGIN_URL to figure out where it lives, instead of manually munging stuff based on PLUGINDIR.
cpm_get_plugin_url() has been largely cloned from cpm_get_plugin_path(), use these to get the URL and the file path, respectively, as they may be different in secured setups.
2012-08-16 15:51:45 -07:00