WordPress.org

Make WordPress Core

Ticket #53162: 53162.diff

File 53162.diff, 538 bytes (added by mukesh27, 3 months ago)
  • wp-includes/rest-api/class-wp-rest-server.php

    diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php
    index 1e85d57cd4..97481e3c67 100644
    a b class WP_REST_Server { 
    12261226                );
    12271227
    12281228                $response = new WP_REST_Response( $available );
    1229                 $response->add_link( 'help', 'http://v2.wp-api.org/' );
     1229                $response->add_link( 'help', 'https://api.wordpress.org/' );
    12301230                $this->add_active_theme_link_to_index( $response );
    12311231
    12321232                /**