WP Hide Post 2.0.10

Does WP Hide Post work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
16PHP warnings
33PHP notices
288Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 191.78 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/wp-hide-post/
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-hide-post%2Fwp-hide-post.php&plugin_status=all&paged=1&s&_wpnonce=e9a8a747f2
Aspect after-activation
HTTP status 200
Load time 0.976 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Settings → WP Hide Post

Page screenshot: Settings → WP Hide Post
URL /wp-admin/options-general.php?page=wp-hide-post_settings_api
Aspect menu-item
HTTP status 200
Load time 1.914 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Settings → WP Hide Post → General

Page screenshot: Settings → WP Hide Post → General
URL /wp-admin/options-general.php?page=wp-hide-post_settings_api
Aspect menu-item-tab
HTTP status 200
Load time 1.318 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Settings → WP Hide Post → System Info

Page screenshot: Settings → WP Hide Post → System Info
URL /wp-admin/options-general.php?page=wp-hide-post_settings_api
Aspect menu-item-tab
HTTP status 200
Load time 1.609 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Settings → WP Hide Post → Support

Page screenshot: Settings → WP Hide Post → Support
URL /wp-admin/options-general.php?page=wp-hide-post_settings_api
Aspect menu-item-tab
HTTP status 200
Load time 1.196 s
Memory usage 2.94 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.216 s
Memory usage 2.75 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.814 s
Memory usage 5.25 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.708 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.246 s0.445 s+0.199 s2.82 MiB2.99 MiB+ 171.09 KiB
/wp-admin/edit.php0.165 s0.291 s+0.126 s2.86 MiB3.09 MiB+ 233.03 KiB
/wp-admin/post-new.php0.894 s1.026 s+0.132 s5.02 MiB5.24 MiB+ 220.55 KiB
/wp-admin/upload.php0.448 s0.323 s-0.125 s2.7 MiB2.9 MiB+ 208.95 KiB
/wp-admin/options-writing.php0.151 s0.236 s+0.085 s2.71 MiB2.91 MiB+ 200.65 KiB
/wp-admin/media-new.php0.213 s0.344 s+0.131 s2.67 MiB2.9 MiB+ 231.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.328 s+0.148 s2.77 MiB2.94 MiB+ 173.86 KiB
/wp-admin/post-new.php?post_type=page1.143 s0.656 s-0.487 s5.01 MiB5.23 MiB+ 227.7 KiB
/wp-admin/options-discussion.php0.277 s0.306 s+0.029 s2.67 MiB2.9 MiB+ 234.09 KiB
/wp-admin/edit-comments.php0.238 s0.430 s+0.192 s2.78 MiB2.94 MiB+ 163.85 KiB
/0.264 s0.204 s-0.060 s2.71 MiB2.75 MiB+ 44.25 KiB
Average 0.384 s0.417 s+0.034 s3.16 MiB3.34 MiB+ 191.78 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.1%5,2061,66330
JavaScript3.9%216472
CSS0.9%5142
Total 5,473 1,714 34

PHP Code Analysis | More results »

Lines of code 5,168
Total complexity 1,133
Median class complexity 31.0
Median method complexity 2.0
Most complex class Browser
Most complex function scb_systems_info()
Classes 18
Methods 252
Functions 38

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 6

Meta Boxes

{
    "post": {
        "hidepostdivpost": {
            "title": "Post Visibility",
            "context": "advanced"
        }
    },
    "page": {
        "hidepostdivpost": {
            "title": "Page Visibility",
            "context": "advanced"
        }
    }
}

PHP Error Log 337 lines

