WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/06/2011 04:11:14 AM (10 years ago)
Author:
ryan
Message:

Bring out the shears.

File:
1 edited

Legend:

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

    r17102 r17228  
    275275
    276276    $link = $wp_rewrite->get_page_permastruct();
    277        
    278     if ( !empty($link) && ( ( isset($post->post_status) && !$draft_or_pending ) || $sample ) ) {   
     277
     278    if ( !empty($link) && ( ( isset($post->post_status) && !$draft_or_pending ) || $sample ) ) {
    279279        if ( ! $leavename ) {
    280280            $link = str_replace('%pagename%', get_page_uri($id), $link);
Note: See TracChangeset for help on using the changeset viewer.