Skip to content

Commit

Permalink
Release 2.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Miljković committed Oct 9, 2018
2 parents e28292a + 0378332 commit 2270c5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Sermon Manager #
# Sermon Manager #
Contributors: wpforchurch, nikolam
Donate link: http://wpforchurch.com/
Tags: church, sermon, sermons, preaching, podcasting, manage, managing, podcasts, itunes
Requires at least: 4.7.0
Tested up to: 4.9
Requires PHP: 5.3
Stable tag: 2.15.3
Stable tag: 2.15.4
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -103,6 +103,9 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man
2. Sermon Files

## Changelog ##
### 2.15.4 ###
* Fix: Output Buffering detected as disabled when set to 0

### 2.15.3 ###
* New: Add option to disable "views" count for editors and admins
* New: Add option to enable sermon series image fallback in the feed
Expand Down
6 changes: 3 additions & 3 deletions sermons.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.15.3
* Version: 2.15.4
* Author: WP for Church
* Author URI: https://www.wpforchurch.com/
* Requires at least: 4.5
Expand Down Expand Up @@ -72,7 +72,7 @@ public function __construct() {
define( 'SM_VERSION', preg_match( '/^.*Version: (.*)$/m', file_get_contents( __FILE__ ), $version ) ? trim( $version[1] ) : 'N/A' );

// Easy way to get if output buffering is enabled.
define( 'SM_OB_ENABLED', 0 !== intval( ini_get( 'output_buffering' ) ) );
define( 'SM_OB_ENABLED', '' !== ini_get( 'output_buffering' ) );

do_action( 'sm_before_plugin_load' );

Expand Down Expand Up @@ -346,7 +346,7 @@ public function __construct() {
<p>
<?php
// translators: %s: The plugin name. Effectively "<strong>Sermon Manager</strong>".
echo wp_sprintf( __( '%s requires output buffering to be turned on to display content. It is currently off. Please enable it or contact your hosting provider for help. Most of frontend functionality will be disabled until output buffering is enabled.', 'sermon-manager-for-wordpress' ), '<strong>' . __( 'Sermon Manager', 'sermon-manager-for-wordpress' ) . '</strong>' );
echo wp_sprintf( __( '%s requires output buffering to be turned on to display content. It is currently off. Please enable it or contact your hosting provider for help. Most of plugin functionality will be disabled until output buffering is enabled.', 'sermon-manager-for-wordpress' ), '<strong>' . __( 'Sermon Manager', 'sermon-manager-for-wordpress' ) . '</strong>' );
?>
</p>
</div>
Expand Down

0 comments on commit 2270c5f

Please sign in to comment.