Ticket #9296: 9296.5.diff
File 9296.5.diff, 898 bytes (added by , 12 years ago) |
---|
-
wp-admin/options-permalink.php
71 71 } 72 72 add_filter('admin_head', 'options_permalink_add_js'); 73 73 74 include('./admin-header.php');75 76 74 $home_path = get_home_path(); 77 75 $iis7_permalinks = iis7_supports_permalinks(); 78 76 … … 115 113 $wp_rewrite->set_tag_base( $tag_base ); 116 114 } 117 115 118 create_initial_taxonomies(); 116 wp_redirect( admin_url( 'options-permalink.php?updated=true' ) ); 117 exit; 119 118 } 120 119 121 120 $permalink_structure = get_option('permalink_structure'); … … 141 140 142 141 flush_rewrite_rules(); 143 142 144 if (isset($_POST['submit'])) : ?> 143 include('./admin-header.php'); 144 145 if ( ! empty( $_GET['updated'] ) ) : ?> 145 146 <div id="message" class="updated"><p><?php 146 147 if ( ! is_multisite() ) { 147 148 if ( $iis7_permalinks ) {