[wp-trac] [WordPress Trac] #48630: Twenty Twenty: please use wp_enqueue_style for the fonts

WordPress Trac noreply at wordpress.org
Wed Nov 8 05:10:26 UTC 2023


#48630: Twenty Twenty: please use wp_enqueue_style for the fonts
-------------------------------------------------+-------------------------
 Reporter:  markhowellsmead                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion dev-feedback has-patch   |     Focuses:  ui,
  needs-testing                                  |  performance
-------------------------------------------------+-------------------------
Changes (by poena):

 * keywords:  2nd-opinion dev-feedback => 2nd-opinion dev-feedback has-patch
     needs-testing
 * milestone:  Awaiting Review => Future Release


Comment:

 == Testing instructions
 Apply patch 48630.diff.


 **Block editor & front of the website:**
 Confirm that the new CSS file, assets/css/font.css is loading. You can use
 your browser's developer tools to check this.
 Confirm that the post title uses the correct font family (Inter) and looks
 the same with and without the patch.

 **Classic editor:**
 Install and activate the classic editor plugin.
 https://wordpress.org/plugins/classic-editor/
 (Alternatively test on an older WordPress version that does not have the
 block editor)

 Confirm that the new CSS file, assets/css/font.css is loading. You can use
 your browser's developer tools to check this.

 Add an H1 heading to the the classic editor, and confirm that it uses the
 correct font family (Inter) and that it looks the same with and without
 the patch.

 Next please change the WordPress installation to an RTL language and
 confirm that font family is correct in the editor and on the front.

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


More information about the wp-trac mailing list