Opened 6 weeks ago
Last modified 5 weeks ago
#63391 new defect (bug)
Docs: Typo correction – 'compatability' to 'compatibility'
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTML API | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
There is a small typo in the following file:
src/wp-includes/html-api/class-wp-html-tag-processor.php
The word "compatability" is misspelled and should be corrected to "compatibility".
Incorrect:
No-quirks mode document compatability mode.
Quirks mode document compatability mode.
Corrected:
No-quirks mode document compatibility mode.
Quirks mode document compatibility mode.
This fix improves accuracy and maintains consistency with the correct spelling used elsewhere.
Attachments (2)
Change History (7)
This ticket was mentioned in PR #8769 on WordPress/wordpress-develop by @dhruvang21.
6 weeks ago
#1
#2
@
6 weeks ago
- Component changed from General to HTML API
- Milestone changed from Awaiting Review to 6.9
@getsyash commented on PR #8769:
5 weeks ago
#4
I noticed the typo is also present in variable names like $this->indicated_compatability_mode
. I’d like to fix those too, but since it affects functionality, I’ll ensure all references are updated. Please let me know if there are any backward compatibility concerns I should be aware of.
@dhruvang21 commented on PR #8769:
5 weeks ago
#5
@himanshupathak95 I also noticed that there are additional instances where typos need to be fixed. However, I agree with @getsyash — I think it’s best to wait for input from the reviewers, as they’ll definitely help guide us and suggest the appropriate solutions.
@dhruvang21 I think there are a lot more instances where the word
compatability
is used throughout the codebase.For instance -
https://github.com/WordPress/wordpress-develop/blob/4dd067fb80096acf764e9732f7cfddc4d433b485/src/wp-includes/html-api/class-wp-html-doctype-info.php#L129-L136