Changes between Initial Version and Version 1 of Ticket #53770, comment 16
- Timestamp:
- 07/28/2021 07:05:04 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53770, comment 16
initial v1 31 31 The options database values are correct, but running `get_theme_mod( 'custom_logo' )` returns the `site_logo` option instead of the theme's mod. 32 32 33 This means once you set a site logo, it'll stay the same when switching between themes. Looking in the database could cause confusion. But from a site owner point of view, they can set the logo once and not worry about switching themes changing the site logo unexpectedly.33 This means once you set a site logo, it'll stay the same when switching between themes. Looking in the database could cause confusion. Not sure if this change is by design or an edge case. Needs investigation. 34 34 35 35 >I looked into the database. With WP 5.8, the custom_logo returned is from another theme's theme_mods_ in the options table. How is this possible?