WordPress.org

Make WordPress Core

Ticket #51075: 51075.patch

File 51075.patch, 985 bytes (added by sabernhardt, 3 months ago)
  • src/wp-includes/general-template.php

     
    996996}
    997997
    998998/**
    999  * Returns a custom logo, linked to home when on another page.
     999 * Returns a custom logo, linked to home unless the theme supports removing the link on the home page.
    10001000 *
    10011001 * @since 4.5.0
    1002  * @since 5.5.0 Removed the link on the home page.
     1002 * @since 5.5.0 Added option to remove the link on the home page with `unlink-homepage-logo` theme support.
    10031003 *
    10041004 * @param int $blog_id Optional. ID of the blog in question. Default is the ID of the current blog.
    10051005 * @return string Custom logo markup.
     
    10981098}
    10991099
    11001100/**
    1101  * Displays a custom logo, linked to home when on another page.
     1101 * Displays a custom logo, linked to home unless the theme supports removing the link on the home page.
    11021102 *
    11031103 * @since 4.5.0
    11041104 *