#9432 closed defect (bug) (fixed)
Output Broken: Ticket for collecting patches to proplery encode script and other href attribute values
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7.1 |
Component: | Validation | Keywords: | has-patch |
Focuses: | Cc: |
Description
The output does not validate in certain points because ampersands (&) are not properly used within urls (should be & not a sole &).
this ticket contains patches to fix various of such issues.
Attachments (6)
Change History (20)
@
15 years ago
plugin editor multiple ampersands and a missing ID (accidently taken over from the theme editor, had to be named plugin)
#1
@
15 years ago
Finished with checking the Admin. All pages dones. This should fix all amp; Issues in the Admin but not one with generating CSS for the default theme header image. But that is not solveable w/o changing the overall parameter design.
#5
@
15 years ago
- Milestone changed from 2.8 to Future Release
patch is b0rke (or possibly it no longer applies)
#6
@
15 years ago
- Milestone changed from Future Release to 2.8
- Resolution set to fixed
- Status changed from new to closed
I think everything went in on other tickets.
#7
@
15 years ago
_wp_dashboard_recent_comments_row() in dashboard.php is using get_comment_link() but does not escape it properly for XHTML usage. I created a helper function to do the job (so that a single point needs to be fixed in case of a bad implementation). Patch follows.
#11
@
15 years ago
mmm, you may want to double check that. when the output is meant to be displayed (the default), it should convert un-converted & to &. westi raised a separate bug the other day, however, related to double-escaping no longer occurring or something.
#12
@
15 years ago
double checked it now, clean_url() does &038; (same as &), so it is OK to use it. esc_attr() does &, so it is OK for that to use it as well. clean_url() is my preference here.
i put both changes into one patchfile as well.
amp; was missing on post edit page