• Resolved John Darrel

    (@johndarrel)


    Hi,

    I’m John, the author of the Hide My WP Ghost plugin. I want to say that you did a really great job with your plugin.

    We have only one small request.

    Our users have a problem when using your plugin together with ours because our plugin is hiding the old JS and CSS paths for visitors after customizing the paths.

    In cmb2_metatabs_options.php file, you are checking the js as using the get_headers function which calls the old path without cookies (like a visitor) and returns 404. There is no need for such verification as it consumes the loading time too.

    $headers = @get_headers( self::$props[ $this->id ]['jsuri'] );
    if ( $headers[0] == 'HTTP/1.1 404 Not Found' ) {
     throw new Exception( 'CMB2_Metatabs_Options: Passed Javascript file missing.' );
    }

    The JS file is enqueued correctly if you don’t perform this action.

    Can you please remove this check so that the plugins can work together?

    Thank you,
    John

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @johndarrel

    Thank you so much for report this

    This issue comes from an internal library that GamiPress uses, anyway, we have updated it to prevent this issue and the fix will be added on the next update (that will be released today)

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘404 exception on wp_enqueue_script’ is closed to new replies.