Skip to content

Commit

Permalink
Merge pull request #200 from TheCraigHewitt/release/1.17.1
Browse files Browse the repository at this point in the history
Release/1.17.1
  • Loading branch information
jonathanbossenger authored Aug 7, 2017
2 parents 5a54399 + 33ab5ae commit bc86c48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions includes/class-ssp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ public function enqueue_admin_styles( $hook ) {
*/
if ( 'post-new.php' === $hook || 'post.php' === $hook ) {
global $post;
if ( 'podcast' === $post->post_type ) {
if ( in_array( $post->post_type, ssp_post_types( true ) ) ) {
wp_register_style( 'jquery-peekabar', esc_url( $this->assets_url . 'css/jquery.peekabar.css' ), array(), $this->version );
wp_enqueue_style( 'jquery-peekabar' );
}
Expand All @@ -928,11 +928,11 @@ public function enqueue_admin_scripts( $hook ) {
wp_enqueue_script( 'ssp-settings' );

/**
* Only load the upload scripts when adding/editing podcasts
* Only load the upload scripts when adding/editing posts/podcasts
*/
if ( 'post-new.php' === $hook || 'post.php' === $hook ) {
global $post;
if ( 'podcast' === $post->post_type ) {
if ( in_array( $post->post_type, ssp_post_types( true ) ) ) {
wp_enqueue_script('plupload-all');
$upload_credentials = ssp_setup_upload_credentials();
wp_register_script( 'ssp-fileupload', esc_url( $this->assets_url . 'js/fileupload' . $this->script_suffix . '.js' ), array(), $this->version );
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: PodcastMotor, psykro, simondowdles, hlashbrooke, whyisjake
Tags: podcast, audio, video, vodcast, rss, mp3, mp4, feed, itunes, podcasting, media, stitcher, google play, playlist
Requires at least: 4.4
Tested up to: 4.8
Stable tag: 1.17.0
Stable tag: 1.17.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -95,6 +95,10 @@ You can find complete user and developer documentation (along with the FAQs) on

== Changelog ==

= 1.17.1 =
* 2017-08-07
* [FIX] Fixed a bug causing problems uploading podcasts on regular Posts

= 1.17.0 =
* 2017-07-31
* UPDATE SUMMARY: Improved file uploading for [Seriously Simple Hosting](http://app.seriouslysimplepodcasting.com/)
Expand Down
4 changes: 2 additions & 2 deletions seriously-simple-podcasting.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Seriously Simple Podcasting
* Version: 1.17.0
* Version: 1.17.1
* Plugin URI: https://www.seriouslysimplepodcasting.com/
* Description: Podcasting the way it's meant to be. No mess, no fuss - just you and your content taking over the world.
* Author: PodcastMotor
Expand Down Expand Up @@ -40,7 +40,7 @@

define( 'SSP_DEBUG', false );

define( 'SSP_VERSION', '1.17.0' );
define( 'SSP_VERSION', '1.17.1' );
define( 'SSP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'SSP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );

Expand Down

0 comments on commit bc86c48

Please sign in to comment.