• nigelkane

    (@nigelkane)


    I don’t seem to be able to stick this anyplace else.

    In comment-functions.php (lines 509 – 517) of WP 2.0.2, get_trackback_url does not work correctly whne trying to track back on a page.

    $tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;

    should be wrapped with something like

    if(is_page()) {
    $tb_url = get_settings('siteurl') . '/wp-trackback.php?page_id=' . $id;
    } else {
    $tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • Monika

    (@monika)

    nigelkane

    you made my day,

    my blog has hundreds of error 404
    I have found out:from trackbacks,

    and know I now why

    🙂
    🙂
    I wish you well
    Monika

    tboley

    (@tboley)

    Does the bug still exists in WordPress 2.0.3?

    Thread Starter nigelkane

    (@nigelkane)

    Where do you get 2.0.3? The latest official release is 2.0.2 isn’t it?

    Monika – glad its helping 🙂

    Thread Starter nigelkane

    (@nigelkane)

    Ah, just cleared my cache and reloaded the download page…

    sorry 🙂 I’ll have a check.

    Write up a ticket on trac: http://trac.ww.wp.xz.cn/

    Thread Starter nigelkane

    (@nigelkane)

    The fault does occur on 2.0.3 and I have raised a trac (thanks mdawaffe): http://trac.ww.wp.xz.cn/ticket/2819#preview

    Hopefully it’ll get into 2.1, or 2.0.4 🙂

    yosemite

    (@yosemite)

    Now I’m curious ;’) How did you come across this bug?

    Thread Starter nigelkane

    (@nigelkane)

    Regression testing 🙂

    I am trying to make track backs work for a page for a client of mine, and just checked the URL coming back to see what was working.

    Accidentally found a page_id that had the same id as a post, and was getting redirected to the post.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘bug in wordpress’ is closed to new replies.