Opened 2 years ago
Last modified 23 months ago
#57267 new defect (bug)
wp_enqueue_style is not working under shortcode
Reported by: | hasanrang05 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.1.1 |
Component: | Shortcodes | Keywords: | reporter-feedback |
Focuses: | css | Cc: |
Description
we have tested in older version wp_enqueue_style('some-id'); is working fine on 5.7.8
but it's not working on 6.1.1
even its not working on "wp_head", "wp_footer"
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi @hasanrang05, welcome to Trac!
I have tried the following:
Shortcode
block and enter the following shortcode:[my_shortcode]
.wp-content/plugins/test_57267/css/my-shortcode.css
:wp-content/plugins/test_57267/test_57267.php
.In both cases, I saw Hello on the frontend.
Can you provide more detail about what's not working? Could it be a plugin/theme conflict occurring?