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

WordPress Trac noreply at wordpress.org
Sun Feb 4 18:44:17 UTC 2024


#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 has-unit-tests  |     Focuses:  coding-standards
--------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"57530" 57530]:
 {{{
 #!CommitTicketReference repository="" revision="57530"
 Coding Standards: Rename the `$ID` parameter to `$post_id` in
 `trackback()`.

 This resolves a few WPCS warnings:
 {{{
 Variable "$ID" is not in valid snake_case format, try "$i_d"
 }}}

 See #59650.
 }}}

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


More information about the wp-trac mailing list