Changeset 3265149
- Timestamp:
- 04/01/2025 12:55:49 PM (11 months ago)
- Location:
- taskbuilder
- Files:
-
- 10 edited
- 1 copied
-
tags/4.0.2 (copied) (copied from taskbuilder/trunk)
-
tags/4.0.2/includes/admin/projects/get_users.php (modified) (1 diff)
-
tags/4.0.2/includes/admin/projects/wppm_add_new_project.php (modified) (1 diff)
-
tags/4.0.2/includes/admin/tasks/wppm_add_new_task.php (modified) (1 diff)
-
tags/4.0.2/readme.txt (modified) (2 diffs)
-
tags/4.0.2/taskbuilder.php (modified) (2 diffs)
-
trunk/includes/admin/projects/get_users.php (modified) (1 diff)
-
trunk/includes/admin/projects/wppm_add_new_project.php (modified) (1 diff)
-
trunk/includes/admin/tasks/wppm_add_new_task.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/taskbuilder.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
taskbuilder/tags/4.0.2/includes/admin/projects/get_users.php
r3210469 r3265149 8 8 $proj_id = esc_sql($proj_id); 9 9 $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'" ); 11 11 if (!(($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;} 12 12 if(!empty($project->users)){ -
taskbuilder/tags/4.0.2/includes/admin/projects/wppm_add_new_project.php
r3226189 r3265149 233 233 var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); 234 234 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;236 235 dataform.append('wppm_proj_description', description); 237 236 jQuery('#wppm_project_container').html(wppm_admin.loading_html); -
taskbuilder/tags/4.0.2/includes/admin/tasks/wppm_add_new_task.php
r3226189 r3265149 314 314 var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); 315 315 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;317 316 dataform.append('wppm_task_description', description); 318 317 jQuery('#wppm_task_container').html(wppm_admin.loading_html); -
taskbuilder/tags/4.0.2/readme.txt
r3259746 r3265149 5 5 Requires at least: 4.4 6 6 Tested up to: 6.7.2 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 License: GPL v3 9 9 … … 113 113 114 114 == 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 115 120 = V 4.0.1(March 21,2025) = 116 121 * New: .pot file updated. -
taskbuilder/tags/4.0.2/taskbuilder.php
r3259746 r3265149 4 4 * Plugin URI: https://wordpress.org/plugins/taskbuilder/ 5 5 * Description: Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks! 6 * Version: 4.0. 16 * Version: 4.0.2 7 7 * Author: Taskbuilder Team 8 8 * Author URI: https://taskbuilder.net/ … … 20 20 21 21 final class WP_Taskbuilder { 22 public $version = '4.0. 1';22 public $version = '4.0.2'; 23 23 public function __construct() { 24 24 // define global constants -
taskbuilder/trunk/includes/admin/projects/get_users.php
r3210469 r3265149 8 8 $proj_id = esc_sql($proj_id); 9 9 $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'" ); 11 11 if (!(($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;} 12 12 if(!empty($project->users)){ -
taskbuilder/trunk/includes/admin/projects/wppm_add_new_project.php
r3226189 r3265149 233 233 var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); 234 234 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;236 235 dataform.append('wppm_proj_description', description); 237 236 jQuery('#wppm_project_container').html(wppm_admin.loading_html); -
taskbuilder/trunk/includes/admin/tasks/wppm_add_new_task.php
r3226189 r3265149 314 314 var is_tinymce = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); 315 315 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;317 316 dataform.append('wppm_task_description', description); 318 317 jQuery('#wppm_task_container').html(wppm_admin.loading_html); -
taskbuilder/trunk/readme.txt
r3259746 r3265149 5 5 Requires at least: 4.4 6 6 Tested up to: 6.7.2 7 Stable tag: 4.0. 17 Stable tag: 4.0.2 8 8 License: GPL v3 9 9 … … 113 113 114 114 == 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 115 120 = V 4.0.1(March 21,2025) = 116 121 * New: .pot file updated. -
taskbuilder/trunk/taskbuilder.php
r3259746 r3265149 4 4 * Plugin URI: https://wordpress.org/plugins/taskbuilder/ 5 5 * Description: Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks! 6 * Version: 4.0. 16 * Version: 4.0.2 7 7 * Author: Taskbuilder Team 8 8 * Author URI: https://taskbuilder.net/ … … 20 20 21 21 final class WP_Taskbuilder { 22 public $version = '4.0. 1';22 public $version = '4.0.2'; 23 23 public function __construct() { 24 24 // define global constants
Note: See TracChangeset
for help on using the changeset viewer.