Changeset 670 for trunk/wp-admin/edit.php
- Timestamp:
- 12/31/2003 10:21:50 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r628 r670 41 41 <li class="last"><a href="moderation.php">Comments Awaiting Moderation</a></li> 42 42 </ul> 43 43 <?php 44 get_currentuserinfo(); 45 $drafts = $wpdb->get_results("SELECT ID, post_title FROM $tableposts WHERE post_status = 'draft' AND post_author = $user_ID"); 46 if ($drafts) { 47 ?> 48 <div class="wrap"> 49 <p><strong>Your Drafts:</strong> 50 <?php 51 $i = 0; 52 foreach ($drafts as $draft) { 53 if (0 != $i) 54 echo ', '; 55 $draft->post_title = stripslashes($draft->post_title); 56 if ($draft->post_title == '') 57 $draft->post_title = 'Post #'.$draft->ID; 58 echo "<a href='post.php?action=edit&post=$draft->ID' title='Edit this draft'>$draft->post_title</a>"; 59 ++$i; 60 } 61 ?>.</p> 62 </div> 63 <?php 64 } 65 ?> 44 66 <div class="wrap"> 45 67 <table width="100%">
Note: See TracChangeset
for help on using the changeset viewer.