[wp-trac] [WordPress Trac] #11394: Image shortcode
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 20 19:09:50 UTC 2009
#11394: Image shortcode
----------------------------+-----------------------------------------------
Reporter: caesarsgrunt | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.0
Component: Media | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by caesarsgrunt):
Replying to [comment:8 hakre]:
> Cache is not a core feature but would it really create that many DB
queries? I mean all comes with a price... .
Would be nice if it was a core feature, IMO...
No, it's not a ''huge'' number of extra queries - one per image, in
fact.[[BR]]
Alternatively, we could start by scanning the whole post to make a list of
images, and then load the data for all of them at once with a single
query.
Either way, I think it's a small price to pay for having image shortcodes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11394#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list