Assets (Scripts, etc.) aren’t loaded
-
We’re currently evaluating a news ticker plugin.
Unfortunately there seems to be some conflict with embed privacy. Embed privacy’s assets aren’t included in the html header. Result is that embed privacy doesn’t work at all.
I noticed some conditional logic in class-embed-privacy.php which seems to control if the assets are to be enqueued:
public function register_assets() { if ( \is_admin() || \wp_doing_ajax() || \wp_doing_cron() ) { return; } // enqueue scripts code ...
I included some php debug code in the page which prints the conditions above as html comment in the page. But all conditions are evaluated to false. Despite this, the assets aren’t included in the post.
Am I missing something? Is there any other conditional logic which controls if the assets are included in page header?
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
The page I need help with: [log in to see the link]
- The topic ‘Assets (Scripts, etc.) aren’t loaded’ is closed to new replies.