Ticket #22351: rewrite.php.patch
| File rewrite.php.patch, 549 bytes (added by , 13 years ago) |
|---|
-
rewrite.php
1940 1940 */ 1941 1941 function set_permalink_structure($permalink_structure) { 1942 1942 if ( $permalink_structure != $this->permalink_structure ) { 1943 $old_permalink_structure = $this->permalink_structure; 1943 1944 update_option('permalink_structure', $permalink_structure); 1944 1945 $this->init(); 1945 do_action('permalink_structure_changed', $ this->permalink_structure, $permalink_structure);1946 do_action('permalink_structure_changed', $old_permalink_structure, $permalink_structure); 1946 1947 } 1947 1948 } 1948 1949