#27 closed defect (bug) (fixed)
You must have a trailing slash on ping URIs or post.php/editpost just stops
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | XML-RPC | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
xml-rpc is expecting a valid $path, so we must make sure it gets one. Currently in functions.php, there is no check for a trailing slash on the URIs entered into "Update Services" in the admin interface. If the user does not put a trailing slash on all URIs, then xml-rpc never gets a $path and the "editpost" processing in post.php just bails. Nasty side effects of not finishing the "editpost" processing which include delete/add/update of custom fields (post_meta).
Attachments (1)
Change History (7)
comment:4
anonymousbugger
— 9 years ago
I had the same problem: adding/updating simply does not work, it says that custom fields were updated but they never are.
I applied your patch to a virgin 1.2, but it doesn't help. The only URL to ping out of the box is "http://rpc.pingomatic.com/" which has a trailing slash.
Nevertheless, functions:weblog_ping() bails out.
This <em>could</em> be the issue I've had with my <a href="http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000070">Bug 70</a>.