[wp-trac] [WordPress Trac] #45605: REST API: Avoid DB queries from generating sample permalink when possible

WordPress Trac noreply at wordpress.org
Sun Jul 7 20:04:37 UTC 2019


#45605: REST API: Avoid DB queries from generating sample permalink when possible
--------------------------------------+-----------------------
 Reporter:  dlh                       |       Owner:  dlh
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.3
Component:  REST API                  |     Version:  5.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by TimothyBlynJacobs):

 .3 looks good to me!

 For .4, why was `$requested_fields = array_map( 'trim', $requested_fields
 );` removed?

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


More information about the wp-trac mailing list