WordPress Related Posts Thumbnails 2.0.1

Does "WordPress Related Posts Thumbnails" work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
6PHP warnings
1PHP notices
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
2Resource errors (CSS, JS, images, fonts and so on.)
  • 2 net::ERR_NAME_NOT_RESOLVED
Performance

Memory usage: 26.35 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.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/related-posts-thumbnails/
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=related-posts-thumbnails%2Frelated-posts-thumbnails.php&plugin_status=all&paged=1&s&_wpnonce=d28ac50fc2
Aspect after-activation
HTTP status 200
Load time 5.316 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Related Posts

Page screenshot: Related Posts
URL /wp-admin/admin.php?page=related-posts-thumbnails
Aspect menu-item
HTTP status 200
Load time 0.680 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Related Posts → Thumbnails

Screenshot not available
URL /wp-admin/admin.php?page=related-posts-thumbnails
Aspect menu-item-tab
HTTP status 200
Load time 0.379 s
Memory usage 3.3 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.358 s
Memory usage 3.37 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 1.792 s
Memory usage 5.15 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]related_posts_thumbnails_uriassets/blocks/css/blocks.editor.min.css?ver=1.9.0",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    },
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]related_posts_thumbnails_uriassets/blocks/js/blocks.editor.js?ver=1.9.0",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.359 s0.307 s-0.052 s3.37 MiB3.4 MiB+ 30.66 KiB
/wp-admin/edit.php0.196 s0.224 s+0.028 s3.4 MiB3.43 MiB+ 30.35 KiB
/wp-admin/post-new.php1.077 s1.199 s+0.122 s5.68 MiB5.71 MiB+ 32.55 KiB
/wp-admin/upload.php0.651 s0.353 s-0.298 s3.25 MiB3.28 MiB+ 37.22 KiB
/wp-admin/options-writing.php0.361 s0.156 s-0.205 s3.24 MiB3.26 MiB+ 21.07 KiB
/wp-admin/media-new.php0.254 s0.174 s-0.080 s3.23 MiB3.26 MiB+ 37.39 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.189 s-0.005 s3.27 MiB3.3 MiB+ 30.3 KiB
/wp-admin/post-new.php?post_type=page1.009 s1.164 s+0.155 s5.68 MiB5.7 MiB+ 28.13 KiB
/wp-admin/options-discussion.php0.239 s0.277 s+0.038 s3.22 MiB3.26 MiB+ 38.07 KiB
/wp-admin/edit-comments.php0.215 s0.227 s+0.012 s3.27 MiB3.3 MiB+ 29.3 KiB
/0.311 s0.215 s-0.096 s3.4 MiB3.37 MiB- 25.22 KiB
Average 0.442 s0.408 s-0.035 s3.73 MiB3.75 MiB+ 26.35 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
PO File
CSS
Language % Lines of code Comment lines Files
PHP60.9%2,3304728
PO File22.6%8662,0166
CSS11.0%42212
JavaScript5.4%2061162
Total 3,824 2,605 18

PHP Code Analysis | More results »

Lines of code 1,127
Total complexity 256
Median class complexity 33.0
Median method complexity 2.0
Most complex class RelatedPostsThumbnails
Most complex function RelatedPostsThumbnails::get_thumbnails()
Classes 4
Methods 43
Functions 7

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 2

Sidebar Widgets 1

ID Name
relatedpoststhumbnailswidgetRelated Posts Thumbnails

PHP Error Log 11 lines

[18-Apr-2022 12:54:24 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5698
[18-Apr-2022 12:54:24 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 11
[18-Apr-2022 12:54:24 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 14
[18-Apr-2022 12:54:24 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5698
[18-Apr-2022 12:54:27 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5698
[18-Apr-2022 12:54:28 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 11
[18-Apr-2022 12:54:28 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 14
[18-Apr-2022 12:54:28 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5698
[18-Apr-2022 12:54:32 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 11
[18-Apr-2022 12:54:32 UTC] PHP Warning:  Use of undefined constant RELATED_POSTS_THUMBNAILS_URI - assumed 'RELATED_POSTS_THUMBNAILS_URI' (this will throw an Error in a future version of PHP) in /wp-content/plugins/related-posts-thumbnails/inc/rpt-blocks.php on line 14
[18-Apr-2022 12:54:32 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5775
See also: All tests for this plugin, How to Hide the "Related Posts" Admin Menu