Changeset 5191
- Timestamp:
- 04/06/2007 03:33:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/index.php
r5124 r5191 62 62 63 63 <?php 64 if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 5") ) :64 if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'post' AND " . get_private_posts_cap_sql('post') . " AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 5") ) : 65 65 ?> 66 66 <div>
Note: See TracChangeset
for help on using the changeset viewer.