Q7V q/ 0|XE XE `~Q7V {E XE Q7V EXE @ tXE XE XE @ @ oh22V +q ldap_mod_del_ext A Q7V Q7V Q7V y/ P|XE XE Q7V {E XE Q7V EXE @ tXE XE XE @ 0 xnh22V )Yq ldap_errno ЃQ7V `pQ7V Q7V / 0XE XE P (ah22V XE Q7V 0 Hh22V ϰ)Yq ldap_error Q7V Q7V Q7V / P>XE XE P h22V @ XE Q7V 0 xh22V 7< ldap_err2str Q7V ЃQ7V Q7V / =XE XE P h22V @ ۑXE 0 hh22V < ldap_compare a PQ7V Q7V Q7V / LXE XE Q7V {E XE Q7V EXE @ XE @ {XE @ XE XE ` 0 h22V .˩ ldap_rename Q7V 0Q7V @Q7V / qXE XE Q7V {E XE Q7V EXE @ `XE @ hXE @ sXE XE XE 0 h22V ;̓V ldap_rename_ext Q7V Q7V Q7V / qXE XE Q7V {E XE Q7V EXE @ `XE @ hXE @ sXE XE XE 0 ؘh22V tcڴT ldap_get_option ! 0Q7V 0Q7V Q7V / pNXE XE 0Q7V {E XE Q7V +XE {XE XE 0 hh22V B =V ldap_set_option ! Q7V PQ7V Q7V / @RXE XE Q7V {E XE Q7V +XE {XE @ Ȑh22V o'1 ldap_count_references ЎQ7V 0nQ7V PQ7V / ]XE XE p ~h22V XE Q7V OXE Q7V @ h22V [m-?) ldap_first_reference Q7V Q7V Q7V / ^XE XE p h22V Q7V XE Q7V OXE Q7V @ Hh22V RB# ldap_nexIf the custom_logo is being unset, it's being removed from theme mods. if ( isset( $old_value['custom_logo'] ) && ! isset( $value['custom_logo'] ) ) { delete_option( 'site_logo' ); } } /** * Deletes 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' ); } } /** * Hooks `_delete_site_logo_on_remove_custom_logo` in `update_option_theme_mods_$theme`. * Hooks `_delete_site_logo_on_remove_theme_mods` in `delete_option_theme_mods_$theme`. * * Runs on `setup_theme` to account for dynamically-switched themes in the Customizer. */ function _delete_site_logo_on_remove_custom_logo_on_setup_theme() { $theme = get_option( 'stylesheet' ); add_action( "update_option_theme_mods_$theme", '_delete_site_logo_on_remove_custom_logo', 10, 2 ); add_action( "delete_option_theme_mods_$theme", '_delete_site_logo_on_remove_theme_mods' ); } add_action( 'setup_theme', '_delete_site_logo_on_remove_custom_logo_on_setup_theme', 11 ); /** * Removes the custom_logo theme-mod when the site_logo option gets deleted. */ function _delete_custom_logo_on_remove_site_logo() { global $_ignore_site_logo_changes; // Prevent _delete_site_logo_on_remove_custom_logo and // _delete_site_logo_on_remove_theme_mods from firing and causing an // infinite loop. $_ignore_site_logo_changes = true; // Remove the custom logo. remove_theme_mod( 'custom_logo' ); $_ignore_site_logo_changes = false; } add_action( 'delete_option_site_logo', '_delete_custom_logo_on_remove_site_logo' );