Ticket #34303: 34303.diff
File 34303.diff, 699 bytes (added by , 9 years ago) |
---|
-
wp-includes/rest-api/rest-functions.php
526 526 return; 527 527 } 528 528 529 echo "<link rel='https:// github.com/WP-API/WP-API' href='" . esc_url( $api_root ) . "' />\n";529 echo "<link rel='https://api.w.org/' href='" . esc_url( $api_root ) . "' />\n"; 530 530 } 531 531 532 532 /** … … 545 545 return; 546 546 } 547 547 548 header( 'Link: <' . esc_url_raw( $api_root ) . '>; rel="https:// github.com/WP-API/WP-API"', false );548 header( 'Link: <' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/"', false ); 549 549 } 550 550 551 551 /**