[wp-trac] [WordPress Trac] #49222: Coding Standards fixes for WP 5.4

WordPress Trac noreply at wordpress.org
Sun Feb 9 17:07:09 UTC 2020


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

Comment (by SergeyBiryukov):

 In [changeset:"47220" 47220]:
 {{{
 #!CommitTicketReference repository="" revision="47220"
 Coding Standards: Correct the `get_plugin_page_hook()` check in `wp-
 admin/admin.php`.

 The condition is meant to check for a non-empty string, however
 `get_plugin_page_hook()` can return null, in which case the strict check
 doesn't work as expected.

 Follow-up to [47218].

 See #48455, #49222.
 }}}

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


More information about the wp-trac mailing list