Various Bug Fixes
-
If you are willing to to modify code of this plugin here are a few bug fixes that are valid for both 2.0.2 and 2.0.3
Making Shortcode output again themeable by the standard advice
Open “/includes/shortcodes.php” in Plugin Editor and go to line 261.
You will find<?php wpfc_sermon_excerpt(); ?>
Change it to<?php do_action( 'sermon_excerpt' ); ?>
Fix issue where podcast enclosures are sometimes duplicated
Open “/includes/podcast-functions.php” in Plugin Editor and got line 126.
Add thisfunction wpfc_podcast_delete_enclosure() { return ''; }
The go to line 136 and add this line after what’s there
add_filter( 'rss_enclosure', 'wpfc_podcast_delete_enclosure' );
Convert all https links to http in podcast feed. (Only http links pass validation.)
On line 48 of “/includes/podcast-functions.php”
Replace$audio = get_post_meta($post->ID, 'sermon_audio', 'true');
With$audio = str_ireplace('https://', 'https://', get_post_meta($post->ID, 'sermon_audio', 'true'));
On line 67 of “/includes/podcast-functions.php”
Replace$post_image = ( $post_image ) ? $post_image['0'] : null;
With$post_image = str_ireplace('https://', 'https://', ( $post_image ) ? $post_image['0'] : null);
- The topic ‘Various Bug Fixes’ is closed to new replies.