Thread Starter
mozey
(@mozey)
is /wp-content/plugins hard coded in? i THINK it might be!, what is way around this?
function load_plugin_textdomain($domain, $path = 'wp-content/plugins') {
Thread Starter
mozey
(@mozey)
Here is my code. withwithout the ../ i treid everything!, what action hook should i do this with?
function mvcpress_plugins(){
load_plugin_textdomain(‘mvcPress’, ‘../wp-content/plugins/mvcPress/helpers’);
do_action(‘mvcpress_plugins’);
}
add_action(‘init’, ‘mvcpress_plugins’);
Thread Starter
mozey
(@mozey)
okay, so i tried it,
load_plugin_textdomain works ONLY if the direcdtory which you are giving it is a sub directory of plugins. Other than that, it wont recognize it!. What a rip off!.
yah thats terrible, I say scrap wp and go download some other better blog app.
The plugins directory is the plugins directory for a reason, and WordPress is made to know that to save ppl that dont know any better from using plugins from shleps that want to make them have another directory. The current system works, and is easy for ppl to understand.
WordPress id GPL’d take it, right your own version.
Thread Starter
mozey
(@mozey)
whooami!!!!!!!!! your the type of guy who thinks that abu down at the corner store should go back to ***** because they dont find “Friends” funny.
i’m b1tching about this because this behaviour was’nt noted anywhere (that i found), not because i dont like wordpress!!!!!!!!!!!!!!!! So i thought i would let people know about it!.
nice to see this thread is resolved. 🙂