﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	focuses
65112	Docs: Correct typos in JS inline comments and docblocks	parinpanjari	westonruter	"Five typos exist in WordPress-authored JavaScript comments and docblocks
under `src/js/_enqueues/`:

1. `src/js/_enqueues/wp/api.js:986` — ""add nince and pagination support""
   should be ""nonce"". (The next docblock line correctly uses ""nonce"",
   confirming the intent.)

2. `src/js/_enqueues/wp/api.js:1291` — ""Clear the parent part of the
   rouite if its actually the version string"" should be ""route"" (and
   ""its"" → ""it's""). Both are fixed in the attached patch.

3. `src/js/_enqueues/wp/customize/controls.js:593` — ""Dates not beung
   allowed for revisions..."" should be ""being"".

4. `src/js/_enqueues/wp/customize/nav-menus.js:3542` — docblock says
   `returning a ""unnammed"" fallback string` — should be ""unnamed"". The
   actual code at line 3553 correctly references `l10n.unnamed`, so the
   docblock is currently quoting the wrong spelling.

5. `src/js/_enqueues/lib/admin-bar.js:420` — ""Get the closest matching
   elent"" should be ""element"".

The attached patch updates only the authoritative `_enqueues` sources.
The corresponding build artifacts under `src/wp-admin/js/` and
`src/wp-includes/js/` are regenerated by `grunt` and are .gitignored.

Adjacent issue (not included in this patch): line 593 of controls.js
also contains an ""are is"" grammar error (""...for revisions are is a
technical limitation...""). Happy to fold into this patch or address in
a follow-up per committer preference."	defect (bug)	closed	lowest	7.1	General		normal	fixed	has-patch commit		docs
