Post Expirator 2.5.0

Does Post Expirator work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 87.99 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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/post-expirator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=post-expirator%2Fpost-expirator.php&plugin_status=all&paged=1&s&_wpnonce=f2226f2c5a
Aspect after-activation
HTTP status 200
Load time 0.401 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Settings → Post Expirator

Page screenshot: Settings → Post Expirator
URL /wp-admin/options-general.php?page=post-expirator.php
Aspect menu-item
HTTP status 200
Load time 0.214 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Settings → Post Expirator → Post Types

Page screenshot: Settings → Post Expirator → Post Types
URL /wp-admin/options-general.php?page=post-expirator.php&tab=defaults
Aspect menu-item-tab
HTTP status 200
Load time 0.153 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Settings → Post Expirator → Diagnostics

Page screenshot: Settings → Post Expirator → Diagnostics
URL /wp-admin/options-general.php?page=post-expirator.php&tab=diagnostics
Aspect menu-item-tab
HTTP status 200
Load time 0.150 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.185 s
Memory usage 2.98 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 1.059 s
Memory usage 5.37 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.987 s
Memory usage 5.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.264 s-0.083 s3.08 MiB3.16 MiB+ 82.3 KiB
/wp-admin/edit.php0.213 s0.225 s+0.012 s3.11 MiB3.32 MiB+ 216.89 KiB
/wp-admin/post-new.php1.258 s1.354 s+0.096 s5.27 MiB5.37 MiB+ 105.02 KiB
/wp-admin/upload.php0.634 s0.478 s-0.156 s3.03 MiB3.1 MiB+ 72.44 KiB
/wp-admin/options-writing.php0.140 s0.139 s-0.001 s3.02 MiB3.08 MiB+ 56.41 KiB
/wp-admin/media-new.php0.254 s0.201 s-0.053 s3.01 MiB3.08 MiB+ 72.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.291 s0.184 s-0.107 s3.04 MiB3.12 MiB+ 81.52 KiB
/wp-admin/post-new.php?post_type=page1.199 s1.079 s-0.120 s5.26 MiB5.36 MiB+ 103.48 KiB
/wp-admin/options-discussion.php0.339 s0.274 s-0.065 s3 MiB3.07 MiB+ 72.92 KiB
/wp-admin/edit-comments.php0.232 s0.333 s+0.101 s3.04 MiB3.12 MiB+ 80.42 KiB
/0.295 s0.228 s-0.067 s2.96 MiB2.98 MiB+ 23.84 KiB
Average 0.473 s0.433 s-0.040 s3.44 MiB3.52 MiB+ 87.99 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
CSS
Language % Lines of code Comment lines Files
PHP73.1%2,30459015
CSS14.9%470314
JSX6.9%21651
JavaScript3.9%124293
JSON1.2%3901
Total 3,153 655 24

PHP Code Analysis | More results »

Lines of code 1,657
Total complexity 399
Median class complexity 48.0
Median method complexity 2.0
Most complex class PostExpirator_Display
Most complex function postexpirator_expire_post()
Classes 5
Methods 37
Functions 43

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

Meta Boxes

{
    "post": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "page": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    }
}

PHP Error Log 2 lines

[09-Sep-2021 19:13:03 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/post-expirator/views/quick-edit.php on line 51
[09-Sep-2021 19:13:03 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/post-expirator/views/bulk-edit.php on line 72
See also: All tests for this plugin, How to Hide Post Expirator Admin Menus and Meta Boxes