Changes from branches/3.1/wp-includes/link-template.php at r17583 to trunk/wp-includes/link-template.php at r17228
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r17583 r17228 848 848 if ( $post_type_obj->rewrite['with_front'] ) 849 849 $struct = $wp_rewrite->front . $struct; 850 else851 $struct = $wp_rewrite->root . $struct;852 850 $link = home_url( user_trailingslashit( $struct, 'post_type_archive' ) ); 853 851 } else { … … 2414 2412 return; 2415 2413 2416 echo "<link rel='shortlink' href='" . esc_url ( $shortlink ) . "' />\n";2414 echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n"; 2417 2415 } 2418 2416
Note: See TracChangeset
for help on using the changeset viewer.