Ticket #55078: 55078.4.diff
File 55078.4.diff, 916 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
1120 1120 $x->add( 1121 1121 array( 1122 1122 'what' => 'taxonomy', 1123 'data' => $message,1124 1123 'supplemental' => array( 1125 1124 'parents' => $parents, 1126 1125 'noparents' => $noparents, -
tests/phpunit/tests/ajax/AddTag.php
38 38 unset( $e ); 39 39 } 40 40 41 $this->assertSame( $expected, (string) $this->get_xml_response_taxonomy()-> response_data);41 $this->assertSame( $expected, (string) $this->get_xml_response_taxonomy()->supplemental->notice ); 42 42 } 43 43 44 44 /**