Changeset 5716
- Timestamp:
- 06/15/2007 10:11:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.