WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 7 months ago

#23082 new defect (bug)

replace XHTML with HTML in "WordPress should correct invalidly nested XHTML automatically" setting

Reported by: mark-k Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Text Changes Keywords: has-patch 2nd-opinion
Focuses: Cc:

Description

From inspecting the code it seems like tag balancing is done whatever flavour of HTML is being used, so maybe using the more generic term HTML will reflect better what is being done in the code.

Actually I'm not even sure that it should be more then "Try to auto correct publishing standard errors found in the text", just avoid totally the whole XHTML/HTML thing. I'm sure someone with better english language skills then me will find a way to make it shorter.

Attachments (1)

23082.diff (1.0 KB) - added by swissspidy 7 months ago.

Download all attachments as: .zip

Change History (2)

swissspidy7 months ago

comment:1 swissspidy7 months ago

  • Keywords has-patch 2nd-opinion added

Not sure if this small change is worth it, but I created a patch anyway. WordPress isn't strictly XHTML anymore for a long time, and users nowadays probably don't know the term 'XHTML'.

Note: See TracTickets for help on using tickets.