Changeset 3397273
- Timestamp:
- 11/17/2025 01:44:48 PM (4 months ago)
- Location:
- custom-feed-for-tiktok
- Files:
-
- 10 edited
- 1 copied
-
tags/1.1.8 (copied) (copied from custom-feed-for-tiktok/trunk)
-
tags/1.1.8/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php (modified) (2 diffs)
-
tags/1.1.8/app/Services/Widgets/Oxygen/TikTokWidget.php (modified) (1 diff)
-
tags/1.1.8/custom-feed-for-tiktok-boot.php (modified) (1 diff)
-
tags/1.1.8/custom-feed-for-tiktok.php (modified) (2 diffs)
-
tags/1.1.8/readme.txt (modified) (2 diffs)
-
trunk/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php (modified) (2 diffs)
-
trunk/app/Services/Widgets/Oxygen/TikTokWidget.php (modified) (1 diff)
-
trunk/custom-feed-for-tiktok-boot.php (modified) (1 diff)
-
trunk/custom-feed-for-tiktok.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-feed-for-tiktok/tags/1.1.8/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php
r3364029 r3397273 892 892 $formattedVideos = []; 893 893 foreach ($videos as $index => $video) { 894 $title = Arr::get($video, 'title', ''); 895 $video_description = Arr::get($video, 'video_description', ''); 896 if(method_exists(Helper::class, 'sanitizeText')){ 897 $title = Helper::sanitizeText($title); 898 $video_description = Helper::sanitizeText($video_description); 899 } 894 900 $user = Arr::get($video, 'from', []); 895 901 $formattedUser = $this->getFormattedUser($user); … … 904 910 905 911 $formattedVideos[$index]['created_at'] = Arr::get($video, 'create_time', ''); 906 $formattedVideos[$index]['title'] = Arr::get($video, 'title', '');907 $formattedVideos[$index]['text'] = Arr::get($video, 'video_description', '');912 $formattedVideos[$index]['title'] = $title; 913 $formattedVideos[$index]['text'] = $video_description; 908 914 } 909 915 -
custom-feed-for-tiktok/tags/1.1.8/app/Services/Widgets/Oxygen/TikTokWidget.php
r3253941 r3397273 455 455 function init() { 456 456 $this->El->useAJAXControls(); 457 $post_id = isset($_REQUEST['post_id']) ? intval( $_REQUEST['post_id'] ) : null; 458 459 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'oxygen-nonce-' . $post_id) ) { 460 return; 461 } 462 463 $ct_builder = isset($_GET['ct_builder']) && sanitize_text_field(wp_unslash($_GET['ct_builder'])); 464 465 if ($ct_builder) { 457 458 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Checking for Oxygen Builder context, not processing form data 459 if ( isset( $_GET['ct_builder'] ) ) { 466 460 wp_enqueue_style( 467 461 'wp_social_ninja_tt', -
custom-feed-for-tiktok/tags/1.1.8/custom-feed-for-tiktok-boot.php
r3364029 r3397273 6 6 !defined('WPINC') && die; 7 7 8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1. 7');8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.8'); 9 9 define('CUSTOM_FEED_FOR_TIKTOK', true); 10 10 define('CUSTOM_FEED_FOR_TIKTOK_URL', plugin_dir_url(__FILE__)); -
custom-feed-for-tiktok/tags/1.1.8/custom-feed-for-tiktok.php
r3364029 r3397273 4 4 Plugin URI: https://github.com/WPManageNinja/custom-feed-for-tiktok 5 5 Description: Create eye-catchy and responsive TikTok feed on your WordPress website. 6 Version: 1.1. 76 Version: 1.1.8 7 7 Author: Social Feed - WP Social Ninja Team 8 8 Author URI: https://wpsocialninja.com/platforms/tiktok-feed/ … … 27 27 }); 28 28 29 add_action('init', function () {30 load_plugin_textdomain('custom-feed-for-tiktok', false, basename(dirname(__FILE__)) . '/language');31 });32 29 33 -
custom-feed-for-tiktok/tags/1.1.8/readme.txt
r3364029 r3397273 2 2 Contributors: techjewel, devutpol, tanjimtc71, wpmanageninja 3 3 Tags: TikTok, tiktok feed, tiktok video, tiktok plugin, tiktok gallery 4 Requires at least: 5.64 Requires at least: 6.2 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.1. 77 Stable tag: 1.1.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 185 185 == Changelog == 186 186 187 1.1.8 188 - Removed redundant load_plugin_textdomain() initialization 189 - Improved sanitization and escaping for imported feed content 190 187 191 1.1.7 188 192 - Improved Error Handling: Added encryption error detection, with clear, user-friendly error messages (includes error code 999 for access token issues). -
custom-feed-for-tiktok/trunk/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php
r3364029 r3397273 892 892 $formattedVideos = []; 893 893 foreach ($videos as $index => $video) { 894 $title = Arr::get($video, 'title', ''); 895 $video_description = Arr::get($video, 'video_description', ''); 896 if(method_exists(Helper::class, 'sanitizeText')){ 897 $title = Helper::sanitizeText($title); 898 $video_description = Helper::sanitizeText($video_description); 899 } 894 900 $user = Arr::get($video, 'from', []); 895 901 $formattedUser = $this->getFormattedUser($user); … … 904 910 905 911 $formattedVideos[$index]['created_at'] = Arr::get($video, 'create_time', ''); 906 $formattedVideos[$index]['title'] = Arr::get($video, 'title', '');907 $formattedVideos[$index]['text'] = Arr::get($video, 'video_description', '');912 $formattedVideos[$index]['title'] = $title; 913 $formattedVideos[$index]['text'] = $video_description; 908 914 } 909 915 -
custom-feed-for-tiktok/trunk/app/Services/Widgets/Oxygen/TikTokWidget.php
r3253941 r3397273 455 455 function init() { 456 456 $this->El->useAJAXControls(); 457 $post_id = isset($_REQUEST['post_id']) ? intval( $_REQUEST['post_id'] ) : null; 458 459 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'oxygen-nonce-' . $post_id) ) { 460 return; 461 } 462 463 $ct_builder = isset($_GET['ct_builder']) && sanitize_text_field(wp_unslash($_GET['ct_builder'])); 464 465 if ($ct_builder) { 457 458 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Checking for Oxygen Builder context, not processing form data 459 if ( isset( $_GET['ct_builder'] ) ) { 466 460 wp_enqueue_style( 467 461 'wp_social_ninja_tt', -
custom-feed-for-tiktok/trunk/custom-feed-for-tiktok-boot.php
r3364029 r3397273 6 6 !defined('WPINC') && die; 7 7 8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1. 7');8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.8'); 9 9 define('CUSTOM_FEED_FOR_TIKTOK', true); 10 10 define('CUSTOM_FEED_FOR_TIKTOK_URL', plugin_dir_url(__FILE__)); -
custom-feed-for-tiktok/trunk/custom-feed-for-tiktok.php
r3364029 r3397273 4 4 Plugin URI: https://github.com/WPManageNinja/custom-feed-for-tiktok 5 5 Description: Create eye-catchy and responsive TikTok feed on your WordPress website. 6 Version: 1.1. 76 Version: 1.1.8 7 7 Author: Social Feed - WP Social Ninja Team 8 8 Author URI: https://wpsocialninja.com/platforms/tiktok-feed/ … … 27 27 }); 28 28 29 add_action('init', function () {30 load_plugin_textdomain('custom-feed-for-tiktok', false, basename(dirname(__FILE__)) . '/language');31 });32 29 33 -
custom-feed-for-tiktok/trunk/readme.txt
r3364029 r3397273 2 2 Contributors: techjewel, devutpol, tanjimtc71, wpmanageninja 3 3 Tags: TikTok, tiktok feed, tiktok video, tiktok plugin, tiktok gallery 4 Requires at least: 5.64 Requires at least: 6.2 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.1. 77 Stable tag: 1.1.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 185 185 == Changelog == 186 186 187 1.1.8 188 - Removed redundant load_plugin_textdomain() initialization 189 - Improved sanitization and escaping for imported feed content 190 187 191 1.1.7 188 192 - Improved Error Handling: Added encryption error detection, with clear, user-friendly error messages (includes error code 999 for access token issues).
Note: See TracChangeset
for help on using the changeset viewer.