Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220

git-svn-id: http://svn.automattic.com/wordpress/trunk@2523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2005-04-09 17:12:36 +00:00
parent f81f76f751
commit e54d8a34c2
5 changed files with 36 additions and 36 deletions

View File

@@ -44,7 +44,7 @@ function get_permalink($id = 0) {
$permalink = get_settings('permalink_structure');
if ('' != $permalink) {
if ('' != $permalink && 'draft' != $post->post_status) {
$unixtime = strtotime($post->post_date);
$category = '';