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

WordPress Trac noreply at wordpress.org
Mon Mar 3 20:57:23 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:"59915" 59915]:
 {{{
 #!CommitTicketReference repository="" revision="59915"
 Coding Standards: Use strict comparison in `wp_insert_comment()`.

 Includes type casting `$comment_approved` to an integer to avoid breaking
 WP-CLI tests, since the value can be passed as a string.

 Follow-up to [3104], [3193], [3887], [59903].

 Props swissspidy.
 See #62279.
 }}}

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


More information about the wp-trac mailing list