Make WordPress Core

Changeset 3853


Ignore:
Timestamp:
06/07/2006 11:30:09 PM (19 years ago)
Author:
ryan
Message:

Canonical URI for page on front. Props skeltoac. #2515

File:
1 edited

Legend:

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

    r3851 r3853  
    106106    }
    107107
     108    if ( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') )
     109        $link = get_settings('home');
     110
    108111    return apply_filters('page_link', $link, $id);
    109112}
Note: See TracChangeset for help on using the changeset viewer.