[wp-trac] Re: [WordPress Trac] #6364: Can't manually set slugs if
pretty permalinks are disabled
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 29 11:08:40 GMT 2008
#6364: Can't manually set slugs if pretty permalinks are disabled
-------------------------------+--------------------------------------------
Reporter: RanYanivHartstein | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 2.5
Severity: normal | Resolution: wontfix
Keywords: |
-------------------------------+--------------------------------------------
Comment (by hervada):
Replying to [comment:9 markjaquith]:
> This is most definitely a non-typical usage. Our method of dealing with
edge requests like this is to ensure that there are adequate plugin hooks
so that someone could change the functionality that way. You should have
all the hooks that are needed, but please let us know if that's not the
case.
Thank you markjaquith and lloydbudd for your comments. I realise now that
with WP 2.5 a shift in the use of post slugs has occured, which makes my
approach invalid. I've interpreted the post slug as an alfabetical ID for
posts, until WP 2.3.3 each post got a slug whatever the permalink
structure is. Now the post slug is just used for the purpose of permalinks
and new posts get no slug, if pretty permalinks is not set. I still think
this is not a good design decision, but anyway, it is your choice, I will
add a custom field "post alias" and use this at my plugin. I've tested it
and think there are already all hooks that I need. Thanks again.
--
Ticket URL: <http://trac.wordpress.org/ticket/6364#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list