Log in to support

Bug in code

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • Post count: 11
    June 28, 2017 at 3:41 pm #330392

    I have found a bug in Dante's code, located in functions.php starting at line 223.

    The code registers many scripts, using jquery as a dependency. The problem with this is, wp_register_script() requires the $deps parameter to be an array, or it is simply discarded. So, jQuery never gets enqueued/loaded because there is no proper dependency set up.

    Previous versions of Dante did not suffer from this problem, even though they are coded incorrectly as well, because they explicitly enqueued jQuery.

    Post count: 25779
    June 28, 2017 at 4:32 pm #330405

    Replies only viewable for logged in users

    Post count: 11
    June 28, 2017 at 4:35 pm #330406

    Replies only viewable for logged in users

    Post count: 25779
    June 28, 2017 at 4:42 pm #330407

    Replies only viewable for logged in users

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register