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:
parent
49847d77f3
commit
fb73087b8f
|
@ -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'] );
|
||||||
|
|
Loading…
Reference in New Issue