WordPress / WordPress/Documentation-Issue-Tracker

[Themes] Update theme support documentation for HTML5 script

Open
#2,148 10 comments 1 reaction 1 assignee View on GitHub

@carolinan is already working on this.

Since Mar 5, 2026.

[Status] In progress developer documentation (DevHub) themes
Dominant language
Shell
Stars
109
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Issue Description

Ticket 64442 and changeset 61415 are removing and deprecating the HTML5 script theme support option. More details are in the ticket.

Some documentation pages mention HTML5 script theme support and seem to be a mix of generated and human-written documentation. These pages should be updated to remove references to HTML5 script theme suppport.

A changelog can mention that WordPress 7.0 deprecated HTML5 script theme support.

URL of the Page with the Issue

Section of Page with the issue

https://developer.wordpress.org/reference%2Ffunctions%2Fadd_theme_support%2F/#html5 - the HTML5 section.

https://codex.wordpress.org/Theme_Markup - "Adding Theme Support" uses script in its example.

Why is this a problem?

Themes should not check HTML5 script support and with WordPress 7.0 they can stop adding HTML5 script support, it should have no impact.

Suggested Fix

Update to remove references to HTML5 script support.

Props @dmsnell for spotting this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.