[wp-trac] [WordPress Trac] #11569: Media.php validation fix
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 00:14:17 UTC 2009
#11569: Media.php validation fix
-------------------------+--------------------------------------------------
Reporter: Simek | Owner:
Type: enhancement | Status: reopened
Priority: low | Milestone: 3.0
Component: Validation | Version: 2.5
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by miqrogroove):
* version: 2.9 => 2.5
* severity: trivial => minor
Comment:
After all the posts by staff complaining about tickets with a lack of
information, I thought it would be helpful to close the bare patches.
Once again I'm proven wrong and will let you guys fight amongst
yourselves.
Here is the description I was working on to reopen the ticket:
If you look at the Upload/Insert buttons for attaching media to a new
post, you can copy those links and hit them directly to grab code for
validation. An example path looks like /wp-admin/media-
upload.php?post_id=-1261613461&type=image&TB_iframe=true
At such URLs there is a full entity returned with (mostly valid) XHTML
doctype. However, each entity contains one FORM element that is not
closed, and does cause a validation error.
This was probably introduced at
http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/media.php?rev=7092
I am not aware of any bug or cosmetic problem caused by the missing close
tag.
Enjoy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11569#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list