KD Submissions 1.0.4

Does KD Submissions work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 21.87 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.7.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/kd-submissions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=kd-submissions%2Fkd-submissions.php&plugin_status=all&paged=1&s&_wpnonce=a31a11fd07
Aspect after-activation
HTTP status 200
Load time 0.412 s
Memory usage 3.52 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.236 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.307 s-0.029 s3.48 MiB3.51 MiB+ 33.23 KiB
/wp-admin/edit.php0.217 s0.209 s-0.008 s3.54 MiB3.57 MiB+ 34.11 KiB
/wp-admin/post-new.php0.934 s0.610 s-0.324 s5.92 MiB5.96 MiB+ 37.66 KiB
/wp-admin/upload.php0.579 s0.356 s-0.223 s3.49 MiB3.51 MiB+ 15.87 KiB
/wp-admin/options-writing.php0.225 s0.194 s-0.031 s3.47 MiB3.49 MiB+ 19.86 KiB
/wp-admin/media-new.php0.362 s0.387 s+0.025 s3.46 MiB3.49 MiB+ 28.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.255 s+0.036 s3.47 MiB3.51 MiB+ 38.73 KiB
/wp-admin/post-new.php?post_type=page0.584 s0.583 s-0.001 s5.92 MiB5.95 MiB+ 33.19 KiB
/wp-admin/options-discussion.php0.289 s0.242 s-0.047 s3.47 MiB3.49 MiB+ 16.36 KiB
/wp-admin/edit-comments.php0.211 s0.200 s-0.011 s3.49 MiB3.51 MiB+ 15.86 KiB
/0.321 s0.199 s-0.122 s3.47 MiB3.44 MiB- 32.39 KiB
Average 0.389 s0.322 s-0.067 s3.93 MiB3.95 MiB+ 21.87 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP34.2%1,0711064
JavaScript32.4%1,0141052
CSS31.0%970331
Markdown1.8%5601
SVG0.7%2317
Total 3,134 245 15

PHP Code Analysis | More results »

Lines of code 825
Total complexity 101
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function keyd_filter_submissions_by_form()
Classes 0
Methods 0
Functions 22

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.

Database Tables 2

PHP Error Log 17 lines

[14-Jan-2025 11:00:27 UTC] WordPress database error Can't create table `wordpress`.`wp_submission_comments` (errno: 150 "Foreign key constraint is incorrectly formed") for query CREATE TABLE IF NOT EXISTS wp_submission_comments (
        id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
        submission_id BIGINT(20) UNSIGNED NOT NULL,
        comment TEXT NOT NULL,
        created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
        PRIMARY KEY (id),
        FOREIGN KEY (submission_id) REFERENCES wp_e_submissions(id) ON DELETE CASCADE
    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activate_kd-submissions/kd-submissions.php'), WP_Hook->do_action, WP_Hook->apply_filters, keyd_submissions_update_database_schema, dbDelta
[14-Jan-2025 11:00:27 UTC] WordPress database error Can't create table `wordpress`.`wp_submission_statuses` (errno: 150 "Foreign key constraint is incorrectly formed") for query CREATE TABLE IF NOT EXISTS wp_submission_statuses (
        id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
        submission_id BIGINT(20) UNSIGNED NOT NULL,
        status_id BIGINT(20) UNSIGNED NOT NULL,
        PRIMARY KEY (id),
        UNIQUE (submission_id, status_id),
        FOREIGN KEY (submission_id) REFERENCES wp_e_submissions(id) ON DELETE CASCADE,
        FOREIGN KEY (status_id) REFERENCES wp_statuses(id) ON DELETE CASCADE
    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activate_kd-submissions/kd-submissions.php'), WP_Hook->do_action, WP_Hook->apply_filters, keyd_submissions_update_database_schema, dbDelta
See also: All tests for this plugin