16 | | set_category_base and set_tag_base, which are being used back in `wp-admin/options-permalink.php`: |
| 16 | |
| 17 | {{{ |
| 18 | public function set_category_base ( $category_base ) { |
| 19 | if ( $category_base != get_option( 'category_base' ) ) { |
| 20 | update_option( 'category_base', $category_base ); |
| 21 | $this->init(); |
| 22 | } |
| 23 | } |
| 24 | }}} |
| 25 | |
| 26 | |
| 27 | and |
| 28 | |
| 29 | |
| 30 | {{{ |
| 31 | public function set_tag_base( $tag_base ) { |
| 32 | if ( $tag_base != get_option( 'tag_base' ) ) { |
| 33 | update_option( 'tag_base', $tag_base ); |
| 34 | $this->init(); |
| 35 | } |
| 36 | } |
| 37 | }}} |
| 38 | |
| 39 | |
| 40 | which are being called back in `wp-admin/options-permalink.php`: |