WordPress.org

Make WordPress Core

Ticket #38491: 38491.2.diff

File 38491.2.diff, 1.0 KB (added by flixos90, 4 years ago)
  • src/wp-includes/class-wp-site.php

     
    346346                        }
    347347                }
    348348
     349                /** This filter is documented in wp-includes/ms-blogs.php */
     350                $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
     351
    349352                /**
    350353                 * Filters a site's extended properties.
    351354                 *
  • src/wp-includes/ms-blogs.php

     
    240240         * Filters a blog's details.
    241241         *
    242242         * @since MU
     243         * @deprecated 4.7.0 Use site_details
    243244         *
    244245         * @param object $details The blog details.
    245246         */
    246         $details = apply_filters( 'blog_details', $details );
     247        $details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
    247248
    248249        wp_cache_set( $blog_id . $all, $details, 'blog-details' );
    249250