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

WordPress Trac noreply at wordpress.org
Fri Nov 20 06:04:40 UTC 2015


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

 * milestone:  Future Release => 4.4


Comment:

 I agree that this meta box is terrible and that the general goal should be
 to remove it entirely, but I think in the meantime, a short-circuit is
 smart and the idea of populating the dropdown with values that aren't
 necessarily existing meta keys is a pretty interesting one. I wouldn't
 advertise that as a good use, though, since we don't want to actually
 encourage using the default meta box :)

 Strongly agree about using `null`. Going to commit this as a fix for 4.4 -
 longer term we shouldn't have the meta box registered by default. Not sure
 what can realistically be done about the actual underlying DB problem.

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


More information about the wp-trac mailing list