incorrect link causes problems
-
In wp-admin section, it output script file, and even incorrectly .

firstly, it is not needed in admin area at all i think.
second, if it’s needed at all, then that make link correct.in
wpset\wpinc.php, line 223:return str_replace( ABSPATH, '', dirname( __FILE__ ) );it is incorrect in many occasions… You’d better use builtin function:
str_replace(home_url(), plugin_dir_url(__FILE__));thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘incorrect link causes problems’ is closed to new replies.