WP Document Revisions 3.4.0

Does WP Document Revisions work with WordPress 6.0.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: 225.15 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/wp-document-revisions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=wp-document-revisions%2Fwp-document-revisions.php&plugin_status=all&paged=1&s&_wpnonce=f47b321621
Aspect after-activation
HTTP status 200
Load time 1.110 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Documents

Page screenshot: Documents
URL /wp-admin/edit.php?post_type=document
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Documents → Add Document

Page screenshot: Documents → Add Document
URL /wp-admin/post-new.php?post_type=document
Aspect menu-item
HTTP status 200
Load time 1.164 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

Documents → Workflow States

Page screenshot: Documents → Workflow States
URL /wp-admin/edit-tags.php?taxonomy=workflow_state&post_type=document
Aspect menu-item
HTTP status 200
Load time 0.245 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Documents → Validate Structure

Page screenshot: Documents → Validate Structure
URL /wp-admin/edit.php?post_type=document&page=wpdr_validate
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.88 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.242 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.309 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.258 s
Memory usage 5.78 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.289 s-0.049 s3.72 MiB3.94 MiB+ 220.91 KiB
/wp-admin/edit.php0.205 s0.210 s+0.005 s3.76 MiB3.97 MiB+ 218.74 KiB
/wp-admin/post-new.php1.051 s1.244 s+0.193 s5.55 MiB5.81 MiB+ 264.27 KiB
/wp-admin/upload.php0.453 s0.537 s+0.084 s3.69 MiB3.9 MiB+ 219.28 KiB
/wp-admin/options-writing.php0.253 s0.187 s-0.066 s3.62 MiB3.87 MiB+ 259.86 KiB
/wp-admin/media-new.php0.368 s0.255 s-0.113 s3.66 MiB3.88 MiB+ 216.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.209 s+0.013 s3.69 MiB3.9 MiB+ 216.44 KiB
/wp-admin/post-new.php?post_type=page0.950 s1.043 s+0.093 s5.54 MiB5.79 MiB+ 253.77 KiB
/wp-admin/options-discussion.php0.226 s0.243 s+0.017 s3.6 MiB3.87 MiB+ 281.58 KiB
/wp-admin/edit-comments.php0.226 s0.224 s-0.002 s3.7 MiB3.91 MiB+ 218.63 KiB
/0.293 s0.250 s-0.043 s3.6 MiB3.71 MiB+ 106.8 KiB
Average 0.414 s0.426 s+0.012 s4.01 MiB4.23 MiB+ 225.15 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File58.1%14,3197,62732
PHP31.4%7,7264,23923
JavaScript5.0%1,2315410
Markdown3.2%787017
Bourne Again Shell0.9%210574
CoffeeScript0.6%136311
CSS0.3%6864
YAML0.2%4903
Bourne Shell0.1%3407
XML0.1%3002
JSON0.1%2601
Ruby0.1%2211
Total 24,638 12,015 105

PHP Code Analysis | More results »

Lines of code 7,676
Total complexity 1,108
Median class complexity 25.0
Median method complexity 2.0
Most complex class WP_Document_Revisions
Most complex function WP_Document_Revisions::serve_file()
Classes 19
Methods 350
Functions 8

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 1

Custom Post Types 1

ID Name
documentDocuments

Sidebar Widgets 1

ID Name
wp_document_revisions_recently_revised_widgetRecently Revised Documents

Meta Boxes

{
    "dashboard": {
        "wpdr_dashboard": {
            "title": "Recently Revised Documents",
            "context": "normal"
        }
    }
}

Capabilities 13

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Document Revisions Admin Menus and Widgets