[wp-trac] [WordPress Trac] #56366: Twenty Twenty-One: Consider removing `.woocommerce` class from theme styles

WordPress Trac noreply at wordpress.org
Wed Sep 14 22:31:33 UTC 2022


#56366: Twenty Twenty-One: Consider removing `.woocommerce` class from theme styles
----------------------------------------------+-----------------------
 Reporter:  sabernhardt                       |       Owner:  audrasjb
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.1
Component:  Bundled Theme                     |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit  |     Focuses:  css
----------------------------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"54170" 54170]:
 {{{
 #!CommitTicketReference repository="" revision="54170"
 Twenty Twenty-One: Remove WooCommerce related CSS selectors.

 The selectors for Twenty Twenty-One's default `max-width` have used the
 `.woocommerce` class since the theme's
 [https://github.com/WordPress/twentytwentyone/commit/956a3172a41545ca04a133c034b47ae870a4a9cd
 #diff-
 b757cb999144a1bc7e14604bc6d4bab7d87ea1a3bf5000c33937e490d75b9d92R3-R9
 initial commit]. This changeset removes all WooCommerce CSS selector from
 the theme, as they would need to be supported forever. The change was
 tested with WooCommerce installed and no issues were raised.

 Props sabernhardt, audrasjb, davidbaumwald, tahmidulkarim, mukesh27.
 Fixes #56366.
 }}}

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


More information about the wp-trac mailing list