Random Featured Post 1.1.3

Does Random Featured Post work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
31PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 12.71 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/random-featured-post-plugin/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=random-featured-post-plugin%2Ffeaturedpost.php&plugin_status=all&paged=1&s&_wpnonce=6007654767
Aspect after-activation
HTTP status 200
Load time 0.252 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Settings → Featured Post

Page screenshot: Settings → Featured Post
URL /wp-admin/options-general.php?page=random-featured-post-plugin%2Ffeaturedpost.php
Requested URL /wp-admin/options-general.php?page=random-featured-post-plugin/featuredpost.php
Aspect menu-item
HTTP status 200
Load time 0.128 s
Memory usage N/A
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.204 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.326 s0.284 s-0.042 s3.47 MiB3.48 MiB+ 7.97 KiB
/wp-admin/edit.php0.212 s0.196 s-0.016 s3.54 MiB3.54 MiB+ 6.52 KiB
/wp-admin/post-new.php0.707 s0.541 s-0.166 s5.75 MiB5.76 MiB+ 9.32 KiB
/wp-admin/upload.php0.627 s0.359 s-0.268 s3.49 MiB3.48 MiB- 10.88 KiB
/wp-admin/options-writing.php0.204 s0.188 s-0.016 s3.41 MiB3.46 MiB+ 51.92 KiB
/wp-admin/media-new.php0.249 s0.363 s+0.114 s3.4 MiB3.46 MiB+ 65.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.241 s+0.071 s3.47 MiB3.48 MiB+ 11.98 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.557 s-0.020 s5.75 MiB5.75 MiB+ 4.91 KiB
/wp-admin/options-discussion.php0.230 s0.239 s+0.009 s3.41 MiB3.46 MiB+ 53.61 KiB
/wp-admin/edit-comments.php0.204 s0.189 s-0.015 s3.49 MiB3.48 MiB- 10.89 KiB
/0.284 s0.212 s-0.072 s3.45 MiB3.4 MiB- 49.95 KiB
Average 0.345 s0.306 s-0.038 s3.88 MiB3.89 MiB+ 12.71 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
PHP100.0%196231
Total 196 23 1

PHP Code Analysis | More results »

Lines of code 206
Total complexity 49
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function show_featured_post()
Classes 0
Methods 0
Functions 3

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

PHP Error Log 40 lines

[04-Aug-2024 16:56:38 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:38 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:39 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_query() in /wp-content/plugins/random-featured-post-plugin/featuredpost.php:120
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): fp_options_page()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 /wp-admin/options-general.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/random-featured-post-plugin/featuredpost.php on line 120
[04-Aug-2024 16:56:41 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:41 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:41 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:41 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:41 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:42 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:44 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:44 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:44 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:44 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:45 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:48 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:49 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:49 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
[04-Aug-2024 16:56:49 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6085
See also: All tests for this plugin