[wp-trac] [WordPress Trac] #35235: remove_permastruct()
WordPress Trac
noreply at wordpress.org
Tue Jan 5 15:30:39 UTC 2016
#35235: remove_permastruct()
--------------------------------------+------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Rewrite Rules | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by boonebgorges):
Replying to [comment:3 swissspidy]:
> I tried to make `remove_permastruct()` the counter part to
`add_permastruct()`, so I'd suggest making this clear in the documentation
for both functions ("Add/remove extra permastruct").
This sounds good to me. Something along the following lines should work:
"This function can only be used to remove permastructs that were added
using `add_permastruct()`. Built-in permastructs cannot be removed."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35235#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list