[wp-trac] [WordPress Trac] #51526: Import Twenty Twenty-One

WordPress Trac noreply at wordpress.org
Thu Nov 12 19:09:31 UTC 2020


#51526: Import Twenty Twenty-One
--------------------------------------+-----------------------
 Reporter:  poena                     |       Owner:  (none)
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.6
Component:  Bundled Theme             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by desrosj):

 Just some notes on the most recent sync for the future.

 The sentence casing as discussed above.
 - I've added the Sass related files to trunk . These are required in order
 to build the CSS after the GitHub repository has been archived (which
 happens shortly after release), and should be included in syncs going
 forward.
 - To ensure these build tasks continue to work, I've also merged the
 StyleLint related files required. Ideally, this should be adjusted in the
 future to use whatever CSS linting tools Core uses. Core does not
 currently have one set up, so I think this is fine for now.
 - I've removed the `wp-env` dependency present in the GitHub repository. I
 was experiencing compatibility issues with NodeJS 14.x, which is the new
 LTS version. `trunk` uses `lts/*` to define the version of NodeJS to use
 in the `.nvmrc` file, so all themes should be able to perform Node related
 tasks using that version. Everything else seemed to work fine. The WP
 Docker Environment included in trunk should be used for local environments
 anyway.
 - I also took liberty and converted all strings from Title Case to
 Sentence case. This is the
 [https://core.trac.wordpress.org/ticket/40244#comment:17current
 recommendation for strings in Core] (though it needs to be documented
 somewhere more prominent in the handbook).

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


More information about the wp-trac mailing list