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

WordPress Trac noreply at wordpress.org
Thu Mar 6 21:19:26 UTC 2025


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

Comment (by SergeyBiryukov):

 In [changeset:"59947" 59947]:
 {{{
 #!CommitTicketReference repository="" revision="59947"
 Coding Standards: Fix WPCS issues in `get_calendar()`.

 Includes:
 * Using strict comparison and `$wpdb::prepare()`.
 * Removing one-time variables so that `$wpdb::prepare()` calls are picked
 up correctly by PHPCS.
 * Bringing consistency to the type of internal variables, i.e.
 `$thismonth` and `$thisyear` are both an integer now.

 Follow-up to [508], [509], [510], [716], [933], [12590], [34463], [44809],
 [47223], [59908].

 See #62279.
 }}}

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


More information about the wp-trac mailing list