[15-Apr-2021 09:09:23 UTC] 1618477763.2964-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:23 UTC] memory_get_usage1-2894384
[15-Apr-2021 09:09:23 UTC] 1618477763.3162-includes/class-wp-hide-post-activator.php@remove_wp_low_profiler():55-->
[15-Apr-2021 09:09:23 UTC] called: wphp_remove_wp_low_profiler
[15-Apr-2021 09:09:23 UTC] 1618477763.3164-includes/class-wp-hide-post-activator.php@remove_wp_low_profiler():71-->
[15-Apr-2021 09:09:23 UTC] The 'WP low Profiler' plugin does not exist.
[15-Apr-2021 09:09:23 UTC] 1618477763.317-admin/class-wp-hide-post-dbupdate.php@update_to_ver_2():159-->
[15-Apr-2021 09:09:23 UTC] in update_to_ver_2
[15-Apr-2021 09:09:23 UTC] 1618477763.3509-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:23 UTC] memory_get_usage1-1779592
[15-Apr-2021 09:09:23 UTC] 1618477763.3515-admin/class-wp-hide-post-dbupdate.php@db_update():53-->
[15-Apr-2021 09:09:23 UTC] db_update
[15-Apr-2021 09:09:23 UTC] 1618477763.3516-admin/class-wp-hide-post-dbupdate.php@db_update():75-->
[15-Apr-2021 09:09:23 UTC] calling update_to_ver_1
[15-Apr-2021 09:09:23 UTC] 1618477763.3516-admin/class-wp-hide-post-dbupdate.php@update_to_ver_1():102-->
[15-Apr-2021 09:09:23 UTC] called:update_to_ver_1
[15-Apr-2021 09:09:23 UTC] 1618477763.3728-admin/class-wp-hide-post-dbupdate.php@db_update():75-->
[15-Apr-2021 09:09:23 UTC] calling update_to_ver_2
[15-Apr-2021 09:09:23 UTC] 1618477763.3728-admin/class-wp-hide-post-dbupdate.php@update_to_ver_2():159-->
[15-Apr-2021 09:09:23 UTC] in update_to_ver_2
[15-Apr-2021 09:09:23 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:24 UTC] 1618477764.4616-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:24 UTC] memory_get_usage1-1776504
[15-Apr-2021 09:09:24 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:24 UTC] 1618477764.8853-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:24 UTC] memory_get_usage1-1765992
[15-Apr-2021 09:09:24 UTC] 1618477764.8966-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:24 UTC] memory_get_usage1-1765992
[15-Apr-2021 09:09:24 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:24 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:25 UTC] 1618477765.022-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:25 UTC] memory_get_usage1-1779344
[15-Apr-2021 09:09:25 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:26 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-hide-post/admin/settings/autoload.php on line 158
[15-Apr-2021 09:09:26 UTC] 1618477766.2371-includes/class-wp-hide-post.php@{closure}():422-->
[15-Apr-2021 09:09:26 UTC] memory_get_usage2-3025960
[15-Apr-2021 09:09:26 UTC] 1618477766.2371-includes/class-wp-hide-post.php@{closure}():457-->
[15-Apr-2021 09:09:26 UTC] memory_get_usage3-3027032
[15-Apr-2021 09:09:27 UTC] 1618477767.161-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:27 UTC] memory_get_usage1-1778400
[15-Apr-2021 09:09:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:28 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-hide-post/admin/settings/autoload.php on line 158
[15-Apr-2021 09:09:28 UTC] 1618477768.2015-includes/class-wp-hide-post.php@{closure}():422-->
[15-Apr-2021 09:09:28 UTC] memory_get_usage2-3025016
[15-Apr-2021 09:09:28 UTC] 1618477768.2015-includes/class-wp-hide-post.php@{closure}():457-->
[15-Apr-2021 09:09:28 UTC] memory_get_usage3-3026088
[15-Apr-2021 09:09:29 UTC] 1618477769.24-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:29 UTC] memory_get_usage1-1778400
[15-Apr-2021 09:09:29 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:30 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-hide-post/admin/settings/autoload.php on line 158
[15-Apr-2021 09:09:30 UTC] 1618477770.5441-includes/class-wp-hide-post.php@{closure}():422-->
[15-Apr-2021 09:09:30 UTC] memory_get_usage2-3025016
[15-Apr-2021 09:09:30 UTC] 1618477770.5441-includes/class-wp-hide-post.php@{closure}():457-->
[15-Apr-2021 09:09:30 UTC] memory_get_usage3-3026088
[15-Apr-2021 09:09:31 UTC] 1618477771.5553-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:31 UTC] memory_get_usage1-1778400
[15-Apr-2021 09:09:31 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:32 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-hide-post/admin/settings/autoload.php on line 158
[15-Apr-2021 09:09:32 UTC] 1618477772.492-includes/class-wp-hide-post.php@{closure}():422-->
[15-Apr-2021 09:09:32 UTC] memory_get_usage2-3025016
[15-Apr-2021 09:09:32 UTC] 1618477772.4921-includes/class-wp-hide-post.php@{closure}():457-->
[15-Apr-2021 09:09:32 UTC] memory_get_usage3-3026088
[15-Apr-2021 09:09:33 UTC] 1618477773.4674-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:33 UTC] memory_get_usage1-1757200
[15-Apr-2021 09:09:33 UTC] 1618477773.4757-public/class-wp-hide-post-public.php@query_posts_where():183-->
[15-Apr-2021 09:09:33 UTC] called: wphp_query_posts_where
[15-Apr-2021 09:09:33 UTC] 1618477773.4758-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 2
[15-Apr-2021 09:09:33 UTC] 1618477773.4758-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 2
[15-Apr-2021 09:09:33 UTC] PHP Warning:  Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /wp-includes/class-wp-hook.php on line 292
[15-Apr-2021 09:09:33 UTC] 1618477773.4759-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 2
[15-Apr-2021 09:09:33 UTC] 1618477773.4759-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 2
[15-Apr-2021 09:09:33 UTC] 1618477773.4867-public/class-wp-hide-post-public.php@query_posts_where():183-->
[15-Apr-2021 09:09:33 UTC] called: wphp_query_posts_where
[15-Apr-2021 09:09:33 UTC] 1618477773.4868-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 1
[15-Apr-2021 09:09:33 UTC] 1618477773.4868-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 1
[15-Apr-2021 09:09:33 UTC] PHP Warning:  Parameter 2 to wp_hide_post_Public::query_posts_join() expected to be a reference, value given in /wp-includes/class-wp-hook.php on line 292
[15-Apr-2021 09:09:33 UTC] 1618477773.4869-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 1
[15-Apr-2021 09:09:33 UTC] 1618477773.4869-includes/helpers.php@wphp_is_applicable():175-->
[15-Apr-2021 09:09:33 UTC] 1
[15-Apr-2021 09:09:33 UTC] 1618477773.9411-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:33 UTC] memory_get_usage1-1776552
[15-Apr-2021 09:09:33 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:34 UTC] 1618477774.4116-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:34 UTC] memory_get_usage1-1766008
[15-Apr-2021 09:09:34 UTC] 1618477774.4213-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:34 UTC] memory_get_usage1-1766008
[15-Apr-2021 09:09:34 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:34 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:34 UTC] 1618477774.526-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:34 UTC] memory_get_usage1-1777488
[15-Apr-2021 09:09:34 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wp-hide-post/admin/settings/class_settings.php on line 324
[15-Apr-2021 09:09:34 UTC] 1618477774.8454-includes/class-wp-hide-post.php@init():414-->
[15-Apr-2021 09:09:34 UTC] memory_get_usage1-1767000

(+237 more lines)
See also: All tests for this plugin, How to Hide WP Hide Post Admin Menus and Meta Boxes