Legitimate Post Submitter 1.0.4

Does Legitimate Post Submitter work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
3PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 10.63 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/legitimate-post-submitter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=legitimate-post-submitter%2Flegitimate.php&plugin_status=all&paged=1&s&_wpnonce=afd6fd72fe
Aspect after-activation
HTTP status 200
Load time 0.233 s
Memory usage 3.39 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.198 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.613 s
Memory usage 5.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.360 s0.320 s-0.040 s3.44 MiB3.45 MiB+ 16.13 KiB
/wp-admin/edit.php0.209 s0.384 s+0.175 s3.46 MiB3.5 MiB+ 35.51 KiB
/wp-admin/post-new.php0.951 s0.609 s-0.342 s5.59 MiB5.64 MiB+ 45.45 KiB
/wp-admin/upload.php0.521 s0.577 s+0.056 s3.38 MiB3.38 MiB- 936 bytes
/wp-admin/options-writing.php0.216 s0.275 s+0.059 s3.37 MiB3.36 MiB- 8.95 KiB
/wp-admin/media-new.php0.298 s0.259 s-0.039 s3.35 MiB3.36 MiB+ 11.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.331 s+0.136 s3.37 MiB3.41 MiB+ 38.71 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.579 s+0.020 s5.59 MiB5.6 MiB+ 19.31 KiB
/wp-admin/options-discussion.php0.232 s0.260 s+0.028 s3.36 MiB3.36 MiB- 432 bytes
/wp-admin/edit-comments.php0.293 s0.371 s+0.078 s3.39 MiB3.39 MiB- 944 bytes
/0.302 s0.236 s-0.066 s3.42 MiB3.38 MiB- 38.18 KiB
Average 0.376 s0.382 s+0.006 s3.79 MiB3.8 MiB+ 10.63 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
Language % Lines of code Comment lines Files
PHP74.3%3271212
JavaScript15.2%6731
CSS5.9%2601
JSON4.5%2001
Total 440 15 15

PHP Code Analysis | More results »

Lines of code 191
Total complexity 37
Median class complexity 4.0
Median method complexity 1.0
Most complex class Legitimate\Application\Pages\Post\Metaboxes\Legitimate
Most complex function Legitimate\Application\Pages\Post\Metaboxes\Legitimate::saveMetaData()
Classes 6
Methods 15
Functions 1

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.

Meta Boxes

{
    "post": {
        "legitimate-fields": {
            "title": "Legitimate",
            "context": "advanced"
        }
    }
}

PHP Error Log 6 lines

[19-Apr-2024 03:41:44 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/legitimate-post-submitter/src/Application/Pages/Post/Metaboxes/Legitimate.php on line 16
[19-Apr-2024 03:41:44 UTC] PHP Notice:  Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 6.1.0.) in /wp-includes/functions.php on line 6078
[19-Apr-2024 03:41:49 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/legitimate-post-submitter/src/Application/Pages/Post/Metaboxes/Legitimate.php on line 16
[19-Apr-2024 03:41:49 UTC] PHP Notice:  Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 6.1.0.) in /wp-includes/functions.php on line 6078
[19-Apr-2024 03:41:53 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/legitimate-post-submitter/src/Application/Pages/Post/Metaboxes/Legitimate.php on line 16
[19-Apr-2024 03:41:53 UTC] PHP Notice:  Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 6.1.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide the "Legitimate" Meta Box