WordPress.org

Make WordPress Core

Changeset 16075


Ignore:
Timestamp:
10/29/10 13:37:03 (3 years ago)
Author:
nbachiyski
Message:

Retain backwards compatiblity for the few plugins using _n_noop()

File:
1 edited

Legend:

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

    r16073 r16075  
    276276 */ 
    277277function _n_noop( $singular, $plural ) { 
    278     return array( 'singular' => $singular, 'plural' => $plural, 'context' => null ); 
     278    return array( 0 => $singular, 1 => $plural, 'singular' => $singular, 'plural' => $plural, 'context' => null ); 
    279279} 
    280280 
     
    285285 */ 
    286286function _nx_noop( $singular, $plural, $context ) { 
    287     return array( 'singular' => $singular, 'plural' => $plural, 'context' => $context ); 
     287    return array( 0 => $singular, 1 => $plural, 2 => $context, 'singular' => $singular, 'plural' => $plural, 'context' => $context ); 
    288288} 
    289289 
Note: See TracChangeset for help on using the changeset viewer.