Make WordPress Core


Ignore:
Timestamp:
08/26/2016 08:21:30 PM (10 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove many unnecessary calls to rand_str() which can, in theory, fail at random. Static strings are much more appropriate.

See #37371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/getTerms.php

    r38078 r38382  
    6767                register_taxonomy( $tax_name, 'post' );
    6868                for( $i = 0; $i < $num_terms; $i++ )
    69                         wp_insert_term( rand_str( 10 ), $tax_name );
     69                        wp_insert_term( "term_{$i}", $tax_name );
    7070
    7171
Note: See TracChangeset for help on using the changeset viewer.