[wp-trac] [WordPress Trac] #52627: Coding Standards fixes for WP 5.8

WordPress Trac noreply at wordpress.org
Sun Mar 21 12:39:39 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"50558" 50558]:
 {{{
 #!CommitTicketReference repository="" revision="50558"
 Coding Standards: Use strict comparison for return type checks in a few
 functions:

 * `get_bookmark()`
 * `get_comment()`
 * `get_post()`
 * `get_children()`
 * `wp_get_recent_posts()`
 * `wp_get_post_revision()`
 * `wp_get_nav_menu_items()`

 Follow-up to [45710] for `get_term()`, [48507] for `wpdb::get_row()` and
 `wpdb::get_results()`.

 See #52627.
 }}}

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


More information about the wp-trac mailing list