WPIntell

Source evidence

Do not overwrite jquery-ui.css

Pagebar2 · support · 2016-09-09T13:27:00+00:00

complaintsentiment
mediumseverity
0.81relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 30 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

24 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Antonio Villegas unresolved
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.css script. Check your plugin (line 191, pagebar_options.php ) where you include the script directly from https://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 . This topic was modified 9 years, 8 months ago by Antonio Villegas .

Comments

0 shown

No comments were stored for this source.