Opened 10 years ago
Closed 9 years ago
#34633 closed defect (bug) (fixed)
X-pingback header should be generated the same as rel="pingback" link
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Pings/Trackbacks | Keywords: | has-patch |
Focuses: | Cc: |
Description
Right now the generation of the url for X-pingback is done by a call to get_bloginfo API while the generation of the rel="pingback" link is done by calling bloginf API.
The difference between the two is that the later can be filtered which means that in theory the X-pingback URL will be different than the one in rel="pingback link.
I suggest using the bloginfo API for both as I don't see any reason not to be able to filter the url (right now it points to the XMLRPC end point but people might want to use a different one for pingback to have a distinction in treatment between remote management and commenting)
I can see good reasons to allow this to be filtered uniformly. One being the possibility of delegating pingback processing to a service function outside of WordPress itself.