Make WordPress Core

Changeset 32208


Ignore:
Timestamp:
04/20/2015 03:17:24 PM (10 years ago)
Author:
boonebgorges
Message:

In term-splitting unit tests, correct incorrect wording in an inline comment.

Props dlh.
Fixes #32014.

Location:
trunk/tests/phpunit/tests/term
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/splitSharedTerm.php

    r31418 r32208  
    3535        $t3 = wp_insert_term( 'Foo', 'wptests_tax_3' );
    3636
    37         // Manually modify because split terms shouldn't naturally occur.
     37        // Manually modify because shared terms shouldn't naturally occur.
    3838        $wpdb->update( $wpdb->term_taxonomy,
    3939            array( 'term_id' => $t1['term_id'] ),
     
    120120        ) );
    121121
    122         // Manually modify because split terms shouldn't naturally occur.
     122        // Manually modify because shared terms shouldn't naturally occur.
    123123        $wpdb->update( $wpdb->term_taxonomy,
    124124            array( 'term_id' => $t1['term_id'] ),
     
    147147        $t2 = wp_insert_term( 'Foo Default', 'wptests_tax_5' );
    148148
    149         // Manually modify because split terms shouldn't naturally occur.
     149        // Manually modify because shared terms shouldn't naturally occur.
    150150        $wpdb->update( $wpdb->term_taxonomy,
    151151            array( 'term_id' => $t1['term_id'] ),
     
    174174        $t2 = wp_insert_term( 'Foo Menu', 'wptests_tax_6' );
    175175
    176         // Manually modify because split terms shouldn't naturally occur.
     176        // Manually modify because shared terms shouldn't naturally occur.
    177177        $wpdb->update( $wpdb->term_taxonomy,
    178178            array( 'term_id' => $t1['term_id'] ),
  • trunk/tests/phpunit/tests/term/wpUpdateTerm.php

    r32117 r32208  
    275275        $t2 = wp_insert_term( 'Foo', 'wptests_tax_2' );
    276276
    277         // Manually modify because split terms shouldn't naturally occur.
     277        // Manually modify because shared terms shouldn't naturally occur.
    278278        $wpdb->update( $wpdb->term_taxonomy,
    279279            array( 'term_id' => $t1['term_id'] ),
     
    316316        $t2 = wp_insert_term( 'Foo', 'wptests_tax_2' );
    317317
    318         // Manually modify because split terms shouldn't naturally occur.
     318        // Manually modify because shared terms shouldn't naturally occur.
    319319        $wpdb->update( $wpdb->term_taxonomy,
    320320            array( 'term_id' => $t1['term_id'] ),
Note: See TracChangeset for help on using the changeset viewer.