[wp-trac] [WordPress Trac] #52069: Define ID for any query

WordPress Trac noreply at wordpress.org
Mon Dec 14 18:30:24 UTC 2020


#52069: Define ID for any query
-----------------------------+-----------------------------
 Reporter:  hamedmoodi       |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Query            |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I use many custom wp_query in my website,
 Now when I want to use 'pre_get_posts' for filter custom wp_queries, i
 have problem in determine target query with conditional tag such
 is_main_query, is_font_page, ...
 I think if we determine ID for each custom wp_query some problem for
 determine target query will solved

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


More information about the wp-trac mailing list