Anouncement: Disabling Admin Bar
-
Hi all,
Cloudflare WordPress Plugin version 3.1.0 changelog:
Disabled showing WordPress Admin Bar and Edit Post Link to avoid caching problems for users using HTML Caching.
We’ve disable these two sections in your blog regarding of people who are using Cache Everything Page Rule to make their site even faster.
This page rule enables Cloudflare to cache the HTML of your website. It’s much much faster compared to normal caching but there is a downside where the blog manually need to purge Cloudflare cache everytime a page is edited.
We recommend users with Cache Everything page rule to use Automatic Cache Purge feature of the plugin which purges Cloudflare cache without user intervention.
Disabling Admin Bar and Edit Post Link would allows users guaranteeing to see the blog content without admin features.
For users who would like to re-enable Admin Bar and Edit Post Link can do the following.
Prerequisite: Access to your server is required.
1) Open the file path_of_wordpress/wp-content/plugins/cloudflare/cloudflare.loader.php
3) Edit lines 27 and 28 by putting “//” (two slashes) in the beginning of the lines.https://github.com/cloudflare/Cloudflare-WordPress/blob/master/cloudflare.loader.php#L27-L28
It should look like
//add_filter('show_admin_bar', '__return_false'); //add_filter('edit_post_link', '__return_null');
In the next version we’ll target disabling these features only for the intended target.
If you have any concerns or suggestions please leave a comment.
Thanks.
-furkan
- The topic ‘Anouncement: Disabling Admin Bar’ is closed to new replies.