Remove unused args. fixes #7946

git-svn-id: http://svn.automattic.com/wordpress/trunk@9278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-22 16:17:41 +00:00
parent 49847d77f3
commit fb73087b8f
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ function wp_dashboard_right_now() {
do_action( 'activity_box_end' ); do_action( 'activity_box_end' );
} }
function wp_dashboard_quick_press( $dashboard, $meta_box ) { function wp_dashboard_quick_press() {
$drafts = false; $drafts = false;
if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) ) { if ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['action'] ) && 0 === strpos( $_POST['action'], 'post-quickpress' ) ) {
$view = get_permalink( $_POST['post_ID'] ); $view = get_permalink( $_POST['post_ID'] );