[wp-hackers] Optimize Post Meta Query

Ryan Boren ryan at boren.nu
Wed Apr 29 23:34:48 GMT 2009


On Wed, Apr 29, 2009 at 4:08 PM, Ryan Boren <ryan at boren.nu> wrote:
> meta_form() does that query to create a list of all meta keys
> (regardless of post) except for ones starting with an underscore.
> This is used in the Custom Fields box to populate a dropdown of
> existing keys.  To keep that behavior we can't limit by post, but the
> query could definitely be improved.
>

http://core.trac.wordpress.org/changeset/11132

No more temporary table.


More information about the wp-hackers mailing list