[wp-trac] [WordPress Trac] #39601: In get_term_link() : we should be able to filter the term link structure before token replacement occurs

WordPress Trac noreply at wordpress.org
Sun Jul 30 15:09:33 UTC 2017


#39601: In get_term_link() : we should be able to filter the term link structure
before token replacement occurs
-------------------------------------+---------------------------
 Reporter:  nikeo                    |       Owner:  boonebgorges
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.9
Component:  Taxonomy                 |     Version:  4.7.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41191"]:
 {{{
 #!CommitTicketReference repository="" revision="41191"
 Taxonomy: Introduce `pre_term_link` filter.

 This filter allows developers to filter the taxonomy permalink
 structure before a term's permalink is generated. It parallels
 the 'pre_post_link' filter for the 'post' post type.

 Props nikeo.
 Fixes #39601.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39601#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list