[wp-hackers] post_name_check

Alex King lists at alexking.org
Mon Apr 11 17:38:37 GMT 2005

Thanks Jamie. I guess this is easier to update than having to re-hack 
the source. :)

After thinking more about the 'unique permalink' side of things, I 
don't think checking the permalink structure and applying the unique 
suffix or not is a good idea. What may be a unique permalink now could 
easily be non-unique in the future.

For example, someone could decide that in addition to their single 
permalink structure:


they also want posts available by category:


I think the default behavior is probably smart, if inelegant for my 



On Apr 11, 2005, at 2:24 AM, Jamie Talbot wrote:

> Hash: SHA1
> | Could the functionality you want be coded in a plugin which
> | manually converted the slug back to its original?  For example by
> | hooking post_publish and making a database change?
> To self-reply, yes it could.  Attached is a simple plugin that does 
> just
> that.

More information about the wp-hackers mailing list