Merged in feature/102-dev-dev01 (pull request #6)
auto-patch 102-dev-dev01-2023-12-11T19_15_32 * auto-patch 102-dev-dev01-2023-12-11T19_15_32
This commit is contained in:
@@ -1294,6 +1294,13 @@ class WP_REST_Server {
|
||||
$this->add_active_theme_link_to_index( $response );
|
||||
$this->add_site_logo_to_index( $response );
|
||||
$this->add_site_icon_to_index( $response );
|
||||
} else {
|
||||
if ( rest_is_field_included( 'site_logo', $fields ) ) {
|
||||
$this->add_site_logo_to_index( $response );
|
||||
}
|
||||
if ( rest_is_field_included( 'site_icon', $fields ) || rest_is_field_included( 'site_icon_url', $fields ) ) {
|
||||
$this->add_site_icon_to_index( $response );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user