WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12742 closed defect (bug) (fixed)

Custom post_type permalink editor not operationable

Reported by: dd32 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

The post permalink editor is currently broken for custom post_types, It does not allow the editing of the Permalink, and displays the "Change Permalinks" button.

Commit that follows implements custom post_type support into the editor.

There is one thing to note however, get_sample_permalink() takes a shortcut with regards to the handling of the %$query_var% token, It mearly replaces it with %postname%. Since this is only used within the get_sample_permalink functions, i felt this was an acceptable solution to avoid handling the custom token in more locations.

Change History (1)

comment:1 dd324 years ago

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

(In [13865]) Fix the Permalink editor for custom post_types. Fixes #12742

Note: See TracTickets for help on using tickets.