This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru plugin.orig/varnish-http-purge.php plugin.modified/varnish-http-purge.php | |
--- plugin.orig/varnish-http-purge.php 2023-05-27 10:07:28.893638677 +0200 | |
+++ plugin.modified/varnish-http-purge.php 2023-05-27 10:07:37.241770054 +0200 | |
@@ -410,19 +410,6 @@ | |
); | |
} | |
- // If we're on a front end page and the current user can edit published posts, then they can do this. | |
- if ( ! is_admin() && get_post() !== false && current_user_can( 'edit_published_posts' ) ) { | |
- $page_url = esc_url( home_url( $wp->request ) ); |