WordPress.org

Make WordPress Core

Changeset 24437


Ignore:
Timestamp:
06/19/13 08:00:13 (22 months ago)
Author:
nacin
Message:

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

Merges [24436] to the 3.5 branch.

Location:
branches/3.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5

  • branches/3.5/wp-includes/deprecated.php

    r22817 r24437  
    32993299function wp_get_single_post( $postid = 0, $mode = OBJECT ) { 
    33003300    _deprecated_function( __FUNCTION__, '3.5', 'get_post()' ); 
    3301     return get_post( $postid, $mode, 'edit' ); 
     3301    return get_post( $postid, $mode ); 
    33023302} 
    33033303 
Note: See TracChangeset for help on using the changeset viewer.