Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41702 new enhancement

Slug for Category or Tag should be generated automatically

Reported by: subrataemfluence's profile subrataemfluence Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.1
Component: Taxonomy Keywords: has-patch
Focuses: ui, administration Cc:

Description

When adding a Category or Tag in admin, Slug generation should be automated based on category / tag name entered in Name box and Slug box would be populated with it.

Advantages:
(1) user won't have to type in the slug by hand, hence saves time
(2) will minimize the typographic error.

The slug box will remain editable and users still have the ability to change slug if required.

Core file: wp-admin/edit-tags.php
Script added under line 581

Attachments (2)

41702.diff (706 bytes) - added by subrataemfluence 7 years ago.
41702-2.diff (617 bytes) - added by subrataemfluence 7 years ago.
Previous diff was using wrong pattern.

Download all attachments as: .zip

Change History (5)

#1 @subrataemfluence
7 years ago

  • Keywords needs-patch added

#2 @subrataemfluence
7 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
7 years ago

  • Component changed from Administration to Taxonomy

@subrataemfluence
7 years ago

Previous diff was using wrong pattern.

Note: See TracTickets for help on using tickets.