[wp-trac] [WordPress Trac] #32444: Scrutinizer in 4.3

WordPress Trac noreply at wordpress.org
Fri Jun 12 17:47:18 UTC 2015


#32444: Scrutinizer in 4.3
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"32733"]:
 {{{
 #!CommitTicketReference repository="" revision="32733"
 `$status` shouldn't be loosely compared to `true` in
 `wp_xmlrpc_server::wp_deleteComment()`.
 `$initial` shouldn't be loosely compared to `true` in `get_calendar()`.
 `current_user_can()` shouldn't be loosely compared to `false` in
 `kses_init()`
 `$get_all` shouldn't be loosely compared to `true` in
 `get_blog_details()`.
 `is_array()` and `in_array()` shouldn't be loosely compared in
 `wpmu_validate_user_signup()`.
 `$result` should by strictly compared in `check_ajax_referer()`.
 `wp_verify_nonce()` should by strictly compared in `_show_post_preview()`.
 `is_user_logged_in()` should not be loosly compared against `false` in
 `wp-signup.php`.

 See #32444.
 }}}

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


More information about the wp-trac mailing list