Make WordPress Core

Changeset 16263


Ignore:
Timestamp:
11/09/2010 08:37:47 PM (15 years ago)
Author:
nacin
Message:

Better better message.

File:
1 edited

Legend:

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

    r16257 r16263  
    22562256
    22572257    if ( is_numeric( $args ) ) {
    2258         _deprecated_argument( __FUNCTION__, '3.1', __('Passing an integer number of posts is deprecated you should pass an array or arguments instead.' ) );
     2258        _deprecated_argument( __FUNCTION__, '3.1', __( 'Passing an integer number of posts is deprecated. Pass an array of arguments instead.' ) );
    22592259        $args = array( 'numberposts' => absint( $args ) );
    22602260    }
Note: See TracChangeset for help on using the changeset viewer.