[wp-trac] [WordPress Trac] #60111: Twenty Twenty-One: Dark mode toggle script loaded twice in frontend

WordPress Trac noreply at wordpress.org
Thu Nov 6 01:15:49 UTC 2025


#60111: Twenty Twenty-One: Dark mode toggle script loaded twice in frontend
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:  6.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):

 * keywords:  has-patch needs-testing => has-patch needs-testing needs-
               refresh


Comment:

 I tested the last patch from PR https://github.com/WordPress/wordpress-
 develop/pull/9083 on **WordPress 6.9-beta3-61129-src**. Recently, I
 noticed changes to the `the_script()` function in PR
 https://github.com/WordPress/wordpress-develop/pull/9416, so I believe
 this ticket needs an updated patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60111#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list