Tests: Fix incorrect variable name from [38330].
See #37630. git-svn-id: https://develop.svn.wordpress.org/trunk@38331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b93e0739a9
commit
74b912705d
@ -25,7 +25,7 @@ class WP_UnitTest_Factory_For_Attachment extends WP_UnitTest_Factory_For_Post {
|
||||
|
||||
$r = array_merge( array(
|
||||
'file' => '',
|
||||
'parent' => 0,
|
||||
'post_parent' => 0,
|
||||
), $args );
|
||||
|
||||
return wp_insert_attachment( $r, $r['file'], $r['post_parent'] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user