Plugin Directory

Changeset 3490612


Ignore:
Timestamp:
03/25/2026 07:32:06 AM (10 days ago)
Author:
systemsrtk
Message:

v1.0.20

Location:
auto-podcast-import
Files:
30 added
3 edited

Legend:

Unmodified
Added
Removed
  • auto-podcast-import/trunk/auto-podcast-import.php

    r3490605 r3490612  
    44 * Plugin URI:        https://wordpress.org/plugins/auto-podcast-import/
    55 * Description:       Import your podcast feed, automatically from any supported podcast provider.
    6  * Version:           1.0.19
     6 * Version:           1.0.20
    77 * Requires at least: 6.1.0
    88 * Requires PHP:      7.4
     
    1616defined( 'ABSPATH' ) || exit;
    1717 
    18 define('AUPI_VER','1.0.19');
     18define('AUPI_VER','1.0.20');
    1919define('AUPI_SLUG','aupi');
    2020
  • auto-podcast-import/trunk/inc/feed.php

    r3490605 r3490612  
    4343    public  function parseXml($url){
    4444
    45         if(strpos($url,'?') !== false){
    46             $url = $url.'&nocache='.time();
    47         }else{
    48             $url = $url.'?nocache='.time();
    49         }
     45        // Ensure we handle the nocache param cleanly
     46        $url = add_query_arg( 'nocache', time(), $this->feed['feed_url'] );
     47
     48   
    5049
    5150        $args = array(
     
    320319                    $args['post_title']= $feed_title;
    321320                    $args['post_content']=$postContent;
    322                     $args['post_date'] = !empty($x['pubDate']) ? gmdate('Y-m-d H:i:s', strtotime(wp_kses_post($x['pubDate']))) : gmdate('Y-m-d H:i:s');
    323 
     321
     322                    $args['post_date'] = $date_local;
     323                    $args['post_date_gmt'] = $date_gmt;
     324                   
    324325                    if(empty($args['post_content']) && !empty($x['description'])){
    325326                        $args['post_content']=wp_kses_post($x['description']);
  • auto-podcast-import/trunk/readme.txt

    r3490605 r3490612  
    77Requires PHP: 7.4
    88Tested up to: 6.9
    9 Stable tag: 1.0.19
     9Stable tag: 1.0.20
    1010Import your podcast feed, automatically from any supported podcast provider.
    1111
     
    7979
    8080== Changelog ==
     81= 1.0.20 =
     82* Ensure we handle the nocache param cleanly
     83
    8184= 1.0.19 =
    8285* Corrected timezone synchronization
Note: See TracChangeset for help on using the changeset viewer.