[wp-trac] [WordPress Trac] #35452: WP_UnitTestCase::set_permalink_structure() doesn't set all permastructures
WordPress Trac
noreply at wordpress.org
Fri Sep 9 11:26:40 UTC 2016
#35452: WP_UnitTestCase::set_permalink_structure() doesn't set all permastructures
------------------------------------------+------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------
Changes (by johnbillion):
* keywords: needs-patch has-unit-tests => needs-patch needs-unit-tests
Comment:
I've found the cause of this failure. `create_initial_taxonomies()` needs
to be re-called after calling `$this->set_permalink_structure( $structure
)`. See #37851 and [38407].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35452#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list