Editor Custom Color Palette 3.1

Does Editor Custom Color Palette work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
15PHP warnings
1PHP deprecation warnings
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 287.98 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.087 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 60+
WordPress.org page https://wordpress.org/plugins/editor-custom-color-palette/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=editor-custom-color-palette%2Feditor-custom-color-palette.php&plugin_status=all&paged=1&s&_wpnonce=9ab8b88dba
Aspect after-activation
HTTP status 200
Load time 0.753 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

ECCP Settings

Page screenshot: ECCP Settings
URL /wp-admin/admin.php?page=eccp_settings_page
Aspect menu-item
HTTP status 200
Load time 0.361 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Default settings

Page screenshot: ECCP Settings → Default settings
URL /wp-admin/admin.php?page=eccp_settings_page&tab=default_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.245 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Editor text size

Page screenshot: ECCP Settings → Editor text size
URL /wp-admin/admin.php?page=eccp_settings_page&tab=editor_text_size
Aspect menu-item-tab
HTTP status 200
Load time 0.292 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Customizing editor

Page screenshot: ECCP Settings → Customizing editor
URL /wp-admin/admin.php?page=eccp_settings_page&tab=customizing_gutenberg_editor
Aspect menu-item-tab
HTTP status 200
Load time 0.288 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Customizing Gutenberg blocks

Page screenshot: ECCP Settings → Customizing Gutenberg blocks
URL /wp-admin/admin.php?page=eccp_settings_page&tab=customizing_gutenberg_blocks
Aspect menu-item-tab
HTTP status 200
Load time 0.834 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Reusable blocks

Page screenshot: ECCP Settings → Reusable blocks
URL /wp-admin/admin.php?page=eccp_settings_page&tab=addons_reusable_blocks
Aspect menu-item-tab
HTTP status 200
Load time 1.083 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

ECCP Settings → Elementor

Page screenshot: ECCP Settings → Elementor
URL /wp-admin/admin.php?page=eccp_settings_page&tab=page_builder_elementor
Aspect menu-item-tab
HTTP status 200
Load time 0.283 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Divi

Page screenshot: ECCP Settings → Divi
URL /wp-admin/admin.php?page=eccp_settings_page&tab=divi_theme
Aspect menu-item-tab
HTTP status 200
Load time 0.297 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Customize Back Office

Page screenshot: ECCP Settings → Customize Back Office
URL /wp-admin/admin.php?page=eccp_settings_page&tab=customizing_back_office
Aspect menu-item-tab
HTTP status 200
Load time 0.589 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

ECCP Settings → Customize Front End

Page screenshot: ECCP Settings → Customize Front End
URL /wp-admin/admin.php?page=eccp_settings_page&tab=customizing_front_end
Aspect menu-item-tab
HTTP status 200
Load time 0.256 s
Memory usage 3.28 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.300 s
Memory usage 3.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.445 s+0.171 s3.07 MiB3.37 MiB+ 309.73 KiB
/wp-admin/edit.php0.180 s0.439 s+0.259 s3.1 MiB3.4 MiB+ 308.7 KiB
/wp-admin/post-new.php0.729 s0.922 s+0.193 s5.02 MiB5.31 MiB+ 298.98 KiB
/wp-admin/upload.php0.516 s0.349 s-0.167 s3.02 MiB3.28 MiB+ 272.27 KiB
/wp-admin/options-writing.php0.163 s0.410 s+0.247 s3.01 MiB3.29 MiB+ 283.3 KiB
/wp-admin/media-new.php0.274 s0.319 s+0.045 s2.99 MiB3.29 MiB+ 303.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.247 s0.253 s+0.006 s3.01 MiB3.31 MiB+ 308.82 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.639 s+0.061 s5.01 MiB5.3 MiB+ 294.57 KiB
/wp-admin/options-discussion.php0.203 s0.334 s+0.131 s3 MiB3.29 MiB+ 297.04 KiB
/wp-admin/edit-comments.php0.199 s0.270 s+0.071 s3.03 MiB3.31 MiB+ 290.13 KiB
/0.291 s0.227 s-0.064 s2.97 MiB3.17 MiB+ 201 KiB
Average 0.332 s0.419 s+0.087 s3.38 MiB3.67 MiB+ 287.98 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
PHP86.8%15,3648,2863
PO File6.9%1,2196761
CSS2.6%4551681
SVG2.5%440431
JavaScript1.2%21729012
Total 17,695 9,424 48

PHP Code Analysis | More results »

