Cloudflare 4.14.4

Does Cloudflare work with WordPress 7.0.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 31.61 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version7.0.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/cloudflare/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=cloudflare%2Fcloudflare.php&plugin_status=all&paged=1&s&_wpnonce=e80fa60dc2
Aspect after-activation
HTTP status 200
Load time 1.070 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Settings → Cloudflare

Page screenshot: Settings → Cloudflare
URL /wp-admin/options-general.php?page=cloudflare#/
Requested URL /wp-admin/options-general.php?page=cloudflare
Aspect menu-item
HTTP status 200
Load time 0.857 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.218 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.756 s0.577 s-0.179 s3.92 MiB3.96 MiB+ 35.49 KiB
/wp-admin/edit.php0.549 s0.675 s+0.126 s3.98 MiB4.02 MiB+ 35.13 KiB
/wp-admin/post-new.php2.427 s1.801 s-0.626 s6.56 MiB6.6 MiB+ 47.92 KiB
/wp-admin/upload.php0.747 s0.778 s+0.031 s3.89 MiB3.91 MiB+ 18.09 KiB
/wp-admin/options-writing.php0.587 s0.598 s+0.011 s3.86 MiB3.88 MiB+ 22.08 KiB
/wp-admin/media-new.php0.667 s1.051 s+0.384 s3.85 MiB3.88 MiB+ 30.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.573 s0.597 s+0.024 s3.86 MiB3.9 MiB+ 35.45 KiB
/wp-admin/post-new.php?post_type=page1.930 s1.661 s-0.269 s6.55 MiB6.59 MiB+ 43.45 KiB
/wp-admin/options-discussion.php0.652 s0.835 s+0.183 s3.86 MiB3.88 MiB+ 18.58 KiB
/wp-admin/edit-comments.php0.555 s0.595 s+0.040 s3.88 MiB3.9 MiB+ 18.08 KiB
/0.314 s0.275 s-0.039 s4.23 MiB4.27 MiB+ 43.14 KiB
Average 0.887 s0.858 s-0.029 s4.41 MiB4.44 MiB+ 31.61 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
SVG
CSS
Language % Lines of code Comment lines Files
PHP56.8%2,7431,19184
JavaScript16.5%798459
SVG14.2%685420
CSS9.4%456443
JSON1.7%8002
Markdown1.2%5802
Ant0.2%801
Total 4,828 1,284 121

PHP Code Analysis | More results »

Lines of code 2,605
Total complexity 486
Median class complexity 1.0
Median method complexity 1.0
Most complex class Cloudflare\APO\WordPress\Hooks
Most complex function Cloudflare\APO\WordPress\Hooks::purgeCacheByRelevantURLs()
Classes 65
Methods 247
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Cloudflare" Admin Menu