[wp-hackers] post processing weirdness
Mark Jaquith
mark.wordpress at txfx.net
Wed Jul 6 05:50:01 GMT 2005
Daniel, could you please post that patch to this list? It's 404 for
me. WP 1.6 is quite a ways from being usable, and this bug is driving
me crazy.
- Mark Jaquith
P.S. Go Gators!
Daniel Westermann-Clark wrote:
>>Drafts should not have permalinks. First, they're drafts, so
>>there's nothing "perma" about them, just on a conceptual level.
>>
>>
>
>I agree. There's some funny logic in get_permalinks, which is the
>cause of crufty URLs on posts which were originally saved as drafts.
>
>
>
>>What should happen, though, is that the permalink is created before
>>the publish_post action goes out. This is not always the case, and
>>that's a bug.
>>
>>
>
>This appears to be simply a problem with the 'editpost' branch in
>wp-admin/post.php, which is missing the appropriate SQL.
>
>Patch against 1.5.1.2 (sorry, I'm not brave enough to run current SVN)
>at:
>
>http://dev.webadmin.ufl.edu/~dwc/tmp/permalinks-1.5.1.2.patch
>
>I'm not going to claim that's the "best" way to accomplish things, but
>it works in my tests.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050706/40cdc63a/attachment-0001.html
More information about the wp-hackers
mailing list