Members Only Post Type 1.6.9

Does Members Only Post Type work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 6.93 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/members-only-post-type/
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=members-only-post-type%2Fprotected-post-type.php&plugin_status=all&paged=1&s&_wpnonce=29442682bf
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Protected Posts

Page screenshot: Protected Posts
URL /wp-admin/admin.php?page=ppt-protected-post-type
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.44 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.176 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.373 s0.322 s-0.051 s3.38 MiB3.39 MiB+ 13.38 KiB
/wp-admin/edit.php0.221 s0.195 s-0.026 s3.41 MiB3.42 MiB+ 13.38 KiB
/wp-admin/post-new.php0.910 s0.748 s-0.162 s5.46 MiB5.48 MiB+ 18.63 KiB
/wp-admin/upload.php0.831 s0.443 s-0.388 s3.32 MiB3.32 MiB- 4.02 KiB
/wp-admin/options-writing.php0.227 s0.218 s-0.009 s3.32 MiB3.31 MiB- 11.44 KiB
/wp-admin/media-new.php0.322 s0.227 s-0.095 s3.29 MiB3.3 MiB+ 8.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.194 s-0.019 s3.31 MiB3.33 MiB+ 13.34 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.604 s-0.013 s5.45 MiB5.47 MiB+ 18.21 KiB
/wp-admin/options-discussion.php0.334 s0.310 s-0.024 s3.3 MiB3.3 MiB- 1.09 KiB
/wp-admin/edit-comments.php0.255 s0.247 s-0.008 s3.33 MiB3.33 MiB- 3.99 KiB
/0.299 s0.237 s-0.062 s3.31 MiB3.32 MiB+ 11.7 KiB
Average 0.418 s0.340 s-0.078 s3.72 MiB3.72 MiB+ 6.93 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
Markdown
CSS
Language % Lines of code Comment lines Files
PHP56.6%6385589
Markdown31.0%35002
CSS12.1%13722
HTML0.3%303
Total 1,128 560 16

PHP Code Analysis | More results »

Lines of code 517
Total complexity 73
Median class complexity 16.5
Median method complexity 1.0
Most complex class MembersOnlyPostType\WPAdminPage\AdminPage
Most complex function MembersOnlyPostType\WPAdminPage\AdminPage::tab_menu()
Classes 4
Methods 49
Functions 0

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 2 lines

[14-Dec-2023 07:20:42 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/post-template.php on line 257
[14-Dec-2023 07:20:51 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/post-template.php on line 257
See also: All tests for this plugin, How to Hide the "Protected Posts" Admin Menu