Members Only Post Type 1.7.0

Does Members Only Post Type work with WordPress 6.7.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: 1.49 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.7.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=8ea20034b4
Aspect after-activation
HTTP status 200
Load time 0.281 s
Memory usage 3.51 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.250 s
Memory usage 3.54 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.232 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.281 s-0.067 s3.48 MiB3.49 MiB+ 13.51 KiB
/wp-admin/edit.php0.219 s0.223 s+0.004 s3.54 MiB3.56 MiB+ 13.51 KiB
/wp-admin/post-new.php0.812 s0.652 s-0.160 s5.93 MiB5.94 MiB+ 18.8 KiB
/wp-admin/upload.php0.587 s0.309 s-0.278 s3.5 MiB3.49 MiB- 3.9 KiB
/wp-admin/options-writing.php0.222 s0.198 s-0.024 s3.47 MiB3.47 MiB+ 96 bytes
/wp-admin/media-new.php0.441 s0.239 s-0.202 s3.46 MiB3.47 MiB+ 8.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.197 s+0.020 s3.48 MiB3.5 MiB+ 18.96 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.775 s+0.175 s5.92 MiB5.93 MiB+ 14.34 KiB
/wp-admin/options-discussion.php0.292 s0.363 s+0.071 s3.48 MiB3.47 MiB- 3.41 KiB
/wp-admin/edit-comments.php0.214 s0.225 s+0.011 s3.5 MiB3.49 MiB- 3.91 KiB
/0.330 s0.214 s-0.116 s3.48 MiB3.42 MiB- 59.91 KiB
Average 0.386 s0.334 s-0.051 s3.93 MiB3.93 MiB+ 1.49 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.5%63655910
Markdown31.1%35002
CSS12.2%13722
HTML0.3%303
Total 1,126 561 17

PHP Code Analysis | More results »

Lines of code 514
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

[18-Feb-2025 15:53:18 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
[18-Feb-2025 15:53:26 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