#34887 closed defect (bug) (fixed)
Standardize on front end (n.) and front-end (adj.)
Reported by: | ocean90 | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Text Changes | Keywords: | good-first-bug has-patch |
Focuses: | Cc: |
Description
The following is currently used in core:
- front end: 17 matches across 12 files
- frontend: 14 matches across 10 files
- front-end: 13 matches across 5 files
Attachments (5)
Change History (21)
#2
@
9 years ago
- Keywords has-patch added; needs-patch removed
34887.diff contains only changes to the core WordPress files. It does not address themes nor the back-end, backend, back end
inconsistencies.
I will submit a 2nd patch based on those thoughts.
#4
@
9 years ago
@obrienlabs Both of your resources show that there seems to be a difference between the noun and the adjective, so using "front end" for all cases may be wrong.
I which we could have something like https://gcc.gnu.org/codingconventions.html#Spelling for core too.
#5
follow-up:
↓ 6
@
9 years ago
@ocean90 I'll agree that front end
may not be good for all cases in future. However, best I can tell it's correct right now. Nothing in the patch references putting something in front of something else (which would be front-end/frontend
), rather everything is relating to the part of the software closest to the user (front end
).
By this same principle, I think the same can be said for back end
. Everything I found in code did not put anything behind something else (back-end/backend
). It looked like everything was referenced as being the part of software to the administrator (back end
).
However, I'm not an English major and am open to feedback.
Perhaps we could create our own version of https://gcc.gnu.org/codingconventions.html#Spelling and have it tailored for WordPress and have it added to the Make Wordpress Core Handbook?
#6
in reply to:
↑ 5
;
follow-up:
↓ 8
@
9 years ago
Replying to obrienlabs:
@ocean90 I'll agree that
front end
may not be good for all cases in future. However, best I can tell it's correct right now. Nothing in the patch references putting something in front of something else (which would befront-end/frontend
), rather everything is relating to the part of the software closest to the user (front end
).
If my understanding is correct, "on the front end" (noun) is different from "front-end links", "front-end theme", or "front-end site signups" (adjective), and the latter instances should not be changed.
#8
in reply to:
↑ 6
@
9 years ago
Replying to SergeyBiryukov:
Replying to obrienlabs:
@ocean90 I'll agree that
front end
may not be good for all cases in future. However, best I can tell it's correct right now. Nothing in the patch references putting something in front of something else (which would befront-end/frontend
), rather everything is relating to the part of the software closest to the user (front end
).
If my understanding is correct, "on the front end" (noun) is different from "front-end links", "front-end theme", or "front-end site signups" (adjective), and the latter instances should not be changed.
@SergeyBiryukov, in all of these instances, front end
is still the correct term, as they reference the front end of the site:
Front-end
links are links on thefront end
of the site.Front-end
theme is the theme visible on thefront end
of the site.Front-end
site signups are site signups from thefront end
of the site.
This is in contrast to the adjective front-end
, which means something that needs to be done before something else can happen. For example, a front-end
charge is a charge required before something else can happen as opposed to a charge required on the front end of a site, which would be a front end
charge.
I'll look through all instances and confirm that front end
is the correct term thoughout and submit a patch. I'll also include revisions in kind for backend/back-end/back end
.
What are thoughts on whether this should extend to bundled themes?
This ticket was mentioned in Slack in #core by thewanderingbrit. View the logs.
9 years ago
#10
@
9 years ago
With the diff now correctly including the src directory, I believe this patch has everything it needs to go in.
@ocean90 I'm doing some research on this, and it looks like (according to this post from the English group at Stack Exchange) that
front end
is the right way to say it. The reasoning is front end refers tothat part of a hardware or software system that is closest to the user.
.According to Merriam-Webster, and example of
front-end
is:There is no front–end charge at the time of investment.
Best I can tell,
frontend, front-end and front end
within the WordPress files are referring to the part of the software system closest to the user - so it seems that it should befront end
.I'm working on submitting a patch to reflect
front end
, but I have 2 questions:back-end and backend
be standardized toback end
? I'm finding inconsistencies there, too.