From f1245a91898e7d2158dadf62a729424cc13188a0 Mon Sep 17 00:00:00 2001 From: Nikola Date: Thu, 28 Sep 2017 22:06:26 +0200 Subject: [PATCH] Fix 404 and update versions --- includes/class-sm-post-types.php | 2 +- readme.txt | 5 ++++- sermons.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/includes/class-sm-post-types.php b/includes/class-sm-post-types.php index 5ad83a9..b8bf419 100644 --- a/includes/class-sm-post-types.php +++ b/includes/class-sm-post-types.php @@ -11,7 +11,7 @@ class SM_Post_Types { * Hooks into WordPress filtering functions */ public static function init() { - add_action( 'init', array( __CLASS__, 'register_post_types' ), 4 ); + add_action( 'init', array( __CLASS__, 'register_post_types' ), 6 ); add_action( 'init', array( __CLASS__, 'register_taxonomies' ), 5 ); add_action( 'init', array( __CLASS__, 'support_jetpack_omnisearch' ) ); add_filter( 'rest_api_allowed_post_types', array( __CLASS__, 'rest_api_allowed_post_types' ) ); diff --git a/readme.txt b/readme.txt index 4b787bc..39b0ae5 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: church, sermon, sermons, preaching, podcasting, manage, managing, podcasts Requires at least: 4.5 Tested up to: 4.8.2 Requires PHP: 5.6 -Stable tag: 2.7.1 +Stable tag: 2.7.2 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -93,6 +93,9 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man 2. Sermon Files ## Changelog ## +### 2.7.2 ### +* Fix 404 on series, preacher, topic, book and service type pages + ### 2.7.1 ### * Fix shortcode ordering/no sermons * Fix crash on servers that do not have MBString extension diff --git a/sermons.php b/sermons.php index 939e346..ab838be 100755 --- a/sermons.php +++ b/sermons.php @@ -3,7 +3,7 @@ * Plugin Name: Sermon Manager for WordPress * Plugin URI: https://www.wpforchurch.com/products/sermon-manager-for-wordpress/ * Description: Add audio and video sermons, manage speakers, series, and more. - * Version: 2.7.1 + * Version: 2.7.2 * Author: WP for Church * Author URI: https://www.wpforchurch.com/ * Requires at least: 4.5