PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 2.0.6
Taskbuilder – Project Management & Task Management Tool With Kanban Board v2.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 +13 -24 5.0.62.0.6 View file →
@@ -1,19 +1,16 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: Taskbuilder
4 - * Plugin URI: https://taskbuilder.net/
5 - * Description: Project Management & Task Management Tool.
6 - * Version: 5.0.6
4 + * Plugin URI: https://wordpress.org/plugins/taskbuilder/
5 + * Description: Wordpress Project & Task Management plugin. Easy to keep track of projects & tasks!
6 + * Version: 2.0.6
7 7 * Author: Taskbuilder Team
8 8 * Author URI: https://taskbuilder.net/
9 - * Requires at least: 5.6
10 - * Requires PHP: 7.4
11 - * Tested up to: 6.9
9 + * Requires at least: 4.4
10 + * Tested up to: 6.4.1
12 11 * Text Domain: taskbuilder
13 12 * Domain Path: /lang
14 - * License: GPLv3 or later
15 - * License URI: https://www.gnu.org/licenses/gpl-3.0.html
16 13 */
17 14
18 15 if ( ! defined( 'ABSPATH' ) ) {
19 16 exit; // Exit if accessed directly
@@ -21,9 +18,9 @@
21 18
22 19 if ( ! class_exists( 'WP_Taskbuilder' ) ) :
23 20
24 21 final class WP_Taskbuilder {
25 - public $version = '5.0.6';
22 + public $version = '2.0.6';
26 23 public function __construct() {
27 24 // define global constants
28 25 $this->define_constants();
29 26 // Include required files and classes
@@ -54,15 +51,17 @@
54 51 include( WPPM_ABSPATH.'includes/wppm_cron.php' );
55 52 include_once( WPPM_ABSPATH . 'includes/wppm_actions.php' );
56 53 if ($this->is_request('admin')) {
57 54 include_once( WPPM_ABSPATH . 'includes/class-wppm-admin.php' );
58 - include_once( WPPM_ABSPATH . 'includes/class-wppm-profile-update.php' );
59 55 }
60 56 if ($this->is_request('frontend')) {
61 57 include_once( WPPM_ABSPATH . 'includes/class-wppm-frontend.php' );
62 58 }
59 + if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
60 + include_once( WPPM_ABSPATH . 'includes/EDD_SL_Plugin_Updater.php' );
61 + }
63 62
64 - }
63 + }
65 64
66 65 public function define($name, $value) {
67 66 if (!defined($name)) {
68 67 define($name, $value);
@@ -80,24 +79,14 @@
80 79
81 80 public function wppm_check_download_file(){
82 81 global $wpdb,$wppmfunction;
83 82 if( isset($_REQUEST['wppm_attachment']) && isset($_REQUEST['tid']) && isset($_REQUEST['tac'])){
84 - $attach_id = intval(sanitize_text_field(wp_unslash($_REQUEST['wppm_attachment'])));
85 - $auth_code = (sanitize_text_field(wp_unslash($_REQUEST['tac'])));
86 - $task_id = intval(sanitize_text_field(wp_unslash($_REQUEST['tid'])));
83 + $attach_id = intval(sanitize_text_field($_REQUEST['wppm_attachment']));
84 + $auth_code = (sanitize_text_field($_REQUEST['tac']));
85 + $task_id = intval(sanitize_text_field($_REQUEST['tid']));
87 86 $task_auth_code = $wppmfunction->get_task_fields($task_id,'task_auth_code');
88 87 $task_auth_code = sanitize_text_field($task_auth_code);
89 88 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(wp_unslash($_REQUEST['wppm_attachment'])));
95 - $auth_code = (sanitize_text_field(wp_unslash($_REQUEST['pac'])));
96 - $proj_id = intval(sanitize_text_field(wp_unslash($_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){
100 89 $this->wppm_file_download($attach_id);
101 90 }
102 91 }
103 92 }