[wp-trac] [WordPress Trac] #24289: Post Formats UI: Attachment Display Settings ignored when inserting image.
WordPress Trac
noreply at wordpress.org
Mon May 13 18:40:03 UTC 2013
#24289: Post Formats UI: Attachment Display Settings ignored when inserting image.
------------------------------------------------------+--------------------
Reporter: jbobich | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.6
Component: Administration | Version: trunk
Severity: blocker | Resolution:
Keywords: has-patch dev-feedback reporter-feedback |
------------------------------------------------------+--------------------
Comment (by kovshenin):
Replying to [comment:10 adamsilverstein]: The original HTML resulted in a
faster image lookup in `get_the_post_format_image` and
`img_html_to_post_id` because of the `wp-image-*` class. A lookup only by
URL results in a database query, see `attachment_url_to_postid`. I think
we should go back to using numeric IDs where possible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24289#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list