[wp-trac] [WordPress Trac] #42361: get_term returns NULL before filters

WordPress Trac noreply at wordpress.org
Wed Nov 8 21:13:52 UTC 2017


#42361: get_term returns NULL before filters
-----------------------------------------+------------------------------
 Reporter:  socki03                      |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Taxonomy                     |     Version:  4.7
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by welcher):

 * keywords:  has-patch needs-testing => has-patch reporter-feedback


Comment:

 @socki03 thanks for the ticket and the patch!

 My first thought is that the function returns before running the filters
 so as to not pass data to any number of filters being added.

 I would also ask that you can confirm that this issue persists even
 without the plugin installed. There is not much core can do if the plugin
 in question is the root cause.

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


More information about the wp-trac mailing list