[wp-trac] [WordPress Trac] #24409: Edit Image in TinyMCE editor revamp
WordPress Trac
noreply at wordpress.org
Fri May 24 21:36:44 UTC 2013
#24409: Edit Image in TinyMCE editor revamp
-----------------------------+------------------------------
Reporter: eablokker | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by SergeyBiryukov):
> There is no data linking the img tag back to the ID number of that image
in the media library, except for the CSS class which has the ID number,
such as: "wp-image-42".
We have `img_html_to_post_id()` (introduced in [24240] for #24188). It
tries to extract the ID from the CSS class first, and falls back to
`attachment_url_to_postid()`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24409#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list