[wp-trac] [WordPress Trac] #33885: meta_form performs a potentially expensive query

WordPress Trac noreply at wordpress.org
Wed May 24 12:55:08 UTC 2017

#33885: meta_form performs a potentially expensive query
 Reporter:  jorbin                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Administration           |     Version:  4.3.1
 Severity:  critical                 |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance

Comment (by johnbillion):

 This seems to be a lot of work when the simplest solution would be to
 remove the query which populates the meta keys dropdown entirely. The
 default behaviour would fall back to a text input for the meta key, and
 the `postmeta_form_keys` filter could still be used on sites which want to
 provide a list of keys.

Ticket URL: <https://core.trac.wordpress.org/ticket/33885#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list