Opened 11 years ago
Closed 10 years ago
#34633 closed defect (bug) (fixed)
X-pingback header should be generated the same as rel="pingback" link
| Reported by: | mark-k | Owned by: | jorbin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Pings/Trackbacks | Version: | 2.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.