[wp-trac] [WordPress Trac] #12742: Custom post_type permalink editor not operationable
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 28 05:20:32 UTC 2010
#12742: Custom post_type permalink editor not operationable
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Post Types | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12742>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list