• Resolved WPfanAR

    (@wpfanar)


    Hi, I saw several Wordfence alerts on my site about missing info:
    wp-content/themes/dupermag/assets/js/dupermag-custom.js
    The file is called at the functions.php:
    wp_enqueue_script(‘dupermag-custom’, get_stylesheet_directory_uri() . ‘/assets/js/dupermag-custom.js’, array(‘jquery’), ‘1.1.3’, 1);

    —————————————
    Spain Puerto de la Cruz, Spain left … and tried to access non-existent page ../wp-content/themes/dupermag/assets/js/dupermag-custom.js
    20/1/2017 08:30:43 (3 hours 4 mins ago) IP: 90.162.124.73 [block] Hostname: 90.162.124.73
    Browser: Safari version 0.0 running on MacOSX
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12
    —————————————
    I manually downloaded themes Supermag and Dupermag but not such a file there.

    Please confirm, thanks

    • This topic was modified 7 years, 10 months ago by WPfanAR.
Viewing 1 replies (of 1 total)
  • Hello @wpfanar,
    Thank you so much for using our theme DuperMag.
    Such file is missed on the theme, only the file is enqueued there, so kindly remove that code from functions.php file. After that that message will removed. Remove this code wp_enqueue_script(‘dupermag-custom’, get_stylesheet_directory_uri() . ‘/assets/js/dupermag-custom.js’, array(‘jquery’), ‘1.1.3’, 1) from functions.php line 28.
    If you have any more confusion, let me know.

    Regards
    Kafle G

Viewing 1 replies (of 1 total)
  • The topic ‘dupermag-custom.js missing file?’ is closed to new replies.