[wp-trac] [WordPress Trac] #43521: Excluded terms filter in get_adjacent_post is not executed if excluded_terms parameter is empty

WordPress Trac noreply at wordpress.org
Sun Mar 11 17:31:06 UTC 2018


#43521: Excluded terms filter in get_adjacent_post is not executed if
excluded_terms parameter is empty
--------------------------------------+-----------------------------
 Reporter:  zottto                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  Posts, Post Types         |     Version:  4.9.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"42828"]:
 {{{
 #!CommitTicketReference repository="" revision="42828"
 Link Template: Apply `get_{$adjacent}_post_excluded_terms` filter to an
 empty `excluded_terms` parameter as well.

 Props soulseekah, zottto.
 Fixes #43521.
 }}}

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


More information about the wp-trac mailing list