Opened 16 years ago
Closed 16 years ago
#8744 closed enhancement (wontfix)
Few validation fixes for WordPress
Reported by: | Simek | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | trivial | Version: | 2.8 |
Component: | Validation | Keywords: | has-patch |
Focuses: | Cc: |
Description
All changes were tested on my Test Blog.
Changelog
Files:
- wp-login.php
- login.css
Validation warning:
- Same ID fo CSS file LINK and login DIV
Solution:
- DIV ID changed from "login" to "loginbox". CSS also corrected.
File:
- dashboard.php
Validation warning:
- FORM ID and NAME attribute value mismatch
Solution:
- FORM NAME changed to "quick-press"
File:
- upload.php
Validation warning:
- Invalid paragraph content or empty paragraph
Solution:
- Deleted P tag and P close tag. In this P was DIV with Edit, Delete and View options. P tag was unneeded.
File:
- tools.php
Validation warning:
- A tag escaping malformed URI reference
Solution:
- changed HREF to "#" and added ONCLICK attribute for JS script.
Attachments (1)
Change History (9)
Note: See
TracTickets for help on using
tickets.
That'll break Press This.
Press This is designed to be used as a bookmarklet, for that to work, the JavaScript needs to be within the href