Opened 5 years ago
Closed 5 years ago
#48676 closed defect (bug) (fixed)
Correct spelling of sub-class > subclass and over-ride/over-ridden > override/overridden
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | docs, ui-copy | Cc: |
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
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch to replace hyphenated words sub-class/over-ride/over-ridden with their proper spelling subclass/override/overridden