Skip to:
Content

bbPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3285 closed task (blessed) (fixed)

Allow "Edit" slug to be configurable via Settings

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.6.2 Priority: normal
Severity: normal Version:
Component: API - Rewrite Rules Keywords: commit
Cc:

Description

Props @espellcaste for the idea.

See: https://bbpress.trac.wordpress.org/ticket/2976#comment:1

Currently, the "Edit" slug is non-configurable. There's really no reason for this anymore, and it will be a blocker for #2976.

Attachments (1)

3285.patch (5.7 KB) - added by johnjamesjacoby 5 years ago.

Download all attachments as: .zip

Change History (3)

#1 @johnjamesjacoby
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 6966:

Slugs: add support for configuring the "Edit" slug.

This commit adds supporting functions and UI for allowing the edit slug to be modified. This omission was originally intentional, as the rewrite rules and pretty permalink support were not fully implemented. Now that they are in 2.6, there is no reason not to allow this slug to be modified.

Related changes include swapping out the new slug setting for the rewrite ID in a few places, and removing a single hardcoded reference to 'edit' that was also overlooked.

Props espellcaste for noticing. Fixes #3285. For 2.6.2, branches/2.6.

#2 @johnjamesjacoby
5 years ago

In 6967:

Slugs: add support for configuring the "Edit" slug.

This commit adds supporting functions and UI for allowing the edit slug to be modified. This omission was originally intentional, as the rewrite rules and pretty permalink support were not fully implemented. Now that they are in 2.6, there is no reason not to allow this slug to be modified.

Related changes include swapping out the new slug setting for the rewrite ID in a few places, and removing a single hardcoded reference to 'edit' that was also overlooked.

Props espellcaste for noticing. Fixes #3285. For 2.7, trunk.

Note: See TracTickets for help on using tickets.