Hi. I am working on a task manager project and I am using your plugin. I liked it because it helped me a little in my project. Now, while working I just noticed that the plugin doesn't update meta value of the key "_cp-project-users" for the already created project. Let me explain
Problem:
Let's say I create a project with name "Test Project" and assign users "A, B, C" to it. Then after a while (after project creation), I go to "Modify users" and remove "user C" from the list. Then I update it. Here the plugin misses something. The plugin actually updates the users in "cp_project_users" table but it doesn't update its meta value in "postmeta" table. And in post meta table, it still assumes users "A, B, C" to be assigned to the "Test project". This make use of meta values of this plugin void.
Solution:
Just add the following code in the function cp_modify_project_users_handler() in the file "ajax-handlers.php" and Whola! it'd work fine. You must have forgot it :-)
Hi. I am working on a task manager project and I am using your plugin. I liked it because it helped me a little in my project. Now, while working I just noticed that the plugin doesn't update meta value of the key "_cp-project-users" for the already created project. Let me explain
Problem: Let's say I create a project with name "Test Project" and assign users "A, B, C" to it. Then after a while (after project creation), I go to "Modify users" and remove "user C" from the list. Then I update it. Here the plugin misses something. The plugin actually updates the users in "cp_project_users" table but it doesn't update its meta value in "postmeta" table. And in post meta table, it still assumes users "A, B, C" to be assigned to the "Test project". This make use of meta values of this plugin void.
Solution: Just add the following code in the function cp_modify_project_users_handler() in the file "ajax-handlers.php" and Whola! it'd work fine. You must have forgot it :-)
update_post_meta($project_id,"_cp-project-users",$users);
No need to thank me. LOL