Ticket #7490: 7490_trunk.diff
| File 7490_trunk.diff, 1.2 KB (added by markjaquith, 4 years ago) |
|---|
-
wp-includes/version.php
15 15 * 16 16 * @global int $wp_db_version 17 17 */ 18 $wp_db_version = 858 5;18 $wp_db_version = 8586; 19 19 20 20 ?> -
wp-includes/rewrite.php
447 447 } 448 448 449 449 if (empty($this->category_base)) 450 $this->category_base = 'category'; 451 $this->category_structure = trailingslashit( $this->front . $this->category_base ); 450 $this->category_structure = trailingslashit( $this->front . 'category' ); 451 else 452 $this->category_structure = trailingslashit( '/' . $this->root . $this->category_base ); 452 453 453 454 $this->category_structure .= '%category%'; 454 455 … … 466 467 } 467 468 468 469 if (empty($this->tag_base)) 469 $this->tag_base = 'tag'; 470 $this->tag_structure = trailingslashit( $this->front . $this->tag_base ); 470 $this->tag_structure = trailingslashit( $this->front . 'tag' ); 471 else 472 $this->tag_structure = trailingslashit( '/' . $this->root . $this->tag_base ); 471 473 472 474 $this->tag_structure .= '%tag%'; 473 475
