Enable CORS 1.1.1

Does Enable CORS work with WordPress 6.2.2 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: 24.14 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.035 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/enable-cors/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Enable CORS ‹ Test site — WordPress

Page screenshot: Enable CORS ‹ Test site — WordPress
URL /wp-admin/admin.php?page=enable-cors
Requested URL /wp-admin/plugins.php?action=activate&plugin=enable-cors%2Fenable-cors.php&plugin_status=all&paged=1&s&_wpnonce=ee476a44b6
Aspect after-activation
HTTP status 200
Load time 3.999 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Enable CORS

Page screenshot: Enable CORS
URL /wp-admin/admin.php?page=enable-cors
Aspect menu-item
HTTP status 200
Load time 0.254 s
Memory usage 3.01 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.223 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.355 s+0.051 s3.07 MiB3.1 MiB+ 32.18 KiB
/wp-admin/edit.php0.212 s0.287 s+0.075 s3.1 MiB3.13 MiB+ 32.21 KiB
/wp-admin/post-new.php0.791 s0.734 s-0.057 s5.02 MiB5.06 MiB+ 35.77 KiB
/wp-admin/upload.php0.589 s0.614 s+0.025 s3.02 MiB3.03 MiB+ 15.2 KiB
/wp-admin/options-writing.php0.193 s0.272 s+0.079 s3.01 MiB3.02 MiB+ 3.4 KiB
/wp-admin/media-new.php0.371 s0.364 s-0.007 s2.99 MiB3.02 MiB+ 27.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.300 s+0.099 s3.01 MiB3.04 MiB+ 32.19 KiB
/wp-admin/post-new.php?post_type=page0.654 s0.710 s+0.056 s5.01 MiB5.05 MiB+ 35.77 KiB
/wp-admin/options-discussion.php0.239 s0.335 s+0.096 s3 MiB3.02 MiB+ 17.45 KiB
/wp-admin/edit-comments.php0.239 s0.325 s+0.086 s3.03 MiB3.04 MiB+ 14.86 KiB
/0.348 s0.225 s-0.123 s2.97 MiB2.99 MiB+ 19.53 KiB
Average 0.376 s0.411 s+0.035 s3.38 MiB3.41 MiB+ 24.14 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
Language % Lines of code Comment lines Files
PHP94.4%4242646
JavaScript5.6%2501
Total 449 264 7

PHP Code Analysis | More results »

Lines of code 386
Total complexity 59
Median class complexity 14.5
Median method complexity 2.0
Most complex class DevKabir\EnableCors\Setting
Most complex function DevKabir\EnableCors\Helper::headers()
Classes 4
Methods 27
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 "Enable CORS" Admin Menu