WordPress.org

Make WordPress Core

Changeset 1095 in tests


Ignore:
Timestamp:
10/25/2012 10:12:49 PM (6 years ago)
Author:
ryan
Message:

Test registering taxonomy name > 32 characters. see #WP21593

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/taxonomy.php

    r909 r1095  
    9797        unset($GLOBALS['wp_taxonomies'][$tax]);
    9898    }
     99
     100    /**
     101     * @ticket 21593
     102     */
     103    function test_register_long_taxonomy() {
     104        $this->assertInstanceOf( 'WP_Error', register_taxonomy( 'abcdefghijklmnopqrstuvwxyz0123456789', 'post', array() ) );
     105    }
    99106}
Note: See TracChangeset for help on using the changeset viewer.