Enable CORS 1.1.3

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: 16.03 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.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=725d573fd0
Aspect after-activation
HTTP status 200
Load time 4.175 s
Memory usage 3 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.209 s
Memory usage 3 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.249 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.247 s-0.050 s3.07 MiB3.09 MiB+ 19.69 KiB
/wp-admin/edit.php0.200 s0.198 s-0.002 s3.1 MiB3.12 MiB+ 19.72 KiB
/wp-admin/post-new.php0.784 s0.632 s-0.152 s5.02 MiB5.05 MiB+ 25.42 KiB
/wp-admin/upload.php0.561 s0.300 s-0.261 s3.02 MiB3.02 MiB+ 3.38 KiB
/wp-admin/options-writing.php0.158 s0.157 s-0.001 s3.01 MiB3 MiB- 9.09 KiB
/wp-admin/media-new.php0.340 s0.447 s+0.107 s2.99 MiB3.01 MiB+ 15.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.194 s+0.011 s3.01 MiB3.02 MiB+ 19.64 KiB
/wp-admin/post-new.php?post_type=page0.630 s0.625 s-0.005 s5.01 MiB5.03 MiB+ 21 KiB
/wp-admin/options-discussion.php0.219 s0.238 s+0.019 s3 MiB3 MiB+ 4.96 KiB
/wp-admin/edit-comments.php0.203 s0.219 s+0.016 s3.03 MiB3.03 MiB+ 2.31 KiB
/0.311 s0.222 s-0.089 s2.97 MiB3.02 MiB+ 54.05 KiB
Average 0.353 s0.316 s-0.037 s3.38 MiB3.4 MiB+ 16.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
PHP100.0%41223010
Total 412 230 10

PHP Code Analysis | More results »

Lines of code 387
Total complexity 64
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