Plugin Directory

Changeset 3265149


Ignore:
Timestamp:
04/01/2025 12:55:49 PM (11 months ago)
Author:
taskbuilder
Message:

new version

Location:
taskbuilder
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • taskbuilder/tags/4.0.2/includes/admin/projects/get_users.php

    r3210469 r3265149  
    88$proj_id = esc_sql($proj_id);
    99$wppm_current_user_capability = get_user_meta( $current_user->ID, 'wppm_capability', true );
    10 $project = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}wppm_project where id = $proj_id" );
     10$project = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}wppm_project where id = '$proj_id'" );
    1111if (!(($current_user->ID && $current_user->has_cap('manage_options')) || $wppmfunction->has_project_permission('assign_project_users',$proj_id) || ($project->created_by==$current_user->ID && $wppm_current_user_capability == 'wppm_manager') || ($current_user->ID && $current_user->has_cap('wppm_admin')))) {exit;}
    1212if(!empty($project->users)){
  • taskbuilder/tags/4.0.2/includes/admin/projects/wppm_add_new_project.php

    r3226189 r3265149  
    233233  var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
    234234  var description = is_tinymce && tinymce.get('wppm_proj_description') ? tinyMCE.get('wppm_proj_description').getContent() : jQuery('#wppm_proj_description').val().trim();
    235   if (!description) return;
    236235  dataform.append('wppm_proj_description', description);
    237236  jQuery('#wppm_project_container').html(wppm_admin.loading_html);
  • taskbuilder/tags/4.0.2/includes/admin/tasks/wppm_add_new_task.php

    r3226189 r3265149  
    314314    var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
    315315    var description = is_tinymce && tinymce.get('wppm_task_description') ? tinyMCE.get('wppm_task_description').getContent() : jQuery('#wppm_task_description').val().trim();
    316     if (!description) return;
    317316    dataform.append('wppm_task_description', description);
    318317    jQuery('#wppm_task_container').html(wppm_admin.loading_html);
  • taskbuilder/tags/4.0.2/readme.txt

    r3259746 r3265149  
    55Requires at least: 4.4
    66Tested up to: 6.7.2
    7 Stable tag: 4.0.1
     7Stable tag: 4.0.2
    88License: GPL v3
    99
     
    113113
    114114== Changelog ==
     115= V 4.0.2(April 1,2025) =
     116* Fix: SQL Injection.
     117* Fix: If project description is empty, while creating project then project does not creating.
     118* Fix: If task description is empty, while creating task then task does not creating.
     119
    115120= V 4.0.1(March 21,2025) =
    116121* New: .pot file updated.
  • taskbuilder/tags/4.0.2/taskbuilder.php

    r3259746 r3265149  
    44 * Plugin URI: https://wordpress.org/plugins/taskbuilder/
    55 * Description: Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks!
    6  * Version: 4.0.1
     6 * Version: 4.0.2
    77 * Author: Taskbuilder Team
    88 * Author URI: https://taskbuilder.net/
     
    2020 
    2121  final class WP_Taskbuilder {
    22     public $version    = '4.0.1';
     22    public $version    = '4.0.2';
    2323    public function __construct() {
    2424      // define global constants
  • taskbuilder/trunk/includes/admin/projects/get_users.php

    r3210469 r3265149  
    88$proj_id = esc_sql($proj_id);
    99$wppm_current_user_capability = get_user_meta( $current_user->ID, 'wppm_capability', true );
    10 $project = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}wppm_project where id = $proj_id" );
     10$project = $wpdb->get_row( "SELECT * FROM {$wpdb->prefix}wppm_project where id = '$proj_id'" );
    1111if (!(($current_user->ID && $current_user->has_cap('manage_options')) || $wppmfunction->has_project_permission('assign_project_users',$proj_id) || ($project->created_by==$current_user->ID && $wppm_current_user_capability == 'wppm_manager') || ($current_user->ID && $current_user->has_cap('wppm_admin')))) {exit;}
    1212if(!empty($project->users)){
  • taskbuilder/trunk/includes/admin/projects/wppm_add_new_project.php

    r3226189 r3265149  
    233233  var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
    234234  var description = is_tinymce && tinymce.get('wppm_proj_description') ? tinyMCE.get('wppm_proj_description').getContent() : jQuery('#wppm_proj_description').val().trim();
    235   if (!description) return;
    236235  dataform.append('wppm_proj_description', description);
    237236  jQuery('#wppm_project_container').html(wppm_admin.loading_html);
  • taskbuilder/trunk/includes/admin/tasks/wppm_add_new_task.php

    r3226189 r3265149  
    314314    var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();
    315315    var description = is_tinymce && tinymce.get('wppm_task_description') ? tinyMCE.get('wppm_task_description').getContent() : jQuery('#wppm_task_description').val().trim();
    316     if (!description) return;
    317316    dataform.append('wppm_task_description', description);
    318317    jQuery('#wppm_task_container').html(wppm_admin.loading_html);
  • taskbuilder/trunk/readme.txt

    r3259746 r3265149  
    55Requires at least: 4.4
    66Tested up to: 6.7.2
    7 Stable tag: 4.0.1
     7Stable tag: 4.0.2
    88License: GPL v3
    99
     
    113113
    114114== Changelog ==
     115= V 4.0.2(April 1,2025) =
     116* Fix: SQL Injection.
     117* Fix: If project description is empty, while creating project then project does not creating.
     118* Fix: If task description is empty, while creating task then task does not creating.
     119
    115120= V 4.0.1(March 21,2025) =
    116121* New: .pot file updated.
  • taskbuilder/trunk/taskbuilder.php

    r3259746 r3265149  
    44 * Plugin URI: https://wordpress.org/plugins/taskbuilder/
    55 * Description: Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks!
    6  * Version: 4.0.1
     6 * Version: 4.0.2
    77 * Author: Taskbuilder Team
    88 * Author URI: https://taskbuilder.net/
     
    2020 
    2121  final class WP_Taskbuilder {
    22     public $version    = '4.0.1';
     22    public $version    = '4.0.2';
    2323    public function __construct() {
    2424      // define global constants
Note: See TracChangeset for help on using the changeset viewer.