[wp-trac] [WordPress Trac] #62279: Coding Standards fixes for WP 6.8

WordPress Trac noreply at wordpress.org
Mon Jan 20 14:30:18 UTC 2025


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

Comment (by SergeyBiryukov):

 In [changeset:"59665" 59665]:
 {{{
 #!CommitTicketReference repository="" revision="59665"
 Coding Standards: Rename the `$isPrimary` variable in `wp_xmlrpc_server`
 methods.

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

 Additionally, this commit renames `$catids` to `$cat_ids` for consistency.

 Follow-up to [1671].

 See #62279.
 }}}

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


More information about the wp-trac mailing list