Skip to content

Commit

Permalink
Merge pull request #61 from WP-for-Church/dev
Browse files Browse the repository at this point in the history
Release 2.4.8
  • Loading branch information
Nikola Miljković authored Aug 16, 2017
2 parents 655ecb1 + 856a1c9 commit d27cb59
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
12 changes: 7 additions & 5 deletions includes/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ function wpfc_init() {
}

register_setting( 'wpfc_plugin_options', 'wpfc_options', $args );
wp_enqueue_media();

if ( isset( $_GET['page'] ) && strpos( $_GET['page'], 'options.php' ) !== false ) {
wp_enqueue_media();
}
}

// Add menu page
Expand Down Expand Up @@ -82,8 +85,6 @@ function wpfc_sermon_manager_settings_page_link( $link_text = '' ) {
// Add scripts
function wpfc_sermon_admin_styles() {
wp_enqueue_script( 'media-upload' );
wp_enqueue_script( 'thickbox' );
wp_enqueue_style( 'thickbox' );
wp_enqueue_script( 'jquery-ui-tabs' );
wp_enqueue_script( 'jquery-ui-sortable' );
wp_enqueue_script( 'jquery-ui-draggable' );
Expand Down Expand Up @@ -119,7 +120,7 @@ function wpfc_sermon_options_render_form() {
text: 'Use this image'
},
library: {
type: [ 'image' ]
type: ['image']
},
multiple: false
});
Expand Down Expand Up @@ -588,7 +589,8 @@ function wpfc_sermon_options_render_form() {
<th scope="row"><?php _e( 'Cover Image', 'sermon-manager' ); ?></th>
<td class="option">
<input id="wpfc_options[itunes_cover_image]" size="45" type="text"
name="wpfc_options[itunes_cover_image]" class="itunes_cover_image_field"
name="wpfc_options[itunes_cover_image]"
class="itunes_cover_image_field"
value="<?php esc_attr_e( $itunes_cover_image ); ?>"/>
<input id="upload_cover_image" type="button" class="button"
value="Upload Image"/>
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.4.7
Stable tag: 2.4.8

Add audio and video sermons, manage speakers, series, and more to your church website.

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

== Changelog ==
= 2.4.8 =
* Fix featured image not working

= 2.4.7 =
* Fix PHP notice in the footer
* Fix slashes in RSS feed
Expand Down
2 changes: 1 addition & 1 deletion 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.4.7
Version: 2.4.8
Author: WP for Church
Contributors: wpforchurch, jprummer, jamzth
Author URI: http://www.wpforchurch.com/
Expand Down

0 comments on commit d27cb59

Please sign in to comment.