PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 6.0.6
Taskbuilder – Project Management & Task Management Tool With Kanban Board v6.0.6
6.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 All 58 releases
← All changes | taskbuilder.php +7 -7 5.0.76.0.6 View file →
@@ -1,15 +1,15 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: Taskbuilder
4 4 * Plugin URI: https://taskbuilder.net/
5 - * Description: Project Management & Task Management Tool.
6 - * Version: 5.0.7
5 + * Description: All-in-One Project & Task Management Tool for WordPress.
6 + * Version: 6.0.6
7 7 * Author: Taskbuilder Team
8 8 * Author URI: https://taskbuilder.net/
9 9 * Requires at least: 5.6
10 10 * Requires PHP: 7.4
11 - * Tested up to: 6.9
11 + * Tested up to: 7.1
12 12 * Text Domain: taskbuilder
13 13 * Domain Path: /lang
14 14 * License: GPLv3 or later
15 15 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -21,9 +21,9 @@
21 21
22 22 if ( ! class_exists( 'WP_Taskbuilder' ) ) :
23 23
24 24 final class WP_Taskbuilder {
25 - public $version = '5.0.7';
25 + public $version = '6.0.6';
26 26 public function __construct() {
27 27 // define global constants
28 28 $this->define_constants();
29 29 // Include required files and classes
@@ -52,8 +52,9 @@
52 52 include_once( WPPM_ABSPATH . 'includes/wppm-install.php' );
53 53 include_once( WPPM_ABSPATH . 'includes/class-wppm-functions.php' );
54 54 include( WPPM_ABSPATH.'includes/wppm_cron.php' );
55 55 include_once( WPPM_ABSPATH . 'includes/wppm_actions.php' );
56 + include_once( WPPM_ABSPATH . 'includes/wppm-pro-addons.php' );
56 57 if ($this->is_request('admin')) {
57 58 include_once( WPPM_ABSPATH . 'includes/class-wppm-admin.php' );
58 59 include_once( WPPM_ABSPATH . 'includes/class-wppm-profile-update.php' );
59 60 }
@@ -88,14 +89,13 @@
88 89 $task_auth_code = sanitize_text_field($task_auth_code);
89 90 if($task_auth_code == $auth_code){
90 91 $this->wppm_file_download($attach_id);
91 92 }
92 - }
93 - if( isset($_REQUEST['wppm_attachment']) && isset($_REQUEST['pid']) && isset($_REQUEST['pac'])){
93 + }elseif( isset($_REQUEST['wppm_attachment']) && isset($_REQUEST['pid']) && isset($_REQUEST['pac'])){
94 94 $attach_id = intval(sanitize_text_field(wp_unslash($_REQUEST['wppm_attachment'])));
95 95 $auth_code = (sanitize_text_field(wp_unslash($_REQUEST['pac'])));
96 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);
97 + $proj_auth_code = $wppmfunction->get_project_fields($proj_id,'project_auth_code');
98 98 $proj_auth_code = sanitize_text_field($proj_auth_code);
99 99 if($proj_auth_code == $auth_code){
100 100 $this->wppm_file_download($attach_id);
101 101 }