Enable CORS 1.0.8

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: 25.07 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.057 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=0963015cdd
Aspect after-activation
HTTP status 200
Load time 3.821 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.228 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.241 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.288 s0.337 s+0.049 s3.07 MiB3.1 MiB+ 33.23 KiB
/wp-admin/edit.php0.196 s0.279 s+0.083 s3.1 MiB3.13 MiB+ 33.26 KiB
/wp-admin/post-new.php0.746 s1.029 s+0.283 s5.02 MiB5.06 MiB+ 36.75 KiB
/wp-admin/upload.php0.532 s0.368 s-0.164 s3.02 MiB3.03 MiB+ 16.24 KiB
/wp-admin/options-writing.php0.175 s0.353 s+0.178 s3.01 MiB3.02 MiB+ 4.45 KiB
/wp-admin/media-new.php0.308 s0.300 s-0.008 s2.99 MiB3.02 MiB+ 28.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.248 s+0.049 s3.01 MiB3.04 MiB+ 33.23 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.722 s+0.135 s5.01 MiB5.05 MiB+ 36.76 KiB
/wp-admin/options-discussion.php0.220 s0.278 s+0.058 s3 MiB3.02 MiB+ 18.49 KiB
/wp-admin/edit-comments.php0.220 s0.288 s+0.068 s3.03 MiB3.04 MiB+ 15.91 KiB
/0.298 s0.197 s-0.101 s2.97 MiB2.99 MiB+ 19.38 KiB
Average 0.343 s0.400 s+0.057 s3.38 MiB3.41 MiB+ 25.07 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.1%4022586
JavaScript5.9%2501
Total 427 258 7

PHP Code Analysis | More results »

Lines of code 367
Total complexity 56
Median class complexity 12.5
Median method complexity 2.0
Most complex class DevKabir\EnableCors\Setting
Most complex function DevKabir\EnableCors\Helper::headers()
Classes 4
Methods 24
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