#44088 closed enhancement (wontfix)
Merged two if into single in get_the_term_list()
| Reported by: | rnaby | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: | template |
Description
In get_the_term_list function there is no need to check with two if conditions. As at line 1246 of the same file inside get_the_terms function it is returning false when the $terms is empty then there is no need to check it again in get_the_term_list I think.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The patch for the ticket.