Changeset 3708 for trunk/wp-includes/template-functions-links.php
- Timestamp:
- 04/15/2006 12:59:40 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-links.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-links.php
r3696 r3708 93 93 $pagestruct = $wp_rewrite->get_page_permastruct(); 94 94 95 if ( '' != $pagestruct ) {95 if ( '' != $pagestruct && 'draft' != $post->post_status ) { 96 96 $link = get_page_uri($id); 97 97 $link = str_replace('%pagename%', $link, $pagestruct);
Note: See TracChangeset
for help on using the changeset viewer.