PluginProbe
Taskbuilder – Project Management & Task Management Tool With Kanban Board / 3.0.8
Taskbuilder – Project Management & Task Management Tool With Kanban Board v3.0.8
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 | includes/replace_macro.php +1 -9 5.0.33.0.8 View file →
@@ -16,10 +16,8 @@
16 16 }
17 17 preg_match_all("/{[^}]*}/" ,$str,$matches);
18 18 $matches = array_unique($matches[0]);
19 19 $flag =false;
20 -$page_setting = get_option( 'wppm-page-settings' );
21 -$view = $page_setting['project-url-page'];
22 20 foreach($matches as $match){
23 21 switch($match){
24 22 //Current User Name
25 23 case '{user_name}':
@@ -91,15 +89,9 @@
91 89 break;
92 90
93 91 // Project Description
94 92 case '{project_description}':
95 - $str = preg_replace('/{project_description}/', sanitize_text_field($wppm_project_data['description']), $str);
96 - break;
97 - case '{project_url}':
98 - $project_url = '<a class="wppm_link" href="' . $this->get_project_url($project_id,$view) . '" target="_blank">' . $this->get_project_url($project_id,$view) . '</a>';
99 - $str = preg_replace('/{project_url}/', $project_url, $str);
100 - break;
101 -
93 + $str = preg_replace('/{project_description}/', sanitize_text_field($wppm_project_data['description']), $str);
102 94 }
103 95 }
104 96 if($flag == true){
105 97 if(!empty($attachments)){