tribe-common icon indicating copy to clipboard operation
tribe-common copied to clipboard

Improve Assets handler: Performance and ensuring that late registration doesnt stop enqueueing

Open bordoni opened this issue 3 months ago • 0 comments

This will need to be ported to https://github.com/stellarwp/assets/ later.

Changes here are:

  1. enforcing a better performance by avoiding logic for already enqueued asset.
  2. Ensure that late registration doesn't prevent enqueuing/registering with WP.

Change number 2 is vital for ensuring that Assets that are registered JIT still get enqueued, example Elementor Widgets.

bordoni avatar Apr 05 '24 06:04 bordoni