[wp-trac] [WordPress Trac] #27882: Address some issues found running Scrutinizer
WordPress Trac
noreply at wordpress.org
Tue May 6 21:22:23 UTC 2014
#27882: Address some issues found running Scrutinizer
----------------------------+-----------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+-----------------------
Comment (by wonderboymusic):
In [changeset:"28325"]:
{{{
#!CommitTicketReference repository="" revision="28325"
In `wp-includes/functions.php`, remove dead code:
* In `current_time()`, `break` is unreachable after `return`.
* In `add_query_arg()`, `$ret` is set twice before being used.
* In `wp_mkdir_p()`, `$dir_perms` is set twice before being used.
See #27882.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27882#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list