[wp-hackers] post_name_check

Jamie Talbot wphackers at jamietalbot.com
Mon Apr 11 07:21:53 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex,

It was in response to this bug, and yes it was because a unique
permalink structure couldn't be guaranteed.

http://mosquito.wordpress.org/view.php?id=98

For the majority of people, this will provide expected behaviour I
think.  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?

Cheers,

Jamie.

Alex King wrote:
| I see code in post.php (line 114 in current SVN) that appends a number
| to a the post slug if that post slug already exists. I'm guessing this
| is in place because there is no way to determine if a permalink
| structure will include enough date information (or post ID) to make the
| URI unique?
|
| Can someone confirm/explain this further?
|
| I have a weekly "Around the Web" post and I like having it use the same
| slug every week. I can certainly hack around this for myself, but if
| there is a more global solution I'd be happy to try to implement it.
|
| Cheers,
| --Alex
|
| http://www.alexking.org/
|
| _______________________________________________
| wp-hackers mailing list
| wp-hackers at lists.automattic.com
| http://lists.automattic.com/mailman/listinfo/wp-hackers
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCWiWRrovxfShShFARAuAMAJ0cvdwJdVqaVKD2ltUl68WIvXSAUACfUlYe
kjeIGh6sYfYHHY8Ho5zuVzc=
=IFIn
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list