Make WordPress Core

Changeset 37645


Ignore:
Timestamp:
06/06/2016 09:23:38 PM (10 years ago)
Author:
ocean90
Message:

Template: Pass $blog_id to the get_custom_logo filter.

Props achbed, juanfra.
Fixes #36639.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r37560 r37645  
    904904         *
    905905         * @since 4.5.0
    906          *
    907          * @param string $html Custom logo HTML output.
    908          */
    909         return apply_filters( 'get_custom_logo', $html );
     906         * @since 4.6.0 Added the `$blog_id` parameter.
     907         *
     908         * @param string $html    Custom logo HTML output.
     909         * @param int    $blog_id ID of the blog to get the custom logo for.
     910         */
     911        return apply_filters( 'get_custom_logo', $html, $blog_id );
    910912}
    911913
Note: See TracChangeset for help on using the changeset viewer.