[wp-trac] [WordPress Trac] #32444: Scrutinizer in 4.3
WordPress Trac
noreply at wordpress.org
Fri Jun 12 18:54:58 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:"32739"]:
{{{
#!CommitTicketReference repository="" revision="32739"
In `WP_Terms_List_Table::display_rows_or_placeholder()`:
* `get_terms()` can return `WP_Error`, so its return value should be
checked before traversing.
* The 2nd call to `get_terms()` can be removed, it is redundant
#OPTIMIZATION
See #32444.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32444#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list