Skip to content

Commit

Permalink
Merge pull request #697 from CastosHQ/release/2.6.6
Browse files Browse the repository at this point in the history
Release/2.6.6
  • Loading branch information
zahardev authored May 11, 2021
2 parents f5d3a19 + 3e200f1 commit a68921c
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 6 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seriously-simple-podcasting",
"version": "2.6.5",
"version": "2.6.6",
"main": "build/index.js",
"author": "CastosHQ",
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions php/classes/handlers/class-options-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,14 @@ public function get_subscribe_urls( $episode_id, $context ) {
if ( is_array( $terms ) && isset( $terms[0] ) && false !== get_option( 'ss_podcasting_' . $option_key . '_url_' . $terms[0]->term_id ) ) {
$url = get_option( 'ss_podcasting_' . $option_key . '_url_' . $terms[0]->term_id, '' );
}
$icon = str_replace( '_', '-', $option_key );

$subscribe_array[ $option_key ] = array(
'key' => $option_key,
'url' => $url,
'label' => $this->available_subscribe_options[ $option_key ],
'class' => $option_key,
'icon' => $icon . '.png',
);
}

Expand Down
4 changes: 4 additions & 0 deletions php/classes/handlers/class-settings-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ public function settings_fields() {
'label' => __( 'Spirituality', 'seriously-simple-podcasting' ),
'group' => __( 'Religion & Spirituality', 'seriously-simple-podcasting' ),
),
'Religion' => array(
'label' => __( 'Religion', 'seriously-simple-podcasting' ),
'group' => __( 'Religion & Spirituality', 'seriously-simple-podcasting' ),
),
'Astronomy' => array(
'label' => __( 'Astronomy', 'seriously-simple-podcasting' ),
'group' => __( 'Science', 'seriously-simple-podcasting' ),
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: podcast, audio, video, vodcast, rss, mp3, mp4, feed, itunes, podcasting, m
Requires at least: 4.4
Tested up to: 5.7
Requires PHP: 5.6
Stable tag: 2.6.5
Stable tag: 2.6.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 2.6.6 =
* 2021-05-11
* UPDATE SUMMARY: Fixed the Elementor icons missing issue, minor improvements
* [FIX] Elementor subscribe icons missing fixes
* [UPDATE] Do not request player file on page load
* [UPDATE] Added religion subcategory

= 2.6.5 =
* 2021-05-07
* UPDATE SUMMARY: Fix the feed error for the case if the author name has punctuation.
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: 2.6.5
* Version: 2.6.6
* Plugin URI: https://castos.com/seriously-simple-podcasting/?utm_medium=sspodcasting&utm_source=wordpress&utm_campaign=wpplugin_08_2019
* Description: Podcasting the way it's meant to be. No mess, no fuss - just you and your content taking over the world.
* Author: Castos
Expand Down Expand Up @@ -33,7 +33,7 @@
use SeriouslySimplePodcasting\Controllers\Players_Controller;
use SeriouslySimplePodcasting\Integrations\Elementor\Elementor_Widgets;

define( 'SSP_VERSION', '2.6.5' );
define( 'SSP_VERSION', '2.6.6' );
define( 'SSP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'SSP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );

Expand Down
2 changes: 1 addition & 1 deletion src/components/CastosPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class CastosPlayer extends Component {
<img src={loaderSVG} className={loaderClass}/>
</div>
<div>
<audio className={audioElementClass}>
<audio preload="none" className={audioElementClass}>
<source loop preload="none" src={episodeFileUrl}/>
</audio>
<div className={progressClass} title="Seek">
Expand Down
2 changes: 1 addition & 1 deletion templates/players/castos-player.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<img src="<?php echo SSP_PLUGIN_URL ?>assets/css/images/player/images/icon-loader.svg" class="loader loader-<?php echo $episode_id ?> hide"/>
</div>
<div>
<audio class="clip clip-<?php echo $episode_id?>">
<audio preload="none" class="clip clip-<?php echo $episode_id?>">
<source loop preload="none" src="<?php echo $audio_file ?>">
</audio>
<div class="progress progress-<?php echo $episode_id ?>" title="Seek">
Expand Down

0 comments on commit a68921c

Please sign in to comment.