WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#23079 closed defect (bug) (invalid)

Can't dequeue and enqueue a style with the same handle

Reported by: markoheijnen Owned by:
Priority: normal Milestone:
Component: Themes Version:
Severity: normal Keywords:
Cc:

Description

When you try to dequeue a style because of wrong path due child theme and then register/enqueue it with the right path the old path is still there. When only doing dequeue the style does get removed

Change History (1)

comment:1 markoheijnen6 months ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Argh, my bad. Should be wp_deregister_style obviously

Note: See TracTickets for help on using tickets.