[wp-trac] [WordPress Trac] #43636: Additional wp_query 'fields' choices

WordPress Trac noreply at wordpress.org
Mon Mar 26 19:56:50 UTC 2018


#43636: Additional wp_query 'fields' choices
-------------------------+------------------------------
 Reporter:  mattkeys     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:  4.9.5
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+------------------------------

Comment (by mattkeys):

 I've submitted a patch that I've developed/tested locally. One thing I was
 not 100% positive about was the use of sanitize_text_field() on the
 post_title value from the database. Both if this is necessary here, and if
 this is the correct function to use on this column. Feedback would be
 great.

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


More information about the wp-trac mailing list