PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 3.0.6
Taskbuilder – Project Management & Task Management Tool With Kanban Board v3.0.6
6.0.5 6.0.2 6.0.3 6.0.4 6.0.1 6.0.0 5.0.8 5.0.9 4.0.9 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 All 57 releases
← All changes | taskbuilder.php +15 -4 1.0.23.0.6 View file →
@@ -2,13 +2,13 @@
2 2 /**
3 3 * Plugin Name: Taskbuilder
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: 1.0.2
6 + * Version: 3.0.6
7 7 * Author: Taskbuilder Team
8 8 * Author URI: https://taskbuilder.net/
9 9 * Requires at least: 4.4
10 - * Tested up to: 5.9.1
10 + * Tested up to: 6.7
11 11 * Text Domain: taskbuilder
12 12 * Domain Path: /lang
13 13 */
14 14
@@ -18,9 +18,9 @@
18 18
19 19 if ( ! class_exists( 'WP_Taskbuilder' ) ) :
20 20
21 21 final class WP_Taskbuilder {
22 - public $version = '1.0.2';
22 + public $version = '3.0.6';
23 23 public function __construct() {
24 24 // define global constants
25 25 $this->define_constants();
26 26 // Include required files and classes
@@ -51,8 +51,9 @@
51 51 include( WPPM_ABSPATH.'includes/wppm_cron.php' );
52 52 include_once( WPPM_ABSPATH . 'includes/wppm_actions.php' );
53 53 if ($this->is_request('admin')) {
54 54 include_once( WPPM_ABSPATH . 'includes/class-wppm-admin.php' );
55 + include_once( WPPM_ABSPATH . 'includes/class-wppm-profile-update.php' );
55 56 }
56 57 if ($this->is_request('frontend')) {
57 58 include_once( WPPM_ABSPATH . 'includes/class-wppm-frontend.php' );
58 59 }
@@ -59,9 +60,9 @@
59 60 if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
60 61 include_once( WPPM_ABSPATH . 'includes/EDD_SL_Plugin_Updater.php' );
61 62 }
62 63
63 - }
64 + }
64 65
65 66 public function define($name, $value) {
66 67 if (!defined($name)) {
67 68 define($name, $value);
@@ -85,8 +86,18 @@
85 86 $task_id = intval(sanitize_text_field($_REQUEST['tid']));
86 87 $task_auth_code = $wppmfunction->get_task_fields($task_id,'task_auth_code');
87 88 $task_auth_code = sanitize_text_field($task_auth_code);
88 89 if($task_auth_code == $auth_code){
90 + $this->wppm_file_download($attach_id);
91 + }
92 + }
93 + if( isset($_REQUEST['wppm_attachment']) && isset($_REQUEST['pid']) && isset($_REQUEST['pac'])){
94 + $attach_id = intval(sanitize_text_field($_REQUEST['wppm_attachment']));
95 + $auth_code = (sanitize_text_field($_REQUEST['pac']));
96 + $proj_id = intval(sanitize_text_field($_REQUEST['pid']));
97 + $proj_auth_code = $wppmfunction->get_project_meta($proj_id,'project_auth_code',true);
98 + $proj_auth_code = sanitize_text_field($proj_auth_code);
99 + if($proj_auth_code == $auth_code){
89 100 $this->wppm_file_download($attach_id);
90 101 }
91 102 }
92 103 }