[wp-hackers] 1.5.1++ Bug List

Ryan Boren ryan at boren.nu
Sat May 14 03:03:39 GMT 2005


On Fri, 2005-05-13 at 18:01 -0500, Ryan Boren wrote:
> I just attached another patch that fixes url_to_postid().  It wasn't
> working for some permalink structures.  If the pinged URI in an incoming
> pingback cannot be resolved to a specific post, the ping is thrown on
> the floor and error 33 is sent back.
> 
> The patch is a thorough rewrite of url_to_postid().  It uses pretty much
> the same code we use to process permalinks coming in over PATH_INFO and
> 404 (see the top of wp-blog-header).  This code builds a query that is
> then shipped to WP_Query.  If all goes well, WP_Query spits a matching
> post back at us.

Patch committed.  Please test the hell out of it.

Ryan



More information about the wp-hackers mailing list