[wp-trac] [WordPress Trac] #16929: pass the $type_of_url context param on user_trailingslashit() for CPT's
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 22 08:42:09 UTC 2011
#16929: pass the $type_of_url context param on user_trailingslashit() for CPT's
--------------------------+----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version: 3.1
Severity: normal | Keywords: needs-patch
--------------------------+----------------------------
Currently get_post_permalink() does not pass the context flag to
user_trailingslashit(), this means that for custom post types, it's not
possible to target them through the 'user_trailingslashit' filter.
It might be worth checking to see if taxonomies and any other uses of
user_trailingslashit() pass the context as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16929>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list