WordPress.org

Make WordPress Core

Changeset 16257


Ignore:
Timestamp:
11/09/2010 10:45:30 AM (9 years ago)
Author:
westi
Message:

Better message.

File:
1 edited

Legend:

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

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