wphackers at jamietalbot.com
Mon Apr 11 08:24:40 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
| 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. It just resanitizes the post name, but doesn't recheck for
duplicates. Seems to do the trick, worked on a couple of tests and is
fairly straightforward so hopefully should be fine...
Hope it helps someone.
By the way, Matt's final note on this bug in Mosquito mentions checking
against the permalink structure. Is this still being considered?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1948 bytes
Desc: not available
Url : http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050411/e42dcacc/singular.bin
More information about the wp-hackers