WordPress.org

Make WordPress Core

Changeset 4736


Ignore:
Timestamp:
01/16/2007 01:37:48 AM (15 years ago)
Author:
ryan
Message:

Fix plural form parsing. Props nbachiyski. fixes #3577

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/gettext.php

    r4554 r4736  
    303303    $string = str_replace("n",$n,$string);
    304304    $string = str_replace('plural',"\$plural",$string);
    305    
     305
     306    # poEdit doesn't put any semicolons, which
     307    # results in parse error in eval
     308    $string .= ';';
     309   
    306310    $total = 0;
    307311    $plural = 0;
Note: See TracChangeset for help on using the changeset viewer.