wp-includes/blocks/site-logo.php:187Deletes the site logo when all theme mods are being removed.
function _delete_site_logo_on_remove_theme_mods() { global $_ignore_site_logo_changes; if ( $_ignore_site_logo_changes ) { return; } if ( false !== get_theme_support( 'custom-logo' ) ) { delete_option( 'site_logo' ); }}Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/blocks/site-logo.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.