[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1

WordPress Trac noreply at wordpress.org
Wed Jul 6 10:30:26 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"53671" 53671]:
 {{{
 #!CommitTicketReference repository="" revision="53671"
 Coding Standards: Simplify the logic for setting DB host and port in
 `wpdb::parse_db_host()`.

 This removes an extra `foreach` loop and the only variable variable
 (`$$component`) in core.

 Follow-up to [20088,28342,28736-28747], [41629], [41820], [42226],
 [53670].

 Props johnjamesjacoby.
 See #54877, #55647.
 }}}

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


More information about the wp-trac mailing list