WordPress.org

Make WordPress Core

Changeset 21568


Ignore:
Timestamp:
08/21/2012 12:10:05 AM (8 years ago)
Author:
nacin
Message:

Restore _get_post_ancestors() in deprecated.php to prevent fatal errors. see #21309.

File:
1 edited

Legend:

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

    r21253 r21568  
    31913191        echo ' sticky';
    31923192}
     3193
     3194/**
     3195 * Retrieve post ancestors.
     3196 *
     3197 * This is no longer needed as WP_Post lazy-loads the ancestors
     3198 * property with get_post_ancestors().
     3199 *
     3200 * @since 2.3.4
     3201 * @deprecated 3.5.0
     3202 * @see get_post_ancestors()
     3203 */
     3204function _get_post_ancestors( &$post ) {
     3205    _deprecated_function( __FUNCTION__, '3.5' );
     3206}
Note: See TracChangeset for help on using the changeset viewer.