[wp-trac] [WordPress Trac] #24498: Improving performance of meta_form()
WordPress Trac
noreply at wordpress.org
Tue Jul 28 02:26:53 UTC 2015
#24498: Improving performance of meta_form()
----------------------------+--------------------------
Reporter: lumaraf | Owner: pento
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.3
Component: Administration | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
----------------------------+--------------------------
Changes (by chriscct7):
* status: reopened => closed
* resolution: => fixed
Comment:
Ah whoops, I'm thinking of the wrong form here. Both optimizations are
invalid.
Stealing from DD32's feedback:
Limiting to $post’s post_id makes the function fast, but also useless,
it’s designed for adding other meta to the current post that you’ve used
elsewhere.. doing this just means that it’ll only show what you can
already see. Ordering is done so that it gets the first 30(by default)
results, ie. A, B, C, D instead of A, Z, G, R
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24498#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list