pre flight commit, BOOM. hat tip: rboren.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-12-21 22:24:04 +00:00
parent 10e8e7a53d
commit 5118aa7b7d
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> <h2><?php _e('Dashboard'); ?></h2>
<div id="rightnow"> <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 <?php
$num_posts = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'" ); $num_posts = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'" );