wp-includes/blocks/site-logo.php:145Updates the site_logo option when the custom_logo theme-mod gets updated.
$valuemixedmixedfunction _sync_custom_logo_to_site_logo( $value ) { if ( empty( $value ) ) { delete_option( 'site_logo' ); } else { update_option( 'site_logo', $value ); } return $value;}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.