[wp-trac] [WordPress Trac] #59650: Coding Standards fixes for WP 6.5

WordPress Trac noreply at wordpress.org
Tue Oct 17 19:41:52 UTC 2023


#59650: Coding Standards fixes for WP 6.5
----------------------------+-------------------------------
 Reporter:  hellofromTonya  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by jrf):

 I've opened two PRs on GitHub with patches for this ticket. Both rewrite a
 concatenated multi-line regex with comments to use the regex native
 "multi-line with comment" format.

 This makes it more straight forward to update the regex, if needed, and
 gets rid of some unnecessary ignore annotations inline.

 Both changes are already covered by pre-existing tests (and this has been
 verified by introducing a typo in the regex and seeing those tests fail -
 the typo has, of course been removed again after).

 * https://github.com/WordPress/wordpress-develop/pull/5517
 * https://github.com/WordPress/wordpress-develop/pull/5518

 Note: the build failures are unrelated to these PRs, but related to the
 `package.lock` file not having been updated for `trunk` now being 6.5.

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


More information about the wp-trac mailing list