Telegram Bot & Channel 3.7

Does Telegram Bot & Channel work with WordPress 6.5.5 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 90.62 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.5.5
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/telegram-bot/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=telegram-bot%2Ftelegram-bot.php&plugin_status=all&paged=1&s&_wpnonce=bd1275b472
Aspect after-activation
HTTP status 200
Load time 0.271 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Telegram

Page screenshot: Telegram
URL /wp-admin/admin.php?page=telegram_main
Aspect menu-item
HTTP status 200
Load time 0.193 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Telegram → Users

Page screenshot: Telegram → Users
URL /wp-admin/edit.php?post_type=telegram_subscribers
Aspect menu-item
HTTP status 200
Load time 0.182 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Telegram → Groups

Page screenshot: Telegram → Groups
URL /wp-admin/edit.php?post_type=telegram_groups
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Telegram → Send a message

Page screenshot: Telegram → Send a message
URL /wp-admin/admin.php?page=telegram_send
Aspect menu-item
HTTP status 200
Load time 0.178 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Telegram → Responders

Page screenshot: Telegram → Responders
URL /wp-admin/edit.php?post_type=telegram_commands
Aspect menu-item
HTTP status 200
Load time 0.193 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Telegram → Settings

Page screenshot: Telegram → Settings
URL /wp-admin/admin.php?page=telegram_settings
Aspect menu-item
HTTP status 200
Load time 0.182 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Telegram → Log

Page screenshot: Telegram → Log
URL /wp-admin/admin.php?page=telegram_log
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.45 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.199 s
Memory usage 3.46 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.609 s
Memory usage 5.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.350 s0.343 s-0.007 s3.44 MiB3.54 MiB+ 111.13 KiB
/wp-admin/edit.php0.218 s0.376 s+0.158 s3.46 MiB3.57 MiB+ 110.84 KiB
/wp-admin/post-new.php0.957 s1.024 s+0.067 s5.59 MiB5.66 MiB+ 73.7 KiB
/wp-admin/upload.php0.756 s0.397 s-0.359 s3.38 MiB3.47 MiB+ 94.92 KiB
/wp-admin/options-writing.php0.224 s0.193 s-0.031 s3.37 MiB3.46 MiB+ 85.41 KiB
/wp-admin/media-new.php0.313 s0.205 s-0.108 s3.35 MiB3.45 MiB+ 105.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.367 s+0.177 s3.37 MiB3.48 MiB+ 109.98 KiB
/wp-admin/post-new.php?post_type=page0.639 s0.632 s-0.007 s5.59 MiB5.65 MiB+ 69.33 KiB
/wp-admin/options-discussion.php0.483 s0.283 s-0.200 s3.36 MiB3.45 MiB+ 96.81 KiB
/wp-admin/edit-comments.php0.242 s0.220 s-0.022 s3.39 MiB3.48 MiB+ 93.64 KiB
/0.306 s0.198 s-0.108 s3.42 MiB3.46 MiB+ 45.44 KiB
Average 0.425 s0.385 s-0.040 s3.79 MiB3.88 MiB+ 90.62 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
Language % Lines of code Comment lines Files
PHP88.9%1,5232211
JavaScript11.0%18811
Markdown0.1%201
Total 1,713 23 13

PHP Code Analysis | More results »

Lines of code 1,014
Total complexity 149
Median class complexity 10.0
Median method complexity 2.0
Most complex class telegram_widget
Most complex function telegram_send_post_notification()
Classes 1
Methods 4
Functions 33

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 5

Custom Post Types 3

ID Name
telegram_subscribersUsers subscribed
telegram_groupsGroups subscribed
telegram_commandsCommands and autoresponders

Sidebar Widgets 1

ID Name
telegram_widgetTelegram

Meta Boxes

{
    "telegram_commands": {
        "telegram_command_extra": {
            "title": "Keyboard",
            "context": "side"
        }
    }
}

PHP Error Log 11 lines

[27-Jun-2024 12:45:44 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/telegram-bot/defaults.php on line 27
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "mode" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "zapier" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "wmgroup" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "wmuser" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "posttemplate" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "bmuser" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:45:44 UTC] PHP Warning:  Undefined array key "keyboard" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[27-Jun-2024 12:46:02 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/telegram-bot/telegram-bot.php on line 414
[27-Jun-2024 12:46:03 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/telegram-bot/telegram-bot.php on line 414
See also: All tests for this plugin, How to Hide Telegram Bot & Channel Admin Menus and Meta Boxes