Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#19744 closed defect (bug)

Custom post type doesn't receive pingback — at Initial Version

Reported by: feedmeastraycat Owned by:
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.3.1
Component: Query Keywords: has-patch
Focuses: Cc:


(I hope this isn't a duplicate or a "feature". I've tried to search but couldn't find anything.)

It seams like custom post type doesn't receive pingbacks. The XML-RCP server doesn't recognize the URL. The url_to_postid() function in rewrite.php finds a match, but the query is all wrong.

Example, if I set up custom post type with no "rewrite" in the arguments. The URL to a custom post type would be: mydomain.com/custom_post_type_name/post-slug/

The function url_to_postid() finds a match on:


The query is:


But the query string (after WP_MatchesMapRegexp::apply()) looks like this:


And the array that is sent into WP_Query looks like this:

    [tips_and_trix] => finns-sjukt-manga-tips-har
    [page] => 

Which makes url_to_postid() return 0; And XML-RCP server returns IXR_Error(33, ...)

Change History (0)

Note: See TracTickets for help on using tickets.