Enable CORS 1.1.6

Does Enable CORS work with WordPress 6.3.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: 4.09 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 version6.3.1
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=aa5a50c96c
Aspect after-activation
HTTP status 200
Load time 1.445 s
Memory usage 2.74 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.229 s
Memory usage 2.74 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.162 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.283 s-0.061 s2.82 MiB2.83 MiB+ 10.79 KiB
/wp-admin/edit.php0.199 s0.178 s-0.021 s2.85 MiB2.86 MiB+ 10.79 KiB
/wp-admin/post-new.php0.751 s0.596 s-0.155 s5.21 MiB5.23 MiB+ 21.29 KiB
/wp-admin/upload.php0.608 s0.457 s-0.151 s2.77 MiB2.76 MiB- 6.63 KiB
/wp-admin/options-writing.php0.219 s0.189 s-0.030 s2.76 MiB2.75 MiB- 14.66 KiB
/wp-admin/media-new.php0.386 s0.205 s-0.181 s2.74 MiB2.74 MiB+ 5.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.208 s+0.016 s2.76 MiB2.77 MiB+ 10.74 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.595 s+0.011 s5.21 MiB5.22 MiB+ 16.88 KiB
/wp-admin/options-discussion.php0.385 s0.216 s-0.169 s2.75 MiB2.74 MiB- 6.13 KiB
/wp-admin/edit-comments.php0.239 s0.383 s+0.144 s2.78 MiB2.77 MiB- 6.59 KiB
/0.267 s0.220 s-0.047 s3.13 MiB3.13 MiB+ 2.91 KiB
Average 0.379 s0.321 s-0.059 s3.25 MiB3.26 MiB+ 4.09 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
PHP100.0%47531810
Total 475 318 10

PHP Code Analysis | More results »

Lines of code 451
Total complexity 66
Median class complexity 8.0
Median method complexity 1.5
Most complex class Enable\Cors\Helpers\Cors
Most complex function Enable\Cors\Helpers\Cors::headers()
Classes 6
Methods 26
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