Enable CORS 1.1.0

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

Page speed impact: 0.022 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=26e0cb0de4
Aspect after-activation
HTTP status 200
Load time 3.855 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.197 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.303 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.464 s0.342 s-0.122 s3.07 MiB3.1 MiB+ 33.79 KiB
/wp-admin/edit.php0.200 s0.279 s+0.079 s3.1 MiB3.13 MiB+ 33.82 KiB
/wp-admin/post-new.php1.058 s1.517 s+0.459 s5.02 MiB5.06 MiB+ 37.38 KiB
/wp-admin/upload.php0.606 s0.387 s-0.219 s3.02 MiB3.03 MiB+ 16.8 KiB
/wp-admin/options-writing.php0.211 s0.199 s-0.012 s3.01 MiB3.02 MiB+ 5.01 KiB
/wp-admin/media-new.php0.364 s0.463 s+0.099 s2.99 MiB3.02 MiB+ 28.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.296 s+0.104 s3.01 MiB3.04 MiB+ 33.8 KiB
/wp-admin/post-new.php?post_type=page1.143 s0.910 s-0.233 s5.01 MiB5.05 MiB+ 37.38 KiB
/wp-admin/options-discussion.php0.208 s0.286 s+0.078 s3 MiB3.02 MiB+ 19.05 KiB
/wp-admin/edit-comments.php0.233 s0.299 s+0.066 s3.03 MiB3.04 MiB+ 16.47 KiB
/0.321 s0.265 s-0.056 s3.03 MiB2.99 MiB- 41.74 KiB
Average 0.455 s0.477 s+0.022 s3.39 MiB3.41 MiB+ 20.03 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.2%4082636
JavaScript5.8%2501
Total 433 263 7

PHP Code Analysis | More results »

Lines of code 371
Total complexity 55
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