[wp-trac] [WordPress Trac] #64354: Outlined buttons now have grey background

WordPress Trac noreply at wordpress.org
Thu Jan 29 18:14:22 UTC 2026


#64354: Outlined buttons now have grey background
-------------------------------------------------+-------------------------
 Reporter:  pmbs                                 |       Owner:
                                                 |  westonruter
     Type:  defect (bug)                         |      Status:  closed
 Priority:  high                                 |   Milestone:  6.9.1
Component:  Script Loader                        |     Version:  6.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:  css,
  screenshots dev-feedback                       |  performance
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61554" 61554]:
 {{{
 #!CommitTicketReference repository="" revision="61554"
 Script Loader: Preserve original CSS cascade for classic themes when
 hoisting late-printed styles.

 This refactors `wp_hoist_late_printed_styles()` to strictly preserve the
 classic theme CSS cascade when moving styles from `wp_footer` to the
 `HEAD`. Previously, hoisted styles were appended in an order closer to the
 CSS cascade for block themes, potentially causing specificity issues for
 CSS selectors written for the previous cascade. This is intended to
 eliminate the need for sites which upgraded to 6.9 to apply a hotfix
 involving `add_filter( 'should_load_separate_core_block_assets',
 '__return_false' )` to disable the optimization.

 Key changes:
 * Identifies styles enqueued during `enqueue_block_assets`.
 * Separates core block styles from third-party block styles.
 * Inserts core block styles immediately after `wp-block-library`.
 * Inserts third-party block styles after `classic-theme-styles`.
 * Inserts `global-styles` after all `enqueue_block_assets` styles.

 This ensures the following order is maintained:
 1. Core block library.
 2. Core block styles.
 3. Classic theme styles.
 4. Third-party block styles.
 5. Global styles.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10601

 Follow-up to [61174], [61122], [61076], [61008].

 Props westonruter, wildworks, jorbin, peterwilsoncc, sabernhardt,
 audrasjb, pmbs, threadi, madhavishah01, raftaar1191, noruzzaman, ozgursar.
 See #64099, #64150, #43258.
 Fixes #64354.
 }}}

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


More information about the wp-trac mailing list