WordPress.org

Make WordPress Core

Ticket #10434: 10434.diff

File 10434.diff, 471 bytes (added by josephscott, 2 years ago)
  • feed.php

     
    488488 */ 
    489489function self_link() { 
    490490        $host = @parse_url(home_url()); 
    491         echo esc_url( set_url_scheme( 'http://' . $host['host'] . stripslashes($_SERVER['REQUEST_URI']) ) ); 
     491        echo esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . stripslashes($_SERVER['REQUEST_URI']) ) ) ); 
    492492} 
    493493 
    494494/**