[wp-trac] [WordPress Trac] #32444: Scrutinizer in 4.3
WordPress Trac
noreply at wordpress.org
Wed May 27 18:37:31 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:"32621"]:
{{{
#!CommitTicketReference repository="" revision="32621"
Add missing doc blocks to `revision.php`.
Clarify `@return` values where necessary.
In `wp_delete_post_revision()`, `wp_delete_post()` doesn't return
`WP_Error`, so that check can be removed.
`wp_revisions_to_keep()` always returns an `int`, so
`wp_revisions_enabled()` can use strict comparison.
See #32444.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32444#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list