WordPress.org

Make WordPress Core

Changeset 24436


Ignore:
Timestamp:
06/19/13 07:58:28 (10 months ago)
Author:
nacin
Message:

Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602.

File:
1 edited

Legend:

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

    r24186 r24436  
    32853285function wp_get_single_post( $postid = 0, $mode = OBJECT ) { 
    32863286    _deprecated_function( __FUNCTION__, '3.5', 'get_post()' ); 
    3287     return get_post( $postid, $mode, 'edit' ); 
     3287    return get_post( $postid, $mode ); 
    32883288} 
    32893289 
Note: See TracChangeset for help on using the changeset viewer.