[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
Fri Mar 16 16:41:18 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:  reopened
 Priority:  normal                    |   Milestone:  5.0
Component:  Posts, Post Types         |     Version:  4.9.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by soulseekah):

 43521.3.diff includes the test as well, making sure the filter does not
 error out when a string is passed in (implying that the block of code that
 transforms the string into the array was run).

 Thanks.

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


More information about the wp-trac mailing list