Changeset 9811

Show
Ignore:
Timestamp:
03/29/07 17:29:37 (1 year ago)
Author:
GamerZ
Message:

Static Page Fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-email/trunk/email/email.php

    r9770 r9811  
    419419      $using_permalink = get_option('permalink_structure'); 
    420420      $permalink = get_permalink(); 
     421      // Fix For Static Page 
     422      if(get_option('show_on_front') == 'page' && is_page()) { 
     423            if(intval(get_option('page_on_front')) > 0) { 
     424                  $permalink = _get_page_link(); 
     425            } 
     426      } 
    421427      $output = ''; 
    422428      if(!empty($using_permalink)) {