[wp-trac] [WordPress Trac] #34151: Auto save permalink after register post type / taxonomy
WordPress Trac
noreply at wordpress.org
Mon Oct 5 17:17:58 UTC 2015
#34151: Auto save permalink after register post type / taxonomy
------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
------------------------------+------------------------------
Changes (by akibjorklund):
* keywords: => close
Comment:
It is enough to just go to the permalink settings page to flush the
rewrite rules. The fact that rewrite rules do not get automatically
flushed is one of those thing in WordPress a developer currently just has
to know. This is true for custom taxonomies and custom rewrite rules too.
To automatically flush the rewrite rules has been suggested several times.
The most relevant ticket I found was #10446, from 6 years ago.
Personally, I don't see this a good enough reason to start storing CPT
definitions (or their hashes or anything like that) in the database to be
able to compare if they have been changed. That is why I suggest this
issue to be closed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34151#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list