Changeset 5716
- Timestamp:
- 06/15/07 22:11:01 (1 year ago)
- Files:
-
- trunk/wp-includes/link-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/link-template.php
r5700 r5716 68 68 $permalink = get_option('permalink_structure'); 69 69 70 if ( '' != $permalink && 'draft' != $post->post_status) {70 if ( '' != $permalink && !in_array($post->post_status, array('draft', 'pending')) ) { 71 71 $unixtime = strtotime($post->post_date); 72 72
