WPIntell

Source evidence

wp_enqueue_script error in debug mode

Feature Me – CTA Widget · support · 2015-01-26T17:06:00+00:00

complaintsentiment
mediumseverity
0.81relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

4 / 27 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

23 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
MarkCline unresolved
When debugging my site I am getting an error Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. After reviewing the feature-me plugin, I determined the error is coming from line 51 in the init.php file. I made the following change on my copy: ////wp_enqueue_script(‘jquery’); function add_public_scripts() { wp_enqueue_script(‘jquery’); } add_action(‘wp_enqueue_scripts’,’add_public_scripts’); Thanks Mark https://wordpress.org/plugins/feature-me/ Thanks for letting me know MarkCline, I’ll get that fixed in the next version.

Comments

1 shown
iandbanks 2015-01-28T22:41:00+00:00

Thanks for letting me know MarkCline, I’ll get that fixed in the next version.