WordPress.org

Make WordPress Core

Changeset 24436


Ignore:
Timestamp:
06/19/2013 07:58:28 AM (5 years 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.