[wp-trac] [WordPress Trac] #48854: WP_Query unused code

WordPress Trac noreply at wordpress.org
Tue Dec 3 20:19:54 UTC 2019


#48854: WP_Query unused code
-------------------------+----------------------
 Reporter:  mostafaabd   |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  5.3
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by SergeyBiryukov):

 * focuses:  performance =>
 * component:  Database => Query
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket! For clarity, since the `$query` parameter can be a
 string or array here, `wp_parse_args()` is called to parse a string of
 query arguments into an array.

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


More information about the wp-trac mailing list