WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#50499 new enhancement

Slug field should not autocorrect in Quick Edit view

Reported by: swb1192 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Quick/Bulk Edit Keywords: has-patch
Focuses: Cc:

Description (last modified by afragen)

When using the Quick Edit view on a Posts admin page, autocorrect is enabled when editing the slug. This may result in the unintended slugs.

By using spellcheck="false" in the input field, browsers including Safari will no longer autocorrect or spell check the slug field.

Attachments (1)

0000.diff (646 bytes) - added by swb1192 5 weeks ago.
spellcheck disabled for slug field

Download all attachments as: .zip

Change History (4)

@swb1192
5 weeks ago

spellcheck disabled for slug field

#1 follow-up: @SergeyBiryukov
5 weeks ago

Hi there, welcome to WordPress Trac! Thanks for the ticket and the patch.

Just noting that per MDN web docs, spellcheck="false" appears to be the correct value to disable the check, rather than spellcheck="off".

#2 in reply to: ↑ 1 @swb1192
5 weeks ago

Replying to SergeyBiryukov:

Hi there, welcome to WordPress Trac! Thanks for the ticket and the patch.

Just noting that per MDN web docs, spellcheck="false" appears to be the correct value to disable the check, rather than spellcheck="off".

Thanks for catching that! I wrote "off" in the description erroneously, but the patch has the correct "false".

#3 @afragen
5 weeks ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.