WordPress Related Posts Thumbnails 4.0.1

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

Summary

Errors
1PHP notices
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 66.16 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=0c0f449b8a
Aspect after-activation
HTTP status 200
Load time 3.707 s
Memory usage 3.54 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.795 s
Memory usage 3.75 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.443 s
Memory usage 3.52 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.254 s
Memory usage 3.44 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.756 s
Memory usage 5.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.342 s-0.010 s3.47 MiB3.52 MiB+ 45.85 KiB
/wp-admin/edit.php0.221 s0.232 s+0.011 s3.54 MiB3.58 MiB+ 47.98 KiB
/wp-admin/post-new.php0.835 s0.681 s-0.154 s5.75 MiB5.87 MiB+ 119.74 KiB
/wp-admin/upload.php0.628 s0.659 s+0.031 s3.49 MiB3.52 MiB+ 30.58 KiB
/wp-admin/options-writing.php0.231 s0.314 s+0.083 s3.41 MiB3.5 MiB+ 93.38 KiB
/wp-admin/media-new.php0.269 s0.238 s-0.031 s3.4 MiB3.5 MiB+ 106.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.221 s+0.027 s3.47 MiB3.52 MiB+ 53.44 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.650 s+0.038 s5.75 MiB5.86 MiB+ 115.38 KiB
/wp-admin/options-discussion.php0.239 s0.295 s+0.056 s3.41 MiB3.5 MiB+ 95.07 KiB
/wp-admin/edit-comments.php0.242 s0.237 s-0.005 s3.49 MiB3.52 MiB+ 30.57 KiB
/0.331 s0.250 s-0.081 s3.45 MiB3.44 MiB- 11.01 KiB
Average 0.378 s0.374 s-0.003 s3.87 MiB3.94 MiB+ 66.16 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP48.1%3,27957513
CSS28.0%1,909404
PO File12.7%8662,0166
JavaScript9.7%6623103
SVG1.4%9703
Total 6,813 2,941 29

PHP Code Analysis | More results »

Lines of code 1,754
Total complexity 329
Median class complexity 45.0
Median method complexity 3.0
Most complex class RelatedPostsThumbnails
Most complex function RelatedPostsThumbnails::get_thumbnails()
Classes 4
Methods 51
Functions 19

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 4

Sidebar Widgets 1

ID Name
relatedpoststhumbnailswidgetRelated Posts Thumbnails

PHP Error Log 3 lines

[11-Sep-2024 00:57:54 UTC] I am in LoginPress but my slug is: related-posts-thumbnails
[11-Sep-2024 00:57:57 UTC] Log sent successfully{"authentication":{"public_key":"1|4aOA8EuyIN4pi2miMvC23LLpnHbBZFNki9R9pVmwd673d3c8"},"site_info":{"site_url":"http:\/\/127.0.0.1","home_url":"http:\/\/127.0.0.1"},"site_meta_info":{"is_multisite":false,"multisites":false,"php_version":"8.1.12","wp_version":"6.6.2","server":"Apache","timezoneoffset":"+00:00","ext\/mysqli":true,"mysql_version":"10.6.10-MariaDB","memory_limit":"512M","external_http_blocked":"none","wp_locale":"en_US","db_charset":"utf8","debug_mode":true,"wp_max_upload":"80 MB","php_time_limit":"30","php_error_log":"\/opt\/bitnami\/php\/var\/log\/php_errors.log","fsockopen":true,"open_ssl":"OpenSSL 1.1.1n  15 Mar 2022","curl":"(7.74.0 OpenSSL\/1.1.1n)","ip":"127.0.0.1","user_count":1,"admin_email":"user@example.com","theme_name":"Twenty Seventeen","theme_version":"3.7"},"user_info":{"user_email":"user@example.com","user_nickname":"user","user_firstname":"Example","user_lastname":"User"},"sdk_version":"3.0.3","location_details":{"response_code":"400","message":"Error: Missing information for country_name, country_code for the IP Address: 127.0.0.1"},"product_info":{"name":"WordPress Related Posts Thumbnails","slug":"related-posts-thumbnails","id":"3","type":"Plugin","path":"\/opt\/bitnami\/wordpress\/wp-content\/plugins\/related-posts-thumbnails\/related-posts-thumbnails.php","version":"4.0.1"},"product_settings":[{"option":"relpoststh_default_image","value":false},{"option":"rpt_active_time","value":false},{"option":"relpoststh_single_only","value":false},{"option":"relpoststh_mobile_view","value":false},{"option":"relpoststh_post_types","value":false},{"option":"relpoststh_onlywiththumbs","value":false},{"option":"relpoststh_output_style","value":false},{"option":"relpoststh_cleanhtml","value":false},{"option":"relpoststh_auto","value":false},{"option":"relpoststh_top_text","value":false},{"option":"relpoststh_number","value":false},{"option":"relpoststh_relation","value":false},{"option":"relpoststh_poststhname","value":false},{"option":"relpoststh_background","value":false},{"option":"relpoststh_hoverbackground","value":false},{"option":"relpoststh_bordercolor","value":false},{"option":"relpoststh_fontcolor","value":false},{"option":"relpoststh_fontsize","value":false},{"option":"relpoststh_fontfamily","value":false},{"option":"relpoststh_textlength","value":false},{"option":"relpoststh_excerptlength","value":false},{"option":"relpoststh_thsource","value":false},{"option":"relpoststh_customfield","value":false},{"option":"relpoststh_theme_resize_url","value":false},{"option":"relpoststh_customwidth","value":false},{"option":"relpoststh_customheight","value":false},{"option":"relpoststh_textblockheight","value":false},{"option":"rpt_post_sort","value":false},{"option":"relpoststh_categories","value":false},{"option":"relpoststh_categoriesall","value":false},{"option":"relpoststh_show_categoriesall","value":false},{"option":"relpoststh_show_categories","value":false},{"option":"relpoststh_devmode","value":false},{"option":"relpoststh_startdate","value":false},{"option":"relpoststh_custom_taxonomies","value":false},{"option":"relpoststh_show_taxonomy","value":false}],"site_plugins_info":"{\"active\":[],\"inactive\":[\"hello-dolly\\\/hello.php\",\"related-posts-thumbnails\\\/related-posts-thumbnails.php\"]}","explicit_logs":{"action":"activate"},"sent_at":"2024-09-11 00:57:57","log_status":"new"}
[11-Sep-2024 00:58:11 UTC] PHP Notice:  Function 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide the "Related Posts" Admin Menu