Permalink
Browse files

Flush rewrite rules after legacy upgrades.

Another flush to make sure permalinks work properly.
  • Loading branch information...
1 parent 1329f3b commit c8a9cac82d1d1fd4a23abcc9f79d4b3e469153b4 Michael Sisk committed Jan 26, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 -/php/legacy.php
View
2 -/php/legacy.php
@@ -103,6 +103,8 @@ public function admin_init() {
update_option( 'webcomic_options', self::$config );
+ flush_rewrite_rules();
+
wp_redirect( admin_url() );
die;

0 comments on commit c8a9cac

Please sign in to comment.