Skip to content

Commit

Permalink
Merge pull request #601 from tynanbe/adminbar_edit_link
Browse files Browse the repository at this point in the history
Fix an issue where the admin bar would lose the current screen context
  • Loading branch information
hi-hai authored Dec 14, 2023
2 parents 2acc8c5 + 05af704 commit b48106d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/esi.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,8 @@ public function load_admin_bar_block($params)
}
}
}
// Needed when permalink structure is "Plain"
wp();

wp_admin_bar_render();
if (!$this->conf(Base::O_ESI_CACHE_ADMBAR)) {
Expand Down

0 comments on commit b48106d

Please sign in to comment.