Skip to content

Commit

Permalink
Fixes an error with the old RSS URL feed, because of an ealier change…
Browse files Browse the repository at this point in the history
… with the registration of post types being changed to a lower priority
  • Loading branch information
jonathanbossenger committed Jul 22, 2019
1 parent 526ef3f commit d5379d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/classes/controllers/class-admin-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public function bootstrap() {
add_action( 'init', array( $this, 'register_post_type' ), 11 );

// Register podcast feed.
add_action( 'init', array( $this, 'add_feed' ), 1 );
add_action( 'init', array( $this, 'add_feed' ), 11 );

// Handle v1.x feed URL as well as feed URLs for default permalinks.
add_action( 'init', array( $this, 'redirect_old_feed' ) );
add_action( 'init', array( $this, 'redirect_old_feed' ), 11 );

// Setup custom permalink structures.
add_action( 'init', array( $this, 'setup_permastruct' ), 10 );
Expand Down

0 comments on commit d5379d6

Please sign in to comment.