• 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

    • This topic was modified 9 years, 4 months ago by tazotodua.
    • This topic was modified 9 years, 4 months ago by tazotodua.
Viewing 1 replies (of 1 total)
  • Plugin Author Olaf Lederer

    (@finalwebsites)

    Hi,

    are you sure this is related to this contact form plugin?
    I don’t use that code in my plugin 🙂

    PS. It’s always better to report issues which happens in a real production environment.

Viewing 1 replies (of 1 total)

The topic ‘incorrect link causes problems’ is closed to new replies.