Skip to content

Commit 3947912

Browse files
committed
Revert removal of $assoc_args for consistency
1 parent f205d67 commit 3947912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Comment_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public function untrash( $args, $assoc_args ) {
511511
* $ wp comment spam 1337
512512
* Success: Marked as spam comment 1337.
513513
*/
514-
public function spam( $args ) {
514+
public function spam( $args, $assoc_args ) {
515515
foreach ( $args as $id ) {
516516
$this->call( $id, __FUNCTION__, 'Marked %s as spam.', 'Failed marking %s as spam.' );
517517
}

0 commit comments

Comments
 (0)