Plugin Directory

Changeset 3431480


Ignore:
Timestamp:
01/03/2026 07:43:07 AM (6 weeks ago)
Author:
eteubert
Message:

Update to version 4.3.2 from GitHub

Location:
podlove-podcasting-plugin-for-wordpress
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • podlove-podcasting-plugin-for-wordpress/tags/4.3.2/lib/modules/contributors/contributors.php

    r3088907 r3431480  
    4141        add_action('wp_ajax_podlove-contributors-delete-podcast', [$this, 'delete_podcast_contributor']);
    4242        add_action('wp_ajax_podlove-contributors-delete-default', [$this, 'delete_default_contributor']);
    43         add_action('wp_ajax_podlove-contributors-delete-episode', [$this, 'delete_episode_contributor']);
    4443
    4544        add_action('podlove_feed_settings_bottom', [$this, 'feed_settings']);
     
    713712    public function delete_podcast_contributor()
    714713    {
     714        if (!current_user_can('podlove_manage_contributors')) {
     715            return;
     716        }
     717       
     718        if (!\wp_verify_nonce($_REQUEST['nonce'], 'podlove_ajax')) {
     719            http_response_code(401);
     720            exit;
     721        }
     722     
    715723        $object_id = (int) $_REQUEST['object_id'];
    716724
     
    726734    public function delete_default_contributor()
    727735    {
     736        if (!current_user_can('podlove_manage_contributors')) {
     737          return;
     738        }
     739       
     740        if (!\wp_verify_nonce($_REQUEST['nonce'], 'podlove_ajax')) {
     741            http_response_code(401);
     742            exit;
     743        }
     744       
    728745        $object_id = (int) $_REQUEST['object_id'];
    729746
     
    733750
    734751        if ($service = DefaultContribution::find_by_id($object_id)) {
    735             $service->delete();
    736         }
    737     }
    738 
    739     public function delete_episode_contributor()
    740     {
    741         $object_id = (int) $_REQUEST['object_id'];
    742 
    743         if (!$object_id) {
    744             return;
    745         }
    746 
    747         if ($service = EpisodeContribution::find_by_id($object_id)) {
    748752            $service->delete();
    749753        }
  • podlove-podcasting-plugin-for-wordpress/tags/4.3.2/lib/modules/contributors/views/form_table.php

    r3088907 r3431480  
    193193                                ajax_action += "default";
    194194                                break;
    195                             case "episode_contributor":
    196                                 ajax_action += "episode";
    197                                 break;
    198195                            default:
    199196                                console.log("Error when deleting social/donation entry: unknows form type '" + form_base_name + "'");
     
    202199                        var data = {
    203200                            action: ajax_action,
    204                             object_id: object_id
     201                            object_id: object_id,
     202                            nonce: podlove_admin_global.nonce_ajax
    205203                        };
    206204
  • podlove-podcasting-plugin-for-wordpress/tags/4.3.2/podlove.php

    r3419383 r3431480  
    33 * Plugin Name: Podlove Podcast Publisher
    44 * Plugin URI:  https://podlove.org/podlove-podcast-publisher/
    5  * Version: 4.3.1
     5 * Version: 4.3.2
    66 * Requires at least: 4.9.6
    77 * Requires PHP: 8.0
  • podlove-podcasting-plugin-for-wordpress/tags/4.3.2/readme.txt

    r3419383 r3431480  
    44Tags: podlove, podcast, publishing, rss, audio
    55Tested up to: 6.9.0
    6 Stable tag: 4.3.1
     6Stable tag: 4.3.2
    77Requires at least: 4.9.6
    88Requires PHP: 8.0
     
    119119
    120120== Changelog ==
     121
     122= 4.3.2 =
     123
     124* improve permission verification when deleting default and podcast contributions
    121125
    122126= 4.3.1 =
  • podlove-podcasting-plugin-for-wordpress/tags/4.3.2/vendor/composer/installed.php

    r3419383 r3431480  
    22    'root' => array(
    33        'name' => 'podlove/podcast-publisher',
    4         'pretty_version' => '4.3.1',
    5         'version' => '4.3.1.0',
    6         'reference' => '06d685a1ecec20e3f48b02c56317d50405829243',
     4        'pretty_version' => '4.3.2',
     5        'version' => '4.3.2.0',
     6        'reference' => '33e9cba1955e4e1f85e02ef280191a69a1813e50',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    144144        ),
    145145        'podlove/podcast-publisher' => array(
    146             'pretty_version' => '4.3.1',
    147             'version' => '4.3.1.0',
    148             'reference' => '06d685a1ecec20e3f48b02c56317d50405829243',
     146            'pretty_version' => '4.3.2',
     147            'version' => '4.3.2.0',
     148            'reference' => '33e9cba1955e4e1f85e02ef280191a69a1813e50',
    149149            'type' => 'library',
    150150            'install_path' => __DIR__ . '/../../',
  • podlove-podcasting-plugin-for-wordpress/trunk/lib/modules/contributors/contributors.php

    r3088907 r3431480  
    4141        add_action('wp_ajax_podlove-contributors-delete-podcast', [$this, 'delete_podcast_contributor']);
    4242        add_action('wp_ajax_podlove-contributors-delete-default', [$this, 'delete_default_contributor']);
    43         add_action('wp_ajax_podlove-contributors-delete-episode', [$this, 'delete_episode_contributor']);
    4443
    4544        add_action('podlove_feed_settings_bottom', [$this, 'feed_settings']);
     
    713712    public function delete_podcast_contributor()
    714713    {
     714        if (!current_user_can('podlove_manage_contributors')) {
     715            return;
     716        }
     717       
     718        if (!\wp_verify_nonce($_REQUEST['nonce'], 'podlove_ajax')) {
     719            http_response_code(401);
     720            exit;
     721        }
     722     
    715723        $object_id = (int) $_REQUEST['object_id'];
    716724
     
    726734    public function delete_default_contributor()
    727735    {
     736        if (!current_user_can('podlove_manage_contributors')) {
     737          return;
     738        }
     739       
     740        if (!\wp_verify_nonce($_REQUEST['nonce'], 'podlove_ajax')) {
     741            http_response_code(401);
     742            exit;
     743        }
     744       
    728745        $object_id = (int) $_REQUEST['object_id'];
    729746
     
    733750
    734751        if ($service = DefaultContribution::find_by_id($object_id)) {
    735             $service->delete();
    736         }
    737     }
    738 
    739     public function delete_episode_contributor()
    740     {
    741         $object_id = (int) $_REQUEST['object_id'];
    742 
    743         if (!$object_id) {
    744             return;
    745         }
    746 
    747         if ($service = EpisodeContribution::find_by_id($object_id)) {
    748752            $service->delete();
    749753        }
  • podlove-podcasting-plugin-for-wordpress/trunk/lib/modules/contributors/views/form_table.php

    r3088907 r3431480  
    193193                                ajax_action += "default";
    194194                                break;
    195                             case "episode_contributor":
    196                                 ajax_action += "episode";
    197                                 break;
    198195                            default:
    199196                                console.log("Error when deleting social/donation entry: unknows form type '" + form_base_name + "'");
     
    202199                        var data = {
    203200                            action: ajax_action,
    204                             object_id: object_id
     201                            object_id: object_id,
     202                            nonce: podlove_admin_global.nonce_ajax
    205203                        };
    206204
  • podlove-podcasting-plugin-for-wordpress/trunk/podlove.php

    r3419383 r3431480  
    33 * Plugin Name: Podlove Podcast Publisher
    44 * Plugin URI:  https://podlove.org/podlove-podcast-publisher/
    5  * Version: 4.3.1
     5 * Version: 4.3.2
    66 * Requires at least: 4.9.6
    77 * Requires PHP: 8.0
  • podlove-podcasting-plugin-for-wordpress/trunk/readme.txt

    r3419383 r3431480  
    44Tags: podlove, podcast, publishing, rss, audio
    55Tested up to: 6.9.0
    6 Stable tag: 4.3.1
     6Stable tag: 4.3.2
    77Requires at least: 4.9.6
    88Requires PHP: 8.0
     
    119119
    120120== Changelog ==
     121
     122= 4.3.2 =
     123
     124* improve permission verification when deleting default and podcast contributions
    121125
    122126= 4.3.1 =
  • podlove-podcasting-plugin-for-wordpress/trunk/vendor/composer/installed.php

    r3419383 r3431480  
    22    'root' => array(
    33        'name' => 'podlove/podcast-publisher',
    4         'pretty_version' => '4.3.1',
    5         'version' => '4.3.1.0',
    6         'reference' => '06d685a1ecec20e3f48b02c56317d50405829243',
     4        'pretty_version' => '4.3.2',
     5        'version' => '4.3.2.0',
     6        'reference' => '33e9cba1955e4e1f85e02ef280191a69a1813e50',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    144144        ),
    145145        'podlove/podcast-publisher' => array(
    146             'pretty_version' => '4.3.1',
    147             'version' => '4.3.1.0',
    148             'reference' => '06d685a1ecec20e3f48b02c56317d50405829243',
     146            'pretty_version' => '4.3.2',
     147            'version' => '4.3.2.0',
     148            'reference' => '33e9cba1955e4e1f85e02ef280191a69a1813e50',
    149149            'type' => 'library',
    150150            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.