[wp-trac] [WordPress Trac] #32444: Scrutinizer in 4.3
WordPress Trac
noreply at wordpress.org
Wed May 27 19:23:01 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:"32622"]:
{{{
#!CommitTicketReference repository="" revision="32622"
Add missing doc blocks to `rewrite.php`.
Clarify `@return` values where necessary.
`add_permastruct()` doesn't need to return.
`->using_index_permalinks()` and `->using_mod_rewrite_permalinks()` can
just return their conditions, instead of if/else true/false.
`->mod_rewrite_rules()` and `->iis7_url_rewrite_rules()` don't need to set
a variable that is immediately returned.
See #32444.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32444#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list