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

View File

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