WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/16/2017 10:28:52 PM (2 years ago)
Author:
flixos90
Message:

Multisite: Revert [41719].

While get_site_by() makes sense as a more explicit and less complex replacement for get_blog_details(), it is not ready yet in terms of caching, where it currently falls short of the older function under specific circumstances.

See #40180, #40228.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-site.php

    r41719 r41883  
    331331        }
    332332
    333         /**
    334          * Filters a blog's details.
    335          *
    336          * @since MU (3.0.0)
    337          * @deprecated 4.7.0 Use site_details
    338          *
    339          * @param object $details The blog details.
    340          */
     333        /** This filter is documented in wp-includes/ms-blogs.php */
    341334        $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
    342335
Note: See TracChangeset for help on using the changeset viewer.