Make WordPress Core

Ticket #36639: 36639.2.patch

File 36639.2.patch, 549 bytes (added by juanfra, 7 years ago)

Patch without modifying the restore_current_blog() position

  • wp-includes/general-template.php

     
    905905         * @since 4.5.0
    906906         *
    907907         * @param string $html Custom logo HTML output.
     908         * @param int $blog_id ID of the blog in question. Default is the ID of the current blog.
    908909         */
    909         return apply_filters( 'get_custom_logo', $html );
     910        $html = apply_filters( 'get_custom_logo', $html, $blog_id );
     911
     912        return $html;
    910913}
    911914
    912915/**