Make WordPress Core

Changeset 52092


Ignore:
Timestamp:
11/10/2021 12:01:56 AM (2 years ago)
Author:
peterwilsoncc
Message:

Quick/Bulk Edit: Disable auto-correct for slugs.

Disable auto-correct for the slug field on the quick/bulk edit interface. As slugs may consist of a number of words combined in to a single string, they are unlikely to pass spell checkers.

Props swb1192, SergeyBiryukov, afragen, Clorith, desrosj, JeffPaul, sabernhardt, Boniu91, costdev, hellofromTonya.
Fixes #50499.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r51943 r52092  
    16371637                            <label>
    16381638                                <span class="title"><?php _e( 'Slug' ); ?></span>
    1639                                 <span class="input-text-wrap"><input type="text" name="post_name" value="" /></span>
     1639                                <span class="input-text-wrap"><input type="text" name="post_name" value="" autocomplete="off" spellcheck="false" /></span>
    16401640                            </label>
    16411641
Note: See TracChangeset for help on using the changeset viewer.