Subscribe to Category 2.7.4

Does Subscribe to Category work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/subscribe-to-category/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=subscribe-to-category%2Fsubscribe-to-category.php&plugin_status=all&paged=1&s&_wpnonce=5a970242ab
Aspect after-activation
HTTP status 200
Load time 0.548 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

STC Subscribe

Page screenshot: STC Subscribe
URL /wp-admin/admin.php?page=stc-subscribe-settings
Aspect menu-item
HTTP status 200
Load time 0.334 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

STC Subscribe → Notifications

Page screenshot: STC Subscribe → Notifications
URL /wp-admin/edit.php?post_type=notifications
Aspect menu-item
HTTP status 200
Load time 0.353 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

STC Subscribe → Subscribers

Page screenshot: STC Subscribe → Subscribers
URL /wp-admin/edit.php?post_type=stc
Aspect menu-item
HTTP status 200
Load time 0.545 s
Memory usage 3.59 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.208 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.172 s
Memory usage 5.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.497 s+0.189 s3.43 MiB3.6 MiB+ 168.84 KiB
/wp-admin/edit.php0.180 s0.337 s+0.157 s3.46 MiB3.64 MiB+ 184.68 KiB
/wp-admin/post-new.php0.801 s0.546 s-0.255 s5.59 MiB5.81 MiB+ 221.1 KiB
/wp-admin/upload.php0.481 s0.574 s+0.093 s3.38 MiB3.53 MiB+ 155.98 KiB
/wp-admin/options-writing.php0.206 s0.359 s+0.153 s3.37 MiB3.53 MiB+ 158.13 KiB
/wp-admin/media-new.php0.265 s0.356 s+0.091 s3.35 MiB3.53 MiB+ 179.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.166 s0.346 s+0.180 s3.37 MiB3.55 MiB+ 183.27 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.574 s+0.027 s5.59 MiB5.8 MiB+ 216.73 KiB
/wp-admin/options-discussion.php0.263 s0.455 s+0.192 s3.36 MiB3.52 MiB+ 168.73 KiB
/wp-admin/edit-comments.php0.277 s0.375 s+0.098 s3.39 MiB3.55 MiB+ 158.52 KiB
/0.273 s0.193 s-0.080 s3.42 MiB3.48 MiB+ 65.95 KiB
Average 0.342 s0.419 s+0.077 s3.79 MiB3.96 MiB+ 169.21 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
JavaScript
PO File
CSS
Language % Lines of code Comment lines Files
PHP37.1%3,4281,0986
JavaScript32.5%3,0076547
PO File18.0%1,6658137
CSS12.1%1,122185
JSON0.2%1808
Total 9,240 2,583 33

PHP Code Analysis | More results »

Lines of code 3,443
Total complexity 812
Median class complexity 36.0
Median method complexity 2.0
Most complex class STC_Subscribe
Most complex function STC_Subscribe::html_render()
Classes 5
Methods 105
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.

Database Tables 1

Options wp_options 2

Custom Post Types 2

ID Name
notificationsNotifications
stcSubscribers

Sidebar Widgets 1

ID Name
stc_widgetSubscribe to Category

PHP Error Log 2 lines

[12-Apr-2024 08:22:11 UTC] PHP Warning:  Undefined array key "cron_time" in /wp-content/plugins/subscribe-to-category/classes/class-stc-settings.php on line 167
[12-Apr-2024 08:22:25 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide Subscribe to Category Admin Menus