[wp-trac] [WordPress Trac] #45343: $query->post is null when WP_Query `fields` parameter is present

WordPress Trac noreply at wordpress.org
Tue Jun 17 17:04:29 UTC 2025


#45343: $query->post is null when WP_Query `fields` parameter is present
----------------------------------------+------------------------------
 Reporter:  wujek_bogdan                |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Query                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  dev-feedback needs-testing  |     Focuses:
----------------------------------------+------------------------------
Changes (by callumbw95):

 * Attachment "45343.diff" added.

 Modernised patch as the previous patch wasn't working in the latest
 version of WordPress

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


More information about the wp-trac mailing list