Skip to content

Commit 549ed2d

Browse files
authored
Merge pull request #693 from ProgressPlanner/filip/v19/put-back-show-all-tasks-button
Put back "Show all tasks" button to Debug Tool
2 parents bfeb527 + 42b8a45 commit 549ed2d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

classes/utils/class-debug-tools.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ public function add_toolbar_items( $admin_bar ) {
7777
]
7878
);
7979

80+
// Show all suggested tasks.
81+
$admin_bar->add_node(
82+
[
83+
'id' => 'prpl-show-all-suggested-tasks',
84+
'parent' => 'prpl-debug',
85+
'title' => 'Show All Suggested Tasks',
86+
'href' => \add_query_arg( 'prpl_show_all_recommendations', $this->current_url ),
87+
]
88+
);
89+
8090
$this->add_delete_submenu_item( $admin_bar );
8191

8292
$this->add_upgrading_tasks_submenu_item( $admin_bar );

0 commit comments

Comments
 (0)