WP-PostRatings 1.91.2

Does WP-PostRatings work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP warnings
5PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 41.63 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/wp-postratings/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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-postratings%2Fwp-postratings.php&plugin_status=all&paged=1&s&_wpnonce=12f4e99eef
Aspect after-activation
HTTP status 200
Load time 0.360 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Ratings

Page screenshot: Ratings
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-manager.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-manager.php
Aspect menu-item
HTTP status 200
Load time 0.174 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Ratings → Ratings Options

Page screenshot: Ratings → Ratings Options
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-options.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-options.php
Aspect menu-item
HTTP status 200
Load time 0.528 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Ratings → Ratings Templates

Page screenshot: Ratings → Ratings Templates
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-templates.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-templates.php
Aspect menu-item
HTTP status 200
Load time 0.152 s
Memory usage 3.57 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.181 s
Memory usage 3.48 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.437 s
Memory usage 5.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.399 s0.290 s-0.109 s3.51 MiB3.55 MiB+ 48.03 KiB
/wp-admin/edit.php0.218 s0.190 s-0.028 s3.57 MiB3.62 MiB+ 48.01 KiB
/wp-admin/post-new.php0.784 s0.638 s-0.146 s6.06 MiB6.11 MiB+ 51.66 KiB
/wp-admin/upload.php0.556 s0.490 s-0.066 s3.52 MiB3.55 MiB+ 29.13 KiB
/wp-admin/options-writing.php0.220 s0.199 s-0.021 s3.5 MiB3.53 MiB+ 33.13 KiB
/wp-admin/media-new.php0.268 s0.251 s-0.017 s3.49 MiB3.53 MiB+ 41.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.253 s0.207 s-0.046 s3.5 MiB3.56 MiB+ 51.99 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.610 s+0.003 s6.05 MiB6.1 MiB+ 47.19 KiB
/wp-admin/options-discussion.php0.445 s0.246 s-0.199 s3.5 MiB3.53 MiB+ 29.63 KiB
/wp-admin/edit-comments.php0.233 s0.214 s-0.019 s3.52 MiB3.55 MiB+ 29.13 KiB
/0.301 s0.209 s-0.092 s3.43 MiB3.48 MiB+ 48.73 KiB
Average 0.389 s0.322 s-0.067 s3.97 MiB4.01 MiB+ 41.63 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.0%3,46541313
JavaScript3.9%142625
CSS0.8%28332
JSON0.4%1301
Total 3,648 508 21

PHP Code Analysis | More results »

Lines of code 2,311
Total complexity 536
Median class complexity 7.0
Median method complexity 1.0
Most complex class WP_Widget_PostRatings
Most complex function expand_ratings_template()
Classes 3
Methods 11
Functions 69

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.

Database Tables 1

Options wp_options 16

Sidebar Widgets 1

ID Name
ratings-widgetRatings

Capabilities 1

PHP Error Log 17 lines

[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[01-May-2025 00:47:48 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[01-May-2025 00:47:48 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[01-May-2025 00:47:48 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[01-May-2025 00:47:48 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[01-May-2025 00:47:48 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[01-May-2025 00:47:48 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/link-template.php on line 4830
See also: All tests for this plugin, How to Hide WP-PostRatings Admin Menus