Ticket #29107: 29107.patch
| File 29107.patch, 1.0 KB (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/schema.php
397 397 'comment_moderation' => 0, 398 398 'moderation_notify' => 1, 399 399 'permalink_structure' => '', 400 'rewrite_rules' => '', 400 401 'gzipcompression' => 0, 401 402 'hack_file' => 0, 402 403 'blog_charset' => 'UTF-8', -
src/wp-includes/rewrite.php
2043 2043 * @param bool $hard Whether to update .htaccess (hard flush) or just update rewrite_rules option (soft flush). Default is true (hard). 2044 2044 */ 2045 2045 public function flush_rules($hard = true) { 2046 delete_option('rewrite_rules');2046 update_option( 'rewrite_rules', '' ); 2047 2047 $this->wp_rewrite_rules(); 2048 2048 /** 2049 2049 * Filter whether a "hard" rewrite rule flush should be performed when requested.