Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r17583 r17228  
    848848                if ( $post_type_obj->rewrite['with_front'] )
    849849                        $struct = $wp_rewrite->front . $struct;
    850                 else
    851                         $struct = $wp_rewrite->root . $struct;
    852850                $link = home_url( user_trailingslashit( $struct, 'post_type_archive' ) );
    853851        } else {
     
    24142412                return;
    24152413
    2416         echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n";
     2414        echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n";
    24172415}
    24182416
Note: See TracChangeset for help on using the changeset viewer.