Enable CORS 1.1.9

Does Enable CORS work with WordPress 6.4.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: 2.04 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.4.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=b3fdfa71f8
Aspect after-activation
HTTP status 200
Load time 0.534 s
Memory usage 3.32 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.316 s
Memory usage 3.31 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.196 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.426 s0.335 s-0.091 s3.38 MiB3.39 MiB+ 12.38 KiB
/wp-admin/edit.php0.230 s0.191 s-0.039 s3.41 MiB3.42 MiB+ 12.38 KiB
/wp-admin/post-new.php1.085 s0.741 s-0.344 s5.46 MiB5.48 MiB+ 24.87 KiB
/wp-admin/upload.php0.721 s0.430 s-0.291 s3.32 MiB3.32 MiB- 5.02 KiB
/wp-admin/options-writing.php0.223 s0.169 s-0.054 s3.32 MiB3.3 MiB- 12.44 KiB
/wp-admin/media-new.php0.309 s0.257 s-0.052 s3.29 MiB3.3 MiB+ 7.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.199 s-0.001 s3.31 MiB3.32 MiB+ 12.34 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.595 s-0.019 s5.45 MiB5.47 MiB+ 24.45 KiB
/wp-admin/options-discussion.php0.327 s0.457 s+0.130 s3.3 MiB3.3 MiB- 4.53 KiB
/wp-admin/edit-comments.php0.246 s0.222 s-0.024 s3.34 MiB3.33 MiB- 4.99 KiB
/0.285 s0.206 s-0.079 s3.36 MiB3.31 MiB- 44.11 KiB
Average 0.424 s0.346 s-0.079 s3.72 MiB3.72 MiB+ 2.04 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%74534312
Total 745 343 12

PHP Code Analysis | More results »

Lines of code 710
Total complexity 94
Median class complexity 8.5
Median method complexity 2.0
Most complex class Enable\Cors\Helpers\Cors
Most complex function Enable\Cors\Helpers\Cors::headers()
Classes 8
Methods 33
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