Editor Custom Color Palette 2.9.8

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

Summary

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

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

Page speed impact: 0.030 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90+
WordPress.org page https://wordpress.org/plugins/editor-custom-color-palette/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=6ab1e28484
Aspect after-activation
HTTP status 200
Load time 0.404 s
Memory usage 3.17 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.722 s
Memory usage 3.15 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.276 s
Memory usage 3.15 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.300 s
Memory usage 3.15 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.311 s
Memory usage 3.15 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.886 s
Memory usage 3.15 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 0.411 s
Memory usage 3.15 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.310 s
Memory usage 3.15 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.303 s
Memory usage 3.15 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.235 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.302 s+0.010 s3.05 MiB3.22 MiB+ 176.66 KiB
/wp-admin/edit.php0.196 s0.226 s+0.030 s3.07 MiB3.25 MiB+ 177.01 KiB
/wp-admin/post-new.php0.852 s1.264 s+0.412 s4.97 MiB5.15 MiB+ 186.34 KiB
/wp-admin/upload.php0.678 s0.436 s-0.242 s2.99 MiB3.15 MiB+ 161.79 KiB
/wp-admin/options-writing.php0.183 s0.179 s-0.004 s2.99 MiB3.14 MiB+ 151.5 KiB
/wp-admin/media-new.php0.306 s0.261 s-0.045 s2.97 MiB3.14 MiB+ 173.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.205 s+0.009 s2.98 MiB3.15 MiB+ 177.95 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.660 s+0.024 s4.96 MiB5.14 MiB+ 181.93 KiB
/wp-admin/options-discussion.php0.206 s0.250 s+0.044 s2.98 MiB3.14 MiB+ 165.34 KiB
/wp-admin/edit-comments.php0.210 s0.373 s+0.163 s3 MiB3.16 MiB+ 160.2 KiB
/0.297 s0.223 s-0.074 s2.94 MiB3.02 MiB+ 79.33 KiB
Average 0.368 s0.398 s+0.030 s3.35 MiB3.51 MiB+ 162.91 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
PHP87.1%10,9655,8343
PO File6.5%8134641
SVG3.5%438429
CSS2.5%3181191
JavaScript0.5%60695
Total 12,594 6,490 39

PHP Code Analysis | More results »

Lines of code 11,082
Total complexity 862
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function ecpp_block_style_back_office()
Classes 0
Methods 0
Functions 247

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 9

PHP Error Log 3898 lines

[21-Nov-2022 13:49:10 UTC] PHP Deprecated:  Optional parameter $avatar declared before required parameter $id_or_email is implicitly treated as a required parameter in /wp-content/plugins/editor-custom-color-palette/editor-custom-color-palette.php on line 5112
[21-Nov-2022 13:49:10 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 2063
[21-Nov-2022 13:49:10 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 911
[21-Nov-2022 13:49:15 UTC] PHP Warning:  Undefined array key "label_for" in /wp-content/plugins/editor-custom-color-palette/inc/eccp-multiple-settings.php on line 3646
[21-Nov-2022 13:49:27 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',
    'oxps' => 'application/oxps',
    'xps' => 'application/vnd.ms-xpsdocument',
    'odt' => 'application/vnd.oasis.opendocument.text',
    'odp' => 'application/vnd.oasis.opendocument.presentation',
    'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
    'odg' => 'application/vnd.oasis.opendocument.graphics',
    'odc' => 'application/vnd.oasis.opendocument.chart',
    'odb' => 'application/vnd.oasis.opendocument.database',
    'odf' => 'application/vnd.oasis.opendocument.formula',
    'wp|wpd' => 'application/wordperfect',
    'key' => 'application/vnd.apple.keynote',
    'numbers' => 'application/vnd.apple.numbers',

(+3798 more lines)
See also: All tests for this plugin, How to Hide the "ECCP Settings" Admin Menu