Skip to content
Permalink
Browse files

Coding Standards: Fix WPCS issue in [46262].

See #47952.

git-svn-id: https://develop.svn.wordpress.org/trunk@46266 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 23, 2019
1 parent 06868d4 commit f29fdab4261c62d3ba9844019143be9ae1005c86
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php
@@ -84,7 +84,7 @@ public function add_post_terms( $post_id, $terms, $taxonomy, $append = true ) {
* @return null|WP_Error|WP_Term WP_Term on success. WP_error if taxonomy does not exist. Null for miscellaneous failure.
*/
public function create_and_get( $args = array(), $generation_definitions = null ) {
$term_id = $this->create( $args, $generation_definitions );
$term_id = $this->create( $args, $generation_definitions );
if ( is_wp_error( $term_id ) ) {
return $term_id;

0 comments on commit f29fdab

Please sign in to comment.
You can’t perform that action at this time.