Private Tags 0.1

Does Private Tags work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
9PHP fatal errors
40PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 977.33 bytes
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.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/private-tags/
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=private-tags%2Fprivate-tags.php&plugin_status=all&paged=1&s&_wpnonce=b8caf47840
Aspect after-activation
HTTP status 200
Load time 0.351 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Settings → Private Tags

Page screenshot: Settings → Private Tags
URL /wp-admin/options-general.php?page=private-tags%2Fprivate-tags.php
Requested URL /wp-admin/options-general.php?page=private-tags/private-tags.php
Aspect menu-item
HTTP status 200
Load time 0.302 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.056 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.443 s0.128 s-0.315 s3.78 MiB
/wp-admin/upload.php0.460 s0.409 s-0.051 s3.74 MiB3.73 MiB- 5.63 KiB
/wp-admin/options-writing.php0.343 s0.287 s-0.056 s3.71 MiB3.71 MiB- 1.64 KiB
/wp-admin/media-new.php0.542 s0.345 s-0.197 s3.7 MiB3.71 MiB+ 6.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.326 s0.481 s+0.155 s3.72 MiB3.73 MiB+ 17.23 KiB
/wp-admin/options-discussion.php0.359 s0.294 s-0.065 s3.71 MiB3.71 MiB- 5.14 KiB
/wp-admin/edit-comments.php0.340 s0.331 s-0.009 s3.73 MiB3.73 MiB- 5.64 KiB
Average 0.402 s0.325 s-0.077 s3.73 MiB3.72 MiB+ 977.33 bytes

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%125861
Total 125 86 1

PHP Code Analysis | More results »

Lines of code 135
Total complexity 37
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function private_tags_posts_where()
Classes 0
Methods 0
Functions 7

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.

No new entries found.

PHP Error Log 176 lines

[04-Apr-2026 20:09:59 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 6131
[04-Apr-2026 20:09:59 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 6131
[04-Apr-2026 20:09:59 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 6131
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/class-wp-query.php(4090): WP_Query->query()
#5 /wp-admin/includes/dashboard.php(998): WP_Query->__construct()
#6 /wp-admin/includes/dashboard.php(937): wp_dashboard_recent_posts()
#7 /wp-admin/includes/template.php(1453): wp_dashboard_site_activity()
#8 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#9 /wp-admin/index.php(204): wp_dashboard()
#10 {main}
  thrown in /wp-content/plugins/private-tags/private-tags.php on line 37
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:00 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 6131
[04-Apr-2026 20:10:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/class-wp.php(704): WP_Query->query()
#5 /wp-includes/class-wp.php(824): WP->query_posts()
#6 /wp-includes/functions.php(1343): WP->main()
#7 /wp-blog-header.php(16): wp()
#8 /index.php(17): require('...')
#9 {main}
  thrown in /wp-content/plugins/private-tags/private-tags.php on line 37
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/class-wp-query.php(4090): WP_Query->query()
#5 /wp-admin/includes/dashboard.php(998): WP_Query->__construct()
#6 /wp-admin/includes/dashboard.php(937): wp_dashboard_recent_posts()
#7 /wp-admin/includes/template.php(1453): wp_dashboard_site_activity()
#8 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#9 /wp-admin/index.php(204): wp_dashboard()
#10 {main}
  thrown in /wp-content/plugins/private-tags/private-tags.php on line 37
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/class-wp.php(704): WP_Query->query()
#5 /wp-includes/class-wp.php(824): WP->query_posts()
#6 /wp-includes/functions.php(1343): WP->main()
#7 /wp-admin/includes/post.php(1319): wp()
#8 /wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#9 /wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#10 {main}
  thrown in /wp-content/plugins/private-tags/private-tags.php on line 37
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/revision.php(725): WP_Query->query()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2206): wp_get_latest_revision_id_and_total_count()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2116): WP_REST_Posts_Controller->prepare_links()
#7 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(666): WP_REST_Posts_Controller->prepare_item_for_response()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item()
#9 /wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
#10 /wp-includes/rest-api.php(594): WP_REST_Server->dispatch()
#11 /wp-includes/rest-api.php(2981): rest_do_request()
#12 [internal function]: rest_preload_api_request()
#13 /wp-includes/block-editor.php(765): array_reduce()
#14 /wp-admin/edit-form-blocks.php(114): block_editor_rest_api_preload()
#15 /wp-admin/post-new.php(72): require('...')
#16 {main}
  thrown in /wp-content/plugins/private-tags/private-tags.php on line 37
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:02 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 6131
[04-Apr-2026 20:10:03 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_real_escape_string() in /wp-content/plugins/private-tags/private-tags.php:37
Stack trace:
#0 /wp-includes/class-wp-hook.php(343): private_tags_posts_where()
#1 /wp-includes/plugin.php(256): WP_Hook->apply_filters()
#2 /wp-includes/class-wp-query.php(2784): apply_filters_ref_array()
#3 /wp-includes/class-wp-query.php(3958): WP_Query->get_posts()
#4 /wp-includes/class-wp-query.php(4090): WP_Query->query()
#5 /wp-admin/includes/ajax-actions.php(3081): WP_Query->__construct()

(+76 more lines)
See also: All tests for this plugin