WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#41896 new enhancement

No way to determine the order of wp_enqueue_style without manually searching code

Reported by: btiessen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

There is no way to visually determine the priority number of a stylesheet without trial and error.
When wp_enqueue_style runs it should output the priority in a comment beside it.
The priority should be passed from wp_enqueue_scripts, because this is where the priority is set.

Change History (2)

#1 @sasiddiqui
2 years ago

@btiessen welcome to the trac :)

#2 @subrataemfluence
2 years ago

  • Keywords reporter-feedback added

Welcome to Trac :) Could you please explain a bit more, if possible with an example? Thank you!

Note: See TracTickets for help on using tickets.