Plugin Directory

Changeset 3397273


Ignore:
Timestamp:
11/17/2025 01:44:48 PM (4 months ago)
Author:
devutpol
Message:

Releases version 1.1.8

Location:
custom-feed-for-tiktok
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-feed-for-tiktok/tags/1.1.8/app/Services/Platforms/Feeds/Tiktok/TiktokFeed.php

    r3364029 r3397273  
    892892        $formattedVideos = [];
    893893        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            }
    894900            $user = Arr::get($video, 'from', []);
    895901            $formattedUser = $this->getFormattedUser($user);
     
    904910
    905911            $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;
    908914        }
    909915
  • custom-feed-for-tiktok/tags/1.1.8/app/Services/Widgets/Oxygen/TikTokWidget.php

    r3253941 r3397273  
    455455    function init() {
    456456        $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'] ) ) {
    466460            wp_enqueue_style(
    467461                'wp_social_ninja_tt',
  • custom-feed-for-tiktok/tags/1.1.8/custom-feed-for-tiktok-boot.php

    r3364029 r3397273  
    66!defined('WPINC') && die;
    77
    8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.7');
     8define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.8');
    99define('CUSTOM_FEED_FOR_TIKTOK', true);
    1010define('CUSTOM_FEED_FOR_TIKTOK_URL', plugin_dir_url(__FILE__));
  • custom-feed-for-tiktok/tags/1.1.8/custom-feed-for-tiktok.php

    r3364029 r3397273  
    44Plugin URI:   https://github.com/WPManageNinja/custom-feed-for-tiktok
    55Description:  Create eye-catchy and responsive TikTok feed on your WordPress website.
    6 Version:      1.1.7
     6Version:      1.1.8
    77Author:       Social Feed - WP Social Ninja Team
    88Author URI:   https://wpsocialninja.com/platforms/tiktok-feed/
     
    2727});
    2828
    29 add_action('init', function () {
    30     load_plugin_textdomain('custom-feed-for-tiktok', false, basename(dirname(__FILE__)) . '/language');
    31 });
    3229
    33 
  • custom-feed-for-tiktok/tags/1.1.8/readme.txt

    r3364029 r3397273  
    22Contributors: techjewel, devutpol, tanjimtc71, wpmanageninja
    33Tags: TikTok, tiktok feed, tiktok video, tiktok plugin, tiktok gallery
    4 Requires at least: 5.6
     4Requires at least: 6.2
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.1.7
     7Stable tag: 1.1.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    185185== Changelog ==
    186186
     1871.1.8
     188- Removed redundant load_plugin_textdomain() initialization
     189- Improved sanitization and escaping for imported feed content
     190
    1871911.1.7
    188192- 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  
    892892        $formattedVideos = [];
    893893        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            }
    894900            $user = Arr::get($video, 'from', []);
    895901            $formattedUser = $this->getFormattedUser($user);
     
    904910
    905911            $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;
    908914        }
    909915
  • custom-feed-for-tiktok/trunk/app/Services/Widgets/Oxygen/TikTokWidget.php

    r3253941 r3397273  
    455455    function init() {
    456456        $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'] ) ) {
    466460            wp_enqueue_style(
    467461                'wp_social_ninja_tt',
  • custom-feed-for-tiktok/trunk/custom-feed-for-tiktok-boot.php

    r3364029 r3397273  
    66!defined('WPINC') && die;
    77
    8 define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.7');
     8define('CUSTOM_FEED_FOR_TIKTOK_VERSION', '1.1.8');
    99define('CUSTOM_FEED_FOR_TIKTOK', true);
    1010define('CUSTOM_FEED_FOR_TIKTOK_URL', plugin_dir_url(__FILE__));
  • custom-feed-for-tiktok/trunk/custom-feed-for-tiktok.php

    r3364029 r3397273  
    44Plugin URI:   https://github.com/WPManageNinja/custom-feed-for-tiktok
    55Description:  Create eye-catchy and responsive TikTok feed on your WordPress website.
    6 Version:      1.1.7
     6Version:      1.1.8
    77Author:       Social Feed - WP Social Ninja Team
    88Author URI:   https://wpsocialninja.com/platforms/tiktok-feed/
     
    2727});
    2828
    29 add_action('init', function () {
    30     load_plugin_textdomain('custom-feed-for-tiktok', false, basename(dirname(__FILE__)) . '/language');
    31 });
    3229
    33 
  • custom-feed-for-tiktok/trunk/readme.txt

    r3364029 r3397273  
    22Contributors: techjewel, devutpol, tanjimtc71, wpmanageninja
    33Tags: TikTok, tiktok feed, tiktok video, tiktok plugin, tiktok gallery
    4 Requires at least: 5.6
     4Requires at least: 6.2
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.1.7
     7Stable tag: 1.1.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    185185== Changelog ==
    186186
     1871.1.8
     188- Removed redundant load_plugin_textdomain() initialization
     189- Improved sanitization and escaping for imported feed content
     190
    1871911.1.7
    188192- 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.