Opened 7 years ago
Closed 7 years ago
#48676 closed defect (bug) (fixed)
Correct spelling of sub-class > subclass and over-ride/over-ridden > override/overridden
| Reported by: | garrett-eclipse | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.4 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs, ui-copy |
Description
Hello,
While updating #46418 I noticed the use of over-ridden and sub-class which are more appropriate as overridden and subclass.
For subclass if you look up OOP languages (PHP/Java/etc) all official documentation uses subclass without a hyphen;
https://www.php.net/manual/en/language.oop5.inheritance.php
For override;
In general, use a hyphen to separate repeated letters in a compound word - re-emergence, co-operative, film-maker, night-time - but there are some exceptions, including overrun, override, overrule, underrate, withhold. As usual, consult the Oxford English Dictionary if in doubt.
Reference - https://www.bbc.co.uk/academy/en/articles/art20130702112133530
Patch incoming
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to replace hyphenated words sub-class/over-ride/over-ridden with their proper spelling subclass/override/overridden