[wp-trac] [WordPress Trac] #33460: wp_list_categories should display title_li only if the $categories is not empty , or have an option to hide it if $categories is empty
WordPress Trac
noreply at wordpress.org
Thu Nov 17 18:01:15 UTC 2016
#33460: wp_list_categories should display title_li only if the $categories is not
empty , or have an option to hide it if $categories is empty
-----------------------------------+---------------------------
Reporter: vilkatis | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------------
Comment (by SergeyBiryukov):
In [changeset:"39280"]:
{{{
#!CommitTicketReference repository="" revision="39280"
Taxonomy: Prevent `wp_list_categories()` from producing not well-nested
output if `hide_title_if_empty` is true.
Props chesio.
Fixes #38839. See #33460.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33460#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list