• Resolved luisexposito

    (@luisexposito)


    We have encountered an issue with the CSS enqueue implementation. Specifically, in the function wp_enqueue_style, the version parameter is being passed as an empty array, which is not permitted according to the WordPress Codex. The allowed values for this parameter are nullfalse, or a string.

    This is causing our logs to fill up with repetitive warnings at an alarming rate due to our internal implementations. The issue seems to be related to the registration of the CSS file sib-front-css in the file sendinblue.php on line 461. Here is the relevant section of code:

    wp_enqueue_style( 'sib-front-css', self::$plugin_url.'/css/mailin-front.css', array(), array(), 'all' );

Viewing 1 replies (of 1 total)
  • Plugin Support alexisbienayme

    (@alexisbienayme)

    Hello,

    Thank you for highlighting this issue. I have escalated the point regarding the wp_enqueue_style implementation to our product team, and they are now aware of the warnings being generated by the incorrect version parameter in the sib-front-css registration.

    Thank you for your understanding.

    Best regards,
    Alexis

Viewing 1 replies (of 1 total)

The topic ‘Issue with CSS Enqueue’ is closed to new replies.