Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33968, comment 19


Ignore:
Timestamp:
10/03/2015 09:27:32 PM (9 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33968, comment 19

    initial v1  
    66}}}
    77
    8 Doesn’t cover anything other than structures though. If you’re doing stuff with new rules, etc. continue to use the `$wp_rewrite` global as necessary. If you’re registering taxonomies, you’re still going to want to run `flush_rewrite_rules()` afterward, regardless of whether you set the structure earlier and the rules were flushed then.
     8Doesn’t cover anything other than structures though. If you’re doing stuff with new rules, etc. continue to use the `$wp_rewrite` global as necessary. If you’re registering taxonomies or post types, you’re still going to want to run `flush_rewrite_rules()` afterward, regardless of whether you set the structure earlier and the rules were flushed then.
    99
    1010Side note: I avoided changing the canonical tests because I found them to be fragile. Maybe followup on that later.