Changeset 54083
- Timestamp:
- 09/06/2022 02:41:08 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r53455 r54083 1309 1309 1310 1310 $this->add_image_to_index( $response, $site_icon_id, 'site_icon' ); 1311 1312 $response->data['site_icon_url'] = get_site_icon_url(); 1311 1313 } 1312 1314 -
trunk/tests/phpunit/tests/rest-api/rest-server.php
r53455 r54083 1085 1085 $this->assertArrayHasKey( 'site_logo', $data ); 1086 1086 $this->assertArrayHasKey( 'site_icon', $data ); 1087 $this->assertArrayHasKey( 'site_icon_url', $data ); 1087 1088 } 1088 1089 -
trunk/tests/qunit/fixtures/wp-api-generated.js
r54043 r54083 10782 10782 }, 10783 10783 "site_logo": 0, 10784 "site_icon": 0 10784 "site_icon": 0, 10785 "site_icon_url": "" 10785 10786 }; 10786 10787
Note: See TracChangeset
for help on using the changeset viewer.