Enable CORS 1.0.9

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.090 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=d9c794540c
Aspect after-activation
HTTP status 200
Load time 4.357 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.192 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.250 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.268 s0.318 s+0.050 s3.07 MiB3.1 MiB+ 33.23 KiB
/wp-admin/edit.php0.180 s0.236 s+0.056 s3.1 MiB3.13 MiB+ 33.26 KiB
/wp-admin/post-new.php0.712 s1.362 s+0.650 s5.02 MiB5.06 MiB+ 36.75 KiB
/wp-admin/upload.php0.684 s0.359 s-0.325 s3.02 MiB3.03 MiB+ 16.24 KiB
/wp-admin/options-writing.php0.159 s0.212 s+0.053 s3.01 MiB3.02 MiB+ 4.45 KiB
/wp-admin/media-new.php0.255 s0.426 s+0.171 s2.99 MiB3.02 MiB+ 28.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.259 s+0.086 s3.01 MiB3.04 MiB+ 33.23 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.833 s+0.254 s5.01 MiB5.05 MiB+ 36.76 KiB
/wp-admin/options-discussion.php0.268 s0.279 s+0.011 s3 MiB3.02 MiB+ 18.49 KiB
/wp-admin/edit-comments.php0.236 s0.271 s+0.035 s3.03 MiB3.04 MiB+ 15.91 KiB
/0.294 s0.238 s-0.056 s2.97 MiB2.99 MiB+ 19.38 KiB
Average 0.346 s0.436 s+0.090 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.3%4102636
JavaScript5.7%2501
Total 435 263 7

PHP Code Analysis | More results »

Lines of code 375
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