{"id":77431,"date":"2017-11-14T05:37:14","date_gmt":"2017-11-14T05:37:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cf-littlebizzy\/"},"modified":"2018-11-15T09:52:00","modified_gmt":"2018-11-15T09:52:00","slug":"cf-littlebizzy","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cf-littlebizzy\/","author":8897393,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"1.4.0","tested":"5.0.25","requires":"4.4","requires_php":"7.2","requires_plugins":"","header_name":"CloudFlare","header_author":"LittleBizzy","header_description":"Easily connect your WordPress website to CloudFlare's free optimization features, including one-click options to purge cache and enable 'dev' mode.","assets_banners_color":"","last_updated":"2018-11-15 09:52:00","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.patreon.com\/littlebizzy","header_plugin_uri":"https:\/\/www.littlebizzy.com\/plugins\/cloudflare","header_author_uri":"https:\/\/www.littlebizzy.com","rating":5,"author_block_rating":0,"active_installs":300,"downloads":40858,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"30"},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1901892","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1556,3863,3882,149277,7914],"plugin_category":[52,59],"plugin_contributors":[81153],"plugin_business_model":[],"class_list":["post-77431","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-cdn","plugin_tags-cloudflare","plugin_tags-dev-mode","plugin_tags-purge","plugin_category-performance","plugin_category-utilities-and-tools","plugin_contributors-littlebizzy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cf-littlebizzy.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Easily connect your WordPress website to free optimization features from CloudFlare, including one-click options to purge cache and enable dev mode.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/www.facebook.com\/groups\/littlebizzy\/\"><strong>Join our FREE Facebook group for support<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/cf-littlebizzy\/reviews\/?rate=5#new-post\"><strong>Worth a 5-star review? Thank you!<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.littlebizzy.com\/plugins\/cloudflare\">Plugin Homepage<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/littlebizzy\/cloudflare\">Plugin GitHub<\/a><\/li>\n<\/ul>\n\n<h4>Current Features<\/h4>\n\n<p>This plugin was designed to load faster, be more secure, and perform much better than the official CloudFlare plugin. We focus on offering only the key features desired by most developers, while allowing some of the other CloudFlare settings to be better managed at your account over at CloudFlare.com rather than turning WordPress into a bloated control panel with every setting possible which is nearly impossible to keep up with anyways (esp. with stable\/secure code).<\/p>\n\n<p>If you wish to define the CloudFlare API key and API email address on your <code>wp-config.php<\/code> or <code>functions.php<\/code> file you can do that to avoid your clients removing that data, especially during staging site syncing, migrations, etc. Plus it will load the data faster via PHP Opcache and server\/Linux RAM memory caching rather than needing database queries or Options API cache.<\/p>\n\n<p>You can also use those defined constants to better automate server\/WordPress setup using bash scripts etc.<\/p>\n\n<ul>\n<li>one-click \"dev\" mode<\/li>\n<li>one-click purge CloudFlare cache<\/li>\n<li>automatic CloudFlare domain detection<\/li>\n<li>real visitor IP address sent to server\/WordPress<\/li>\n<li>much lighter\/faster code than \"official\" CloudFlare plugin<\/li>\n<li>uses CloudFlare API version 4.0+<\/li>\n<li>no integration with Akismet<\/li>\n<\/ul>\n\n<h4>Compatibility<\/h4>\n\n<p>This plugin has been designed for use on <a href=\"https:\/\/slickstack.io\">SlickStack<\/a> web servers with PHP 7.2 and MySQL 5.7 to achieve best performance. All of our plugins are meant for single site WordPress installations only; for both performance and usability reasons, we highly recommend avoiding WordPress Multisite for the vast majority of projects.<\/p>\n\n<p>Any of our WordPress plugins may also be loaded as \"Must-Use\" plugins by using our free <a href=\"https:\/\/github.com\/littlebizzy\/autoloader\">Autoloader<\/a> script in the <code>mu-plugins<\/code> directory.<\/p>\n\n<h4>Defined Constants<\/h4>\n\n<pre><code>\/* Plugin Meta *\/\ndefine('DISABLE_NAG_NOTICES', true);\n\n\/* CloudFlare Functions *\/\ndefine('CLOUDFLARE_API_KEY', '123456789');\ndefine('CLOUDFLARE_API_EMAIL', 'user@example.com');\n<\/code><\/pre>\n\n<h4>Technical Details<\/h4>\n\n<ul>\n<li>Prefix: CLDFLR<\/li>\n<li>Parent Plugin: N\/A<\/li>\n<li>Disable Nag Notices: <a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_notices#Disable_Nag_Notices\">Yes<\/a><\/li>\n<li>Settings Page: No<\/li>\n<li>PHP Namespaces: Yes<\/li>\n<li>Object-Oriented Code: Yes<\/li>\n<li>Includes Media (images, icons, etc): No<\/li>\n<li>Includes CSS: No<\/li>\n<li>Database Storage: Yes\n\n<ul>\n<li>Transients: No<\/li>\n<li>WP Options Table: Yes<\/li>\n<li>Other Tables: No<\/li>\n<li>Creates New Tables: No<\/li>\n<li>Creates New WP Cron Jobs: No<\/li>\n<\/ul><\/li>\n<li>Database Queries: Backend Only (Options API)<\/li>\n<li>Must-Use Support: <a href=\"https:\/\/github.com\/littlebizzy\/autoloader\">Yes<\/a><\/li>\n<li>Multisite Support: No<\/li>\n<li>Uninstalls Data: Yes<\/li>\n<\/ul>\n\n<h4>Disclaimer<\/h4>\n\n<p>We released this plugin in response to our managed hosting clients asking for better access to their server, and our primary goal will remain supporting that purpose. Although we are 100% open to fielding requests from the WordPress community, we kindly ask that you keep these conditions in mind, and refrain from slandering, threatening, or harassing our team members in order to get a feature added, or to otherwise get \"free\" support. The only place you should be contacting us is in our free <a href=\"https:\/\/www.facebook.com\/groups\/littlebizzy\/\"><strong>Facebook group<\/strong><\/a> which has been setup for this purpose, or via GitHub if you are an experienced developer. Thank you!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload to <code>\/wp-content\/plugins\/cf-littlebizzy<\/code><\/li>\n<li>Activate via WP Admin &gt; Plugins<\/li>\n<li>COnfigure at <code>\/wp-admin\/options-general.php?page=cloudflare<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I change this plugin's settings?<\/dt>\n<dd><p>Configure at <code>\/wp-admin\/options-general.php?page=cloudflare<\/code><\/p><\/dd>\n<dt>What version of the CloudFlare API is used?<\/dt>\n<dd><p>It currently uses CloudFlare API version 4.<\/p><\/dd>\n<dt>Does this plugin purge `cache everything` pages?<\/dt>\n<dd><p>No, it does not support caching HTML with CloudFlare, it is only meant to purge static resources. The \"cache everything\" option is generally not recommended for the vast majority of dynamic websites as it causes conflicts.<\/p><\/dd>\n<dt>Can I define the API key and email address?<\/dt>\n<dd><p>Yes you can use the supported defined constants to input the API key and email address in static PHP files like <code>wp-config.php<\/code> or <code>functions.php<\/code> to avoid database queries and data loss during staging sync or migrations.<\/p><\/dd>\n<dt>I have a suggestion, how can I let you know?<\/dt>\n<dd><p>Please avoid leaving negative reviews in order to get a feature implemented. Instead, join our free Facebook group.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>tested with WP 5.0<\/li>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>remove Admin Toolbar link hover titles (tooltips)<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>make drop-down menu appear on frontend too (not just backend)<\/li>\n<li>drop-down menu parent now links to <code>\/wp-admin\/options-general.php?page=cloudflare<\/code><\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>added drop-down menu on Admin Toolbar<\/li>\n<li>enabled a dual mode in the plugin page, supporting both GET requests and POST submits to perform the clear cache and enable dev mode actions (GET requests are too secured by WP nonce system)<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>updated plugin meta<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>tested with PHP 7.0<\/li>\n<li>tested with PHP 7.1<\/li>\n<li>tested with PHP 7.2<\/li>\n<li>better settings data management for mixed scenarios (form values + defined constants)<\/li>\n<li>(defined constants will now never \"save\" to the database)<\/li>\n<li><code>UPDATE SETTINGS<\/code> button now hidden if defined constants are recognized<\/li>\n<li>API domain check now performed for <code>dev mode<\/code> and <code>purge cache<\/code> options (not only for <code>Update Settings<\/code> button)<\/li>\n<li>(all button\/actions are now \"real\" API results rather than relying on stored data values)<\/li>\n<li>API notices now include specific API errors from CloudFlare<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>added warning for Multisite installations<\/li>\n<li>updated recommended plugins<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>versioning correction (new major features in 1.0.4)<\/li>\n<li>(no code changes)<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>added support for <code>CLOUDFLARE_API_KEY<\/code><\/li>\n<li>added support for <code>CLOUDFLARE_API_EMAIL<\/code><\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>minor code optimization<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>fix: <code>Class 'LittleBizzy\\CloudFlare\\CLDFLR_Admin_Notices' not found<\/code><\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>tested with WP 4.9<\/li>\n<li>added support for <code>DISABLE_NAG_NOTICES<\/code><\/li>\n<li>added recommended plugins notice<\/li>\n<li>added WP.org rating request notice<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<li>forked (kinda) from plugin <em>CloudFlare v1.3.24<\/em><\/li>\n<li>plugin uses PHP namespaces<\/li>\n<li>object-oriented code<\/li>\n<\/ul>","raw_excerpt":"Easily connect your WordPress website to free optimization features from CloudFlare, including one-click options to purge cache and enable dev mode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77431"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/littlebizzy"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77431"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77431"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77431"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77431"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77431"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}