[wp-trac] [WordPress Trac] #64661: Code Editor: Linting runs twice at initialization
WordPress Trac
noreply at wordpress.org
Tue Feb 17 21:35:25 UTC 2026
#64661: Code Editor: Linting runs twice at initialization
--------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: General | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------------
Changes (by westonruter):
* owner: (none) => westonruter
* status: new => accepted
Comment:
This is closely related to #61175 which introduces PHPStan as the PR for
this ticket introduces TypeScript, although currently constrained to apply
to files related to the code editor. The pull request introduces
TypeScript to help guide the refactor to how linting options are gathered
so as to avoid the double-linting issue. Instead of initializing with the
default options first and then supplying the WordPress options, now it
gathers the WordPress options and supplies them into the code editor when
it first initializes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64661#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list