WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#7703 closed defect (bug) (wontfix)

XHTML validation warnings corrections

Reported by: Simek Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

wp-admin/inbox.php

  • missing <li> for separator in <ul> added
  • incorrect close tag </td> corrected

wp-admin/plugin-editor.php

  • <strong> tag inside another <strong> tag - fixed (other fix is possible - leave whole <strong> and delete <strong> for file names)

wp-admin/user-edit.php

  • mismatch in form "name" and "id" attributes fixed

wp-admin/includes/dashboard.php

  • style sections moved to <head> from <div>

wp-admin/includes/template.php

  • double "class" attribute fixed
  • missing </strong> close tag added

Attachments (4)

validation.warnings.fixes.8841.patch (5.5 KB) - added by Simek 6 years ago.
more.validation.warnings.fixes.8841.patch (1.5 KB) - added by Simek 6 years ago.
again.validation.warnings.fixes.8845.patch (4.6 KB) - added by Simek 6 years ago.
7703.patch (12.7 KB) - added by Viper007Bond 6 years ago.
Fixed most (but purposely not all) validation errors

Download all attachments as: .zip

Change History (12)

comment:1 Simek6 years ago

Patch summary for: more.validation.warnings.fixes.8841.patch


wp-admin/theme-editor.php

  • mismatch in form "name" and "id" attributes fixed (also same "name" for two different objects corrected)

wp-admin/users.php

  • unneeded " deleted (typo)

comment:2 azaozz6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8845]) CSS and HTML validation fixes, props Simek, fixes #7703

comment:3 Simek6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Again... More validation fixes.


wp-admin/upload.php

  • "&" replaced by "&amp;"

wp-admin/import/dotclear.php

  • wrong attribute "nameid" corrected

wp-admin/import/greymatter.php

  • missing "action" attribute added into "form"
  • unneeded paragraph close tag deleted

wp-admin/includes/media.php

  • "input" tags closing slash added

comment:4 ryan6 years ago

  • Type changed from enhancement to defect

comment:5 azaozz6 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

Most of these HTML tags could change in the new design. Closing as wontfix for now, let's do that again and open new ticket after the new design is in.

comment:6 Viper007Bond6 years ago

As of 9216...

  • wp-admin/upload.php validates for me
  • wp-admin/admin.php?import=dotclear FAILS validation due to above error
  • wp-admin/admin.php?import=greymatter FAILS validation due to above errors

Viper007Bond6 years ago

Fixed most (but purposely not all) validation errors

comment:7 jacobsantos5 years ago

  • Milestone 2.7 deleted
Note: See TracTickets for help on using tickets.