Changeset 3431480
- Timestamp:
- 01/03/2026 07:43:07 AM (6 weeks ago)
- Location:
- podlove-podcasting-plugin-for-wordpress
- Files:
-
- 10 edited
- 1 copied
-
tags/4.3.2 (copied) (copied from podlove-podcasting-plugin-for-wordpress/trunk)
-
tags/4.3.2/lib/modules/contributors/contributors.php (modified) (4 diffs)
-
tags/4.3.2/lib/modules/contributors/views/form_table.php (modified) (2 diffs)
-
tags/4.3.2/podlove.php (modified) (1 diff)
-
tags/4.3.2/readme.txt (modified) (2 diffs)
-
tags/4.3.2/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/lib/modules/contributors/contributors.php (modified) (4 diffs)
-
trunk/lib/modules/contributors/views/form_table.php (modified) (2 diffs)
-
trunk/podlove.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
podlove-podcasting-plugin-for-wordpress/tags/4.3.2/lib/modules/contributors/contributors.php
r3088907 r3431480 41 41 add_action('wp_ajax_podlove-contributors-delete-podcast', [$this, 'delete_podcast_contributor']); 42 42 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']);44 43 45 44 add_action('podlove_feed_settings_bottom', [$this, 'feed_settings']); … … 713 712 public function delete_podcast_contributor() 714 713 { 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 715 723 $object_id = (int) $_REQUEST['object_id']; 716 724 … … 726 734 public function delete_default_contributor() 727 735 { 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 728 745 $object_id = (int) $_REQUEST['object_id']; 729 746 … … 733 750 734 751 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)) {748 752 $service->delete(); 749 753 } -
podlove-podcasting-plugin-for-wordpress/tags/4.3.2/lib/modules/contributors/views/form_table.php
r3088907 r3431480 193 193 ajax_action += "default"; 194 194 break; 195 case "episode_contributor":196 ajax_action += "episode";197 break;198 195 default: 199 196 console.log("Error when deleting social/donation entry: unknows form type '" + form_base_name + "'"); … … 202 199 var data = { 203 200 action: ajax_action, 204 object_id: object_id 201 object_id: object_id, 202 nonce: podlove_admin_global.nonce_ajax 205 203 }; 206 204 -
podlove-podcasting-plugin-for-wordpress/tags/4.3.2/podlove.php
r3419383 r3431480 3 3 * Plugin Name: Podlove Podcast Publisher 4 4 * Plugin URI: https://podlove.org/podlove-podcast-publisher/ 5 * Version: 4.3. 15 * Version: 4.3.2 6 6 * Requires at least: 4.9.6 7 7 * Requires PHP: 8.0 -
podlove-podcasting-plugin-for-wordpress/tags/4.3.2/readme.txt
r3419383 r3431480 4 4 Tags: podlove, podcast, publishing, rss, audio 5 5 Tested up to: 6.9.0 6 Stable tag: 4.3. 16 Stable tag: 4.3.2 7 7 Requires at least: 4.9.6 8 8 Requires PHP: 8.0 … … 119 119 120 120 == Changelog == 121 122 = 4.3.2 = 123 124 * improve permission verification when deleting default and podcast contributions 121 125 122 126 = 4.3.1 = -
podlove-podcasting-plugin-for-wordpress/tags/4.3.2/vendor/composer/installed.php
r3419383 r3431480 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 144 144 ), 145 145 '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', 149 149 'type' => 'library', 150 150 'install_path' => __DIR__ . '/../../', -
podlove-podcasting-plugin-for-wordpress/trunk/lib/modules/contributors/contributors.php
r3088907 r3431480 41 41 add_action('wp_ajax_podlove-contributors-delete-podcast', [$this, 'delete_podcast_contributor']); 42 42 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']);44 43 45 44 add_action('podlove_feed_settings_bottom', [$this, 'feed_settings']); … … 713 712 public function delete_podcast_contributor() 714 713 { 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 715 723 $object_id = (int) $_REQUEST['object_id']; 716 724 … … 726 734 public function delete_default_contributor() 727 735 { 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 728 745 $object_id = (int) $_REQUEST['object_id']; 729 746 … … 733 750 734 751 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)) {748 752 $service->delete(); 749 753 } -
podlove-podcasting-plugin-for-wordpress/trunk/lib/modules/contributors/views/form_table.php
r3088907 r3431480 193 193 ajax_action += "default"; 194 194 break; 195 case "episode_contributor":196 ajax_action += "episode";197 break;198 195 default: 199 196 console.log("Error when deleting social/donation entry: unknows form type '" + form_base_name + "'"); … … 202 199 var data = { 203 200 action: ajax_action, 204 object_id: object_id 201 object_id: object_id, 202 nonce: podlove_admin_global.nonce_ajax 205 203 }; 206 204 -
podlove-podcasting-plugin-for-wordpress/trunk/podlove.php
r3419383 r3431480 3 3 * Plugin Name: Podlove Podcast Publisher 4 4 * Plugin URI: https://podlove.org/podlove-podcast-publisher/ 5 * Version: 4.3. 15 * Version: 4.3.2 6 6 * Requires at least: 4.9.6 7 7 * Requires PHP: 8.0 -
podlove-podcasting-plugin-for-wordpress/trunk/readme.txt
r3419383 r3431480 4 4 Tags: podlove, podcast, publishing, rss, audio 5 5 Tested up to: 6.9.0 6 Stable tag: 4.3. 16 Stable tag: 4.3.2 7 7 Requires at least: 4.9.6 8 8 Requires PHP: 8.0 … … 119 119 120 120 == Changelog == 121 122 = 4.3.2 = 123 124 * improve permission verification when deleting default and podcast contributions 121 125 122 126 = 4.3.1 = -
podlove-podcasting-plugin-for-wordpress/trunk/vendor/composer/installed.php
r3419383 r3431480 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 144 144 ), 145 145 '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', 149 149 'type' => 'library', 150 150 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.