mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
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' );
|
||||
}
|
||||
|
||||
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'] );
|
||||
|
Loading…
Reference in New Issue
Block a user