Post Expirator 2.4.2

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 35.6 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.7.2
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 5

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=97b0b6e144
Aspect after-activation
HTTP status 200
Load time 0.357 s
Memory usage 2.74 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.192 s
Memory usage 2.71 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.261 s
Memory usage 2.68 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.091 s
Memory usage 5.09 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.691 s
Memory usage 5.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.285 s0.283 s-0.002 s2.82 MiB2.85 MiB+ 33.91 KiB
/wp-admin/edit.php0.205 s0.226 s+0.021 s2.86 MiB2.9 MiB+ 36.85 KiB
/wp-admin/post-new.php1.563 s1.036 s-0.527 s5.02 MiB5.09 MiB+ 70.23 KiB
/wp-admin/upload.php0.610 s0.468 s-0.142 s2.7 MiB2.73 MiB+ 32.04 KiB
/wp-admin/options-writing.php0.257 s0.165 s-0.092 s2.71 MiB2.71 MiB+ 16 bytes
/wp-admin/media-new.php0.232 s0.223 s-0.009 s2.67 MiB2.7 MiB+ 32.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.221 s+0.025 s2.77 MiB2.8 MiB+ 33.12 KiB
/wp-admin/post-new.php?post_type=page1.097 s0.803 s-0.294 s5.01 MiB5.07 MiB+ 61.19 KiB
/wp-admin/options-discussion.php0.300 s0.304 s+0.004 s2.67 MiB2.71 MiB+ 32.52 KiB
/wp-admin/edit-comments.php0.241 s0.230 s-0.011 s2.78 MiB2.81 MiB+ 32.02 KiB
/0.289 s0.238 s-0.051 s2.65 MiB2.68 MiB+ 27.53 KiB
Average 0.480 s0.382 s-0.098 s3.15 MiB3.19 MiB+ 35.6 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
PHP95.1%1,6662702
JavaScript3.1%55161
CSS1.8%3101
Total 1,752 286 4

PHP Code Analysis | More results »

Lines of code 1,673
Total complexity 338
Median class complexity 8.5
Median method complexity 1.0
Most complex class PostExpiratorDebug
Most complex function postexpirator_expire_post()
Classes 2
Methods 11
Functions 37

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 8

Meta Boxes

{
    "post": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "page": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "attachment": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "revision": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "nav_menu_item": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "custom_css": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "customize_changeset": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "oembed_cache": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "user_request": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    },
    "wp_block": {
        "expirationdatediv": {
            "title": "Post Expirator",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Post Expirator Admin Menus and Meta Boxes