[wp-trac] [WordPress Trac] #35454: `lazyload_term_meta` is called many time when calling `get_term_metadata`

WordPress Trac noreply at wordpress.org
Thu Jan 14 07:25:47 UTC 2016


#35454: `lazyload_term_meta` is called many time when calling `get_term_metadata`
--------------------------+-----------------------------
 Reporter:  sfai05        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 Step to reproduce :
 Call `WP_Query` more then one time in a same request, then action
 `lazyload_term_meta` will hook to filter `get_term_metadata` more then one
 time.
 Line 3633 in `wp-includes/query.php`

 Hugely affect performance if you have many custom taxonomy.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35454>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list