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

WordPress Trac noreply at wordpress.org
Tue Jun 15 15:49:37 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"51158" 51158]:
 {{{
 #!CommitTicketReference repository="" revision="51158"
 Coding Standards: Use consistent formatting for `_wp_posts_page_notice()`
 and `_wp_block_editor_posts_page_notice()`.

 Remove redundant casting to `int` for post ID, which is always an integer.

 Follow-up to [51116].

 See #45537, #52627.
 }}}

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


More information about the wp-trac mailing list