Make WordPress Core


Ignore:
Timestamp:
09/06/2022 02:41:08 PM (4 years ago)
Author:
SergeyBiryukov
Message:

REST API: Add the missing site_icon_url to the index.

The site_icon_url index was supposed to ship with WordPress 5.6, but was ​never backported to core.

This commit backports the original PR from Gutenberg repository:

Follow-up to [52080].

Props Mamaduka, bernhard-reiter, TimothyBlynJacobs.
See #56467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-server.php

    r53455 r54083  
    10851085                $this->assertArrayHasKey( 'site_logo', $data );
    10861086                $this->assertArrayHasKey( 'site_icon', $data );
     1087                $this->assertArrayHasKey( 'site_icon_url', $data );
    10871088        }
    10881089
Note: See TracChangeset for help on using the changeset viewer.