• Resolved Viktor Szépe

    (@szepeviktor)


    diff -r /home/olm/public_html/backup/types/embedded/common/toolset-forms/classes/class.conditional.php ./embedded/common/toolset-forms/classes/class.conditional.php
    82c82,83
    <         wp_register_script('wptoolset-parser', icl_get_file_relpath(dirname(dirname(__FILE__))) . '/expression-parser/js/parser.js', array('jquery'), WPTOOLSET_FORMS_VERSION, true);
    ---
    >         //wp_register_script('wptoolset-parser', icl_get_file_relpath(dirname(dirname(__FILE__))) . '/expression-parser/js/parser.js', array('jquery'), WPTOOLSET_FORMS_VERSION, true);
    >         wp_register_script('wptoolset-parser', plugins_url() . '/types/embedded/common/expression-parser/js/parser.js', array('jquery'), WPTOOLSET_FORMS_VERSION, true);

    https://www.ads-software.com/plugins/types/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Please use plugins_url() for script URL’ is closed to new replies.