[wp-trac] [WordPress Trac] #54782: Default presets in use by default themes need to be updated

WordPress Trac noreply at wordpress.org
Wed Jan 12 18:57:36 UTC 2022


#54782: Default presets in use by default themes need to be updated
---------------------------+-------------------------------
 Reporter:  oandregal      |       Owner:  jorgefilipecosta
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  5.9
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-------------------------------

Comment (by desrosj):

 Wanted to copy over the concerns about [[52549-[52550] that
 [https://wordpress.slack.com/archives/C02JUSF02TT/p1642009897107900?thread_ts=1642008271.105900&cid=C02JUSF02TT
 I raised over in Slack].

 These changes need to be tested in older versions of WordPress. This
 change will likely result in unstyled elements with adjusted class names
 when a site running an old version of WordPress updates the themes to the
 new version.

 For default themes, changes need to be made with the assumption that this
 will happen (because it does very often). This change can be left safely
 in Twenty Twenty-Two, but the older themes will need this change reverted,
 or a fallback will need to be developed.

 For Twenty Twenty-One, the minimum version of WP required is 5.3. All
 other default themes can potentially be active on WP 5.0 or earlier. I am
 not sure when the `has-color` related classes were introduced, but I'm
 pretty sure the `has-font` size ones have been around since 5.0 or 5.1,
 we'll have to test back to those versions.

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


More information about the wp-trac mailing list