WordPress.org

Plugin Directory

Changeset 506455


Ignore:
Timestamp:
02/17/12 12:15:58 (2 years ago)
Author:
ntm
Message:

8.8.10.14 beta 4

Location:
podpress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • podpress/trunk/podpress.php

    r499486 r506455  
    11<?php 
    2 define('PODPRESS_VERSION', '8.8.10.14 beta 3'); 
     2define('PODPRESS_VERSION', '8.8.10.14 beta 4'); 
    33/* 
    44Info for WordPress: 
    55============================================================================== 
    66Plugin Name: podPress 
    7 Version: 8.8.10.14 beta 3 
     7Version: 8.8.10.14 beta 4 
    88Plugin URI: http://www.mightyseek.com/podpress/ 
    99Description: The podPress plugin gives you everything you need in one easy plugin to use WordPress for Podcasting. Set it up in <a href="admin.php?page=podpress/podpress_feed.php">'podPress'->Feed/iTunes Settings</a>. If this plugin works for you, send us a comment. 
     
    7777*/ 
    7878 
     79if ( ! function_exists( 'is_ssl' ) ) { 
     80    function is_ssl() { 
     81        if ( isset($_SERVER['HTTPS']) ) { 
     82            if ( 'on' == strtolower($_SERVER['HTTPS']) ) { 
     83                return true; 
     84            } 
     85            if ( '1' == $_SERVER['HTTPS'] ) { 
     86                return true; 
     87            } 
     88        } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { 
     89            return true; 
     90        } 
     91        return false; 
     92    } 
     93} 
     94 
     95if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) { 
     96    $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) ). '/wp-content'; 
     97} else { 
     98    $wp_content_url = get_option( 'siteurl' ). '/wp-content'; 
     99} 
     100 
     101add_filter('option_siteurl', 'podpress_siteurl_is_ssl'); 
     102function podpress_siteurl_is_ssl($siturl) { 
     103    if ( is_ssl() ) { 
     104        return str_replace( 'http://' , 'https://' , $siturl ); 
     105    } else { 
     106        return $siturl; 
     107    } 
     108} 
     109 
    79110// Pre-2.6 compatibility  
    80 if ( ! defined( 'WP_CONTENT_URL' ) ) { define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' ); } 
     111if ( ! defined( 'WP_CONTENT_URL' ) ) { define( 'WP_CONTENT_URL', $wp_content_url ); } 
    81112if ( ! defined( 'WP_CONTENT_DIR' ) ) { define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); } 
    82113if ( ! defined( 'WP_PLUGIN_URL' ) ) { define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' ); } 
     
    761792        echo 'var podPressDefaultPreviewImage = podPressBackendURL+"images/vpreview_center.png";'."\n"; 
    762793    } else { 
    763         echo 'var podPressDefaultPreviewImage = "'.$podPress->settings['videoPreviewImage'].'";'."\n"; 
     794        echo 'var podPressDefaultPreviewImage = "'.podpress_siteurl_is_ssl($podPress->settings['videoPreviewImage']).'";'."\n"; 
    764795    } 
    765796    echo $mp3playerswffile; 
  • podpress/trunk/podpress_feed_functions.php

    r442328 r506455  
    5656 
    5757    function podPress_rss2_ns() { 
    58         echo "\t".'xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"'."\n"; 
     58        echo 'xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"'."\n"; 
    5959        echo "\t".'xmlns:media="http://search.yahoo.com/mrss/"'."\n"; 
    6060        //echo '"\t".xmlns:dtvmedia="http://participatoryculture.org/RSSModules/dtv/1.0"'."\n"; 
     
    479479        } 
    480480         
    481         echo "\t".'<!-- podcast_generator="podPress/'.PODPRESS_VERSION.'" -->'."\n"; 
     481        if (isset($podPress->settings['enableVersionInFeeds']) AND TRUE === $podPress->settings['enableVersionInFeeds'] ) { 
     482            if (isset($podPress->settings['disableVersionNumber']) AND TRUE === $podPress->settings['disableVersionNumber'] ) { 
     483                echo '  <!-- podcast_generator="podPress" -->'."\n"; 
     484            } else { 
     485                echo '  <!-- podcast_generator="podPress/'.PODPRESS_VERSION.'" -->'."\n"; 
     486            } 
     487        } 
    482488         
    483489        echo "\t".'<logo>'.podPress_feedSafeContent($data['rss_image']).'</logo>'."\n"; 
  • podpress/trunk/readme.txt

    r498837 r506455  
    44Donate link: http://www.manvswebapp.com/podpress/podpress-donors 
    55Requires at least: 2.2 
    6 Tested up to: 3.3.1 
    7 Stable Tag: 8.8.10.13 
     6Tested up to: 3.2.1 
     7Stable Tag: 8.8.10.12 
    88 
    99A plugin for Podcasters using WordPress. 
     
    4040 
    4141This plugin is currently maintained by [Tim Berger (ntm)](http://profiles.wordpress.org/ntm/).<br />Latest news and announcements regarding podPress on Twitter: [podpress2010](http://twitter.com/podPress2010)<br /> 
    42 **Note: Until May (2012) I have not much time to work on podPress. That is why I will postpone new features and some bug fixes (like the one for [this problem](http://wordpress.org/support/topic/plugin-podpress-duplicate-download-statistic-rows-in-mysql-database#post-2450834)).** 
     42**Note: Until May (2012) I have not much time to work on podPress. That is why I will postpone new features and some bug fixes (like the one for [this problem](http://wordpress.org/support/topic/podpress-unique-downloads-statistic)).** 
    4343 
    4444If somebody else is also interested in maintaining podPress while the main developers are out, please send an email to admin [at] laptoptips.ca. 
     
    5151 
    5252Please, read the [Upgrade instructions](http://wordpress.org/extend/plugins/podpress/other_notes/). 
     53 
     54= v8.8.10.14 = 
     55* bug fix: now, the ATOM feeds will include the podPress version number according to your settings on the general settings page of podPress (like it has worked in the RSS feeds) 
    5356 
    5457= v8.8.10.13 = 
Note: See TracChangeset for help on using the changeset viewer.