Plugin Directory

Changeset 3435093


Ignore:
Timestamp:
01/08/2026 11:55:58 AM (3 months ago)
Author:
adreastrian
Message:

Release v1.91.1

Location:
fluent-boards
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fluent-boards/tags/1.91.1/app/Http/Controllers/TaskController.php

    r3426833 r3435093  
    424424        $board_id = absint($board_id);
    425425        $task_id = absint($task_id);
     426        //Properties in col: settings, assignees,crm_contact_id, archived_at(AUTO_SET_TIMESTAMP) , status, title, description, priority, is_watching, is_template
    426427        $col = $request->getSafe('property', 'sanitize_text_field');
    427         $value = $request->getSafe('value', 'sanitize_text_field');
     428        if ($col === 'description') {
     429            $value = $request->getSafe('value', 'wp_kses_post');
     430        } elseif ($col === 'settings') {
     431            $value = $request->get('value');
     432            if (is_array($value) && isset($value['cover']) && is_array($value['cover'])) {
     433                if (isset($value['cover']['backgroundColor'])) {
     434                    $value['cover']['backgroundColor'] = sanitize_text_field($value['cover']['backgroundColor']);
     435                }
     436            }
     437        } else {
     438            $value = $request->getSafe('value', 'sanitize_text_field');
     439        }
    428440
    429441        $validatedData = $this->updateTaskPropValidationAndSanitation($col, $value);
  • fluent-boards/tags/1.91.1/app/Services/TaskService.php

    r3426833 r3435093  
    191191
    192192        if (in_array($col, $validColumns) && $task->{$col} != $value) {
    193             if($col == 'settings' && $value['cover']['backgroundColor']) {
     193            if ($col == 'settings' && isset($value['cover']['backgroundColor']) && $value['cover']['backgroundColor']) {
    194194                $settings = $task->settings;
    195195                $this->deleteTaskCoverImage($settings);
     
    22242224
    22252225}
    2226 
  • fluent-boards/tags/1.91.1/fluent-boards.php

    r3426833 r3435093  
    66Plugin Name: Fluent Boards - Project Management Tool
    77Description: Fluent Boards is a powerful tool designed for efficient management of to-do lists, projects, and tasks with kanban board and more..
    8 Version: 1.91
     8Version: 1.91.1
    99Author: WPManageNinja
    1010Author URI: https://fluentboards.com
     
    2121
    2222define('FLUENT_BOARDS', 'fluent-boards');
    23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91');
     23define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91.1');
    2424define('FLUENT_BOARDS_PLUGIN_PATH', plugin_dir_path(__FILE__));
    2525define('FLUENT_BOARDS_DIR_FILE', __FILE__);
  • fluent-boards/tags/1.91.1/readme.txt

    r3426833 r3435093  
    55Tested up to: 6.9
    66Requires PHP: 7.3
    7 Stable tag: 1.91
     7Stable tag: 1.91.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    170170
    171171== Changelog ==
     172= v1.91.1 (Date: January 08, 2025) =
     173- Fixed: Task description formatting .
     174- Fixed: Task cover change error .
     175
    172176= v1.91 (Date: December 24, 2025) =
    173177- Improvement: Global add button moved for better user experience.
  • fluent-boards/trunk/app/Http/Controllers/TaskController.php

    r3426833 r3435093  
    424424        $board_id = absint($board_id);
    425425        $task_id = absint($task_id);
     426        //Properties in col: settings, assignees,crm_contact_id, archived_at(AUTO_SET_TIMESTAMP) , status, title, description, priority, is_watching, is_template
    426427        $col = $request->getSafe('property', 'sanitize_text_field');
    427         $value = $request->getSafe('value', 'sanitize_text_field');
     428        if ($col === 'description') {
     429            $value = $request->getSafe('value', 'wp_kses_post');
     430        } elseif ($col === 'settings') {
     431            $value = $request->get('value');
     432            if (is_array($value) && isset($value['cover']) && is_array($value['cover'])) {
     433                if (isset($value['cover']['backgroundColor'])) {
     434                    $value['cover']['backgroundColor'] = sanitize_text_field($value['cover']['backgroundColor']);
     435                }
     436            }
     437        } else {
     438            $value = $request->getSafe('value', 'sanitize_text_field');
     439        }
    428440
    429441        $validatedData = $this->updateTaskPropValidationAndSanitation($col, $value);
  • fluent-boards/trunk/app/Services/TaskService.php

    r3426833 r3435093  
    191191
    192192        if (in_array($col, $validColumns) && $task->{$col} != $value) {
    193             if($col == 'settings' && $value['cover']['backgroundColor']) {
     193            if ($col == 'settings' && isset($value['cover']['backgroundColor']) && $value['cover']['backgroundColor']) {
    194194                $settings = $task->settings;
    195195                $this->deleteTaskCoverImage($settings);
     
    22242224
    22252225}
    2226 
  • fluent-boards/trunk/fluent-boards.php

    r3426833 r3435093  
    66Plugin Name: Fluent Boards - Project Management Tool
    77Description: Fluent Boards is a powerful tool designed for efficient management of to-do lists, projects, and tasks with kanban board and more..
    8 Version: 1.91
     8Version: 1.91.1
    99Author: WPManageNinja
    1010Author URI: https://fluentboards.com
     
    2121
    2222define('FLUENT_BOARDS', 'fluent-boards');
    23 define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91');
     23define('FLUENT_BOARDS_PLUGIN_VERSION', '1.91.1');
    2424define('FLUENT_BOARDS_PLUGIN_PATH', plugin_dir_path(__FILE__));
    2525define('FLUENT_BOARDS_DIR_FILE', __FILE__);
  • fluent-boards/trunk/readme.txt

    r3426833 r3435093  
    55Tested up to: 6.9
    66Requires PHP: 7.3
    7 Stable tag: 1.91
     7Stable tag: 1.91.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    170170
    171171== Changelog ==
     172= v1.91.1 (Date: January 08, 2025) =
     173- Fixed: Task description formatting .
     174- Fixed: Task cover change error .
     175
    172176= v1.91 (Date: December 24, 2025) =
    173177- Improvement: Global add button moved for better user experience.
Note: See TracChangeset for help on using the changeset viewer.