Do not overwrite jquery-ui.css
-
My name’s Antonio and I’m one of the developers of Nelio Content. Recently, we identified that your plugin is breaking the UI of ours.
Please avoid overwriting
jquery-ui.cssscript. Check your plugin (line 191,pagebar_options.php) where you include the script directly fromhttps://ajax.googleapis.com. You should only enqueue that script on the pages you need it. Right now you’re enqueueing the script everywhere, which breaks WordPress’ default styles (and ours).The Plugin Handbook states the following:
The admin_enqueue_scripts hook passes the current page filename to your callback. Use this information to only enqueue your script on pages where it is needed. The front-end version does not pass anything. In that case, use template tags such as is_home(), is_single(), etc. to ensure that you only enqueue your script where it is needed.
For more information about a similar issue we found with another plugin and the proposed solution please read this.
The topic ‘Do not overwrite jquery-ui.css’ is closed to new replies.