• I hope I can save someone the trouble I’ve been going through related to post_meta and pings. If you are having trouble deleting or adding a “Custom Fields” key-value pair, you might want to check your settings in Options/Writing/Update Services.
    Solution 1: Make damn sure you have a trailing slash on your URIs in the Update Services box. There is a slight bug in the functions.php code such that you must have a trailing slash on all your URIs. Or…
    Solution 2: Modify wp-includes/functions.php in weblog_ping() around line 500 and add

    if (!$path) {
    $path = '/';
    }

    just before the call to xmlrpc_client. This way, if you don’t have a trailing slash on your URIs in Update Services, it won’t matter.
    The nasty thing about this bug is that if you run into this bug, other things like deleting or adding a custom field won’t work because the xmlrpc routines do NOT gracefully handle the situation where there’s no path specified. Oy.
    Hope this helps,
    unbrand

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter unbrand

    (@unbrand)

    I entered this as a bug in the bug database. Here it is.

    unbrand, thanks for that one.
    First I thought the reason most meta updates failed was my opera (wordpress admin interface looks weird in it). Then I thought it was my firefox, or my weird cookie policy.
    Finally I found myself digging into post.php, but before I wanted to have a look.
    In short, thanks for that one ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pain avoidance with Update Services ping problems’ is closed to new replies.