[wp-trac] [WordPress Trac] #21881: wp_list_categories show_option_all does not work for custom taxonomy
WordPress Trac
noreply at wordpress.org
Fri Nov 14 03:53:36 UTC 2014
#21881: wp_list_categories show_option_all does not work for custom taxonomy
-------------------------------------------------+-------------------------
Reporter: arkinex | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Taxonomy | Release
Severity: normal | Version:
Keywords: needs-unit-tests good-first-bug | Resolution:
needs-testing | Focuses:
-------------------------------------------------+-------------------------
Changes (by stevegrunwell):
* keywords: needs-patch needs-unit-tests good-first-bug => needs-unit-
tests good-first-bug needs-testing
Comment:
Patch added, but it could use some unit tests (along with the rest of
`wp_list_categories()`. If the `post_type` query var is populated, the
returned URL will come from `get_post_type_archive_link()` instead of
`get_permalink( get_option( 'page_for_posts' ) )` or `home_url( '/' )`.
First patch, any and all feedback welcome :).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21881#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list