Lines of code 15,561
Total complexity 1,396
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function ecpp_block_style_front_end()
Classes 0
Methods 0
Functions 401

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.

Options wp_options 11

PHP Error Log 4312 lines

[28-May-2023 14:31:38 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/editor-custom-color-palette/editor-custom-color-palette.php on line 2741
[28-May-2023 14:31:38 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/editor-custom-color-palette/editor-custom-color-palette.php on line 1173
[28-May-2023 14:31:43 UTC] PHP Warning:  Undefined array key "label_for" in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 4784
[28-May-2023 14:31:43 UTC] PHP Warning:  Undefined array key "label_for" in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 4812
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7291
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7315
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7341
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7366
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7392
[28-May-2023 14:31:50 UTC] PHP Warning:  Undefined variable $avaible_blocks in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7250
[28-May-2023 14:31:50 UTC] PHP Warning:  foreach() argument must be of type array|object, null given in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 7416
[28-May-2023 14:32:00 UTC] <pre>array (
  'alignWide' => false,
  'allowedBlockTypes' => true,
  'allowedMimeTypes' => 
  array (
    'jpg|jpeg|jpe' => 'image/jpeg',
    'gif' => 'image/gif',
    'png' => 'image/png',
    'bmp' => 'image/bmp',
    'tiff|tif' => 'image/tiff',
    'webp' => 'image/webp',
    'ico' => 'image/x-icon',
    'heic' => 'image/heic',
    'asf|asx' => 'video/x-ms-asf',
    'wmv' => 'video/x-ms-wmv',
    'wmx' => 'video/x-ms-wmx',
    'wm' => 'video/x-ms-wm',
    'avi' => 'video/avi',
    'divx' => 'video/divx',
    'flv' => 'video/x-flv',
    'mov|qt' => 'video/quicktime',
    'mpeg|mpg|mpe' => 'video/mpeg',
    'mp4|m4v' => 'video/mp4',
    'ogv' => 'video/ogg',
    'webm' => 'video/webm',
    'mkv' => 'video/x-matroska',
    '3gp|3gpp' => 'video/3gpp',
    '3g2|3gp2' => 'video/3gpp2',
    'txt|asc|c|cc|h|srt' => 'text/plain',
    'csv' => 'text/csv',
    'tsv' => 'text/tab-separated-values',
    'ics' => 'text/calendar',
    'rtx' => 'text/richtext',
    'css' => 'text/css',
    'htm|html' => 'text/html',
    'vtt' => 'text/vtt',
    'dfxp' => 'application/ttaf+xml',
    'mp3|m4a|m4b' => 'audio/mpeg',
    'aac' => 'audio/aac',
    'ra|ram' => 'audio/x-realaudio',
    'wav' => 'audio/wav',
    'ogg|oga' => 'audio/ogg',
    'flac' => 'audio/flac',
    'mid|midi' => 'audio/midi',
    'wma' => 'audio/x-ms-wma',
    'wax' => 'audio/x-ms-wax',
    'mka' => 'audio/x-matroska',
    'rtf' => 'application/rtf',
    'js' => 'application/javascript',
    'pdf' => 'application/pdf',
    'class' => 'application/java',
    'tar' => 'application/x-tar',
    'zip' => 'application/zip',
    'gz|gzip' => 'application/x-gzip',
    'rar' => 'application/rar',
    '7z' => 'application/x-7z-compressed',
    'psd' => 'application/octet-stream',
    'xcf' => 'application/octet-stream',
    'doc' => 'application/msword',
    'pot|pps|ppt' => 'application/vnd.ms-powerpoint',
    'wri' => 'application/vnd.ms-write',
    'xla|xls|xlt|xlw' => 'application/vnd.ms-excel',
    'mdb' => 'application/vnd.ms-access',
    'mpp' => 'application/vnd.ms-project',
    'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
    'docm' => 'application/vnd.ms-word.document.macroEnabled.12',
    'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
    'dotm' => 'application/vnd.ms-word.template.macroEnabled.12',
    'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
    'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12',
    'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
    'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
    'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12',
    'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
    'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
    'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
    'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
    'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
    'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
    'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
    'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
    'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
    'sldm' => 'application/vnd.ms-powerpoint.slide.macroEnabled.12',
    'onetoc|onetoc2|onetmp|onepkg' => 'application/onenote',

(+4212 more lines)
See also: All tests for this plugin, How to Hide Editor Custom Color Palette Admin Menus and Meta Boxes