Make WordPress Core

Ticket #52321: 52321.diff

File 52321.diff, 668 bytes (added by palmiak, 4 years ago)
  • src/wp-includes/rest-api/class-wp-rest-server.php

    diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php
    index ed94151228..ba213d3a21 100644
    a b class WP_REST_Server { 
    12161216                        'description'     => get_option( 'blogdescription' ),
    12171217                        'url'             => get_option( 'siteurl' ),
    12181218                        'home'            => home_url(),
     1219                        'site_icon'       => get_site_icon_url(),
    12191220                        'gmt_offset'      => get_option( 'gmt_offset' ),
    12201221                        'timezone_string' => get_option( 'timezone_string' ),
    12211222                        'namespaces'      => array_keys( $this->namespaces ),