[wp-trac] [WordPress Trac] #21479: Twenty Twelve: hide category and tag output in post meta if only 1 term
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 11 20:58:20 UTC 2012
#21479: Twenty Twelve: hide category and tag output in post meta if only 1 term
------------------------------+---------------------------
Reporter: lancewillett | Owner: lancewillett
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+---------------------------
Comment (by nacin):
`! empty( $categories_list )` can simply be `$categories_list`. Also,
count() is unnecessary when empty() is already there.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21479#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list