Changeset 5707 for trunk/wp-includes/post-template.php
- Timestamp:
- 06/14/2007 04:24:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r5700 r5707 163 163 $output .= '<a href="' . get_permalink() . '">'; 164 164 } else { 165 if ( '' == get_option('permalink_structure') || 'draft' == $post->post_status)165 if ( '' == get_option('permalink_structure') || in_array($post->post_status, array('draft', 'pending')) ) 166 166 $output .= '<a href="' . get_permalink() . '&page=' . $i . '">'; 167 167 else … … 182 182 $output .= '<a href="' . get_permalink() . '">' . $previouspagelink . '</a>'; 183 183 } else { 184 if ( '' == get_option('permalink_structure') || 'draft' == $post->post_status)184 if ( '' == get_option('permalink_structure') || in_array($post->post_status, array('draft', 'pending')) ) 185 185 $output .= '<a href="' . get_permalink() . '&page=' . $i . '">' . $previouspagelink . '</a>'; 186 186 else … … 193 193 $output .= '<a href="' . get_permalink() . '">' . $nextpagelink . '</a>'; 194 194 } else { 195 if ( '' == get_option('permalink_structure') || 'draft' == $post->post_status)195 if ( '' == get_option('permalink_structure') || in_array($post->post_status, array('draft', 'pending')) ) 196 196 $output .= '<a href="' . get_permalink() . '&page=' . $i . '">' . $nextpagelink . '</a>'; 197 197 else
Note: See TracChangeset
for help on using the changeset viewer.