pre flight commit, BOOM. hat tip: rboren.

git-svn-id: https://develop.svn.wordpress.org/trunk@6462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2007-12-21 22:24:04 +00:00
parent fa1f09bcb3
commit c8e824c3fe
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ $today = current_time('mysql', 1);
<h2><?php _e('Dashboard'); ?></h2>
<div id="rightnow">
<h3><?php _e('Right Now'); ?> <a href="post-new.php"><?php _e('Write a New Page'); ?></a> <a href="page-new.php"><?php _e('Write a New Post'); ?></a></h3>
<h3><?php _e('Right Now'); ?> <a href="post-new.php"><?php _e('Write a New Post'); ?></a> <a href="page-new.php"><?php _e('Write a New Page'); ?></a></h3>
<?php
$num_posts = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'" );