Make WordPress Core

Changeset 922 in tests for trunk/tests/xmlrpc/wp/newPost.php


Ignore:
Timestamp:
07/19/2012 04:31:22 PM (13 years ago)
Author:
ryan
Message:

Don't fatal when wp_insert_term() returns WP_Error. Props kurtpayne. fixes #107

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/xmlrpc/wp/newPost.php

    r904 r922  
    245245
    246246        $tag1 = wp_create_tag ( rand_str( 30 ) );
     247        $this->assertInternalType( 'array', $tag1 );
    247248        $tag2 = wp_create_tag ( rand_str( 30 ) );
     249        $this->assertInternalType( 'array', $tag2 );
    248250        $tag3 = wp_create_tag ( rand_str( 30 ) );
     251        $this->assertInternalType( 'array', $tag3 );
    249252
    250253        $post = array(
Note: See TracChangeset for help on using the changeset viewer.