WordPress.org

Ready to get started?Download WordPress

Forums

How to submit a bugfix? (7 posts)

  1. Brak
    Member
    Posted 9 years ago #

    I've been playing with a 1.3-a install (10/14) and found a bug where single_month_title is broken (due to the change from $m to $monthnum & $year). I fixed the function (found on 218 of template-functions-general.php) as well as added a space between month and year (something I think should have been implemented from the start).
    Now, I'm wondering how do I get this to the developers? I've not done this with WP yet, so was wondering if someone could lay down the skinny for me.
    BTW, the newly fixed function is now:
    function single_month_title($prefix = '', $display = true ) {
    global $monthnum, $month, $year;
    if(!empty($monthnum)) {
    $my_year = $year;
    $my_month = $month[$monthnum];
    if ($display)
    echo $prefix . $my_month . $prefix . " " . $my_year;
    else
    return $monthnum;
    }
    }

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

  3. Brak
    Member
    Posted 9 years ago #

    I've been to mosquito, still doens't answer any questions. I tried scanning for the problem, but I dont' think it was ever reported. Do I submit a bug and fix it myself? Seems a bit weird.

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I'd try the hackers list then - I don't do this bug stuff myself :)

  5. womby
    Member
    Posted 9 years ago #

    I have 3 files that need updating, should I make a patch file against the last nightly or just upload 3 different patches?
    its a fix for this bug
    http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000306
    I did try starting a discussion of the fix to see if it is the best way to tackle the problem but that never went anywhere.
    http://wordpress.org/support/6/14598

  6. AlHo
    Member
    Posted 9 years ago #

    If it is three files that need to be updated for one problem to be fixed, then submit one patch that contain all three updated files.
    If it is three files that need to be updated to fix more than one problem, then submit one patch per problem that is solved.

  7. womby
    Member
    Posted 9 years ago #

    thanks, now I have to remember how to make a patch ^_^

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.