Skip to content

Commit

Permalink
Merge pull request #72 from WP-for-Church/dev
Browse files Browse the repository at this point in the history
Release 2.5.1
  • Loading branch information
Nikola Miljković authored Sep 6, 2017
2 parents 3ae5a06 + 3e7ad8c commit 797da79
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function render_wpfc_sorting( $args = array() ) {
continue;
}

if ( ! empty( get_query_var( $filter ) ) && $value = get_query_var( $filter ) ) {
if ( get_query_var( $filter ) !== '' && $value = get_query_var( $filter ) ) {
$hidden .= "<input type='hidden' name='$filter' value='$value'>" . PHP_EOL;
}
}
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://wpforchurch.com/
Tags: church, sermon, sermons, preaching, podcasting
Requires at least: 4.5
Tested up to: 4.8.1
Stable tag: 2.5.0
Stable tag: 2.5.1
Requires PHP: 5.6

Add audio and video sermons, manage speakers, series, and more to your church website.
Expand Down Expand Up @@ -84,6 +84,9 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man
2. Sermon Files

== Changelog ==
= 2.5.1 =
* Fix fatal error on older PHP versions

= 2.5.0 =
* Add media functions in the sermon editor
* Add options to filtering shortcode
Expand Down
4 changes: 2 additions & 2 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: http://www.wpforchurch.com/products/sermon-manager-for-wordpress/
Description: Add audio and video sermons, manage speakers, series, and more. Visit <a href="http://wpforchurch.com" target="_blank">Wordpress for Church</a> for tutorials and support.
Version: 2.5.0
Version: 2.5.1
Author: WP for Church
Contributors: wpforchurch, jprummer, jamzth
Author URI: http://www.wpforchurch.com/
Expand Down Expand Up @@ -366,7 +366,7 @@ public static function render_php_version_warning() {
?>
<div class="notice notice-wpfc-php notice-warning is-dismissible" data-notice="render_php_version_warning">
<p>
<?php echo sprintf( "You are running <strong>PHP %s</strong>, but Sermon Manager recommends <strong>PHP %s</strong>. If you encounter issues, update PHP to a recommended version and check if they are still there.", PHP_VERSION, '5.6.0' ); ?>
<?php echo sprintf( "You are running <strong>PHP %s</strong>, but Sermon Manager recommends at least <strong>PHP %s</strong>. If you encounter issues, update PHP to a recommended version and check if they are still there.", PHP_VERSION, '5.6.0' ); ?>
</p>
</div>
<?php
Expand Down

0 comments on commit 797da79

Please sign in to comment.