Telegram Bot & Channel 3.6.3

Does Telegram Bot & Channel work with WordPress 6.3.2 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: 71.35 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.3.2
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=e8c2673083
Aspect after-activation
HTTP status 200
Load time 0.333 s
Memory usage 2.87 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.168 s
Memory usage 2.85 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.169 s
Memory usage 2.89 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.198 s
Memory usage 2.89 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.160 s
Memory usage 2.82 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.210 s
Memory usage 2.89 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.194 s
Memory usage 2.91 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.150 s
Memory usage 2.82 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.211 s
Memory usage 3.2 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.357 s
Memory usage 5.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.418 s0.344 s-0.074 s2.83 MiB2.92 MiB+ 100.5 KiB
/wp-admin/edit.php0.259 s0.238 s-0.021 s2.85 MiB2.95 MiB+ 99.84 KiB
/wp-admin/post-new.php0.872 s0.896 s+0.024 s5.22 MiB5.21 MiB- 5.48 KiB
/wp-admin/upload.php0.727 s0.401 s-0.326 s2.77 MiB2.85 MiB+ 82.41 KiB
/wp-admin/options-writing.php0.227 s0.192 s-0.035 s2.76 MiB2.84 MiB+ 74.38 KiB
/wp-admin/media-new.php0.278 s0.209 s-0.069 s2.74 MiB2.83 MiB+ 94.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.192 s-0.006 s2.76 MiB2.86 MiB+ 98.95 KiB
/wp-admin/post-new.php?post_type=page0.638 s0.538 s-0.100 s5.21 MiB5.2 MiB- 9.85 KiB
/wp-admin/options-discussion.php0.220 s0.260 s+0.040 s2.75 MiB2.83 MiB+ 82.91 KiB
/wp-admin/edit-comments.php0.258 s0.413 s+0.155 s2.78 MiB2.86 MiB+ 82.64 KiB
/0.282 s0.266 s-0.016 s3.13 MiB3.21 MiB+ 83.89 KiB
Average 0.398 s0.359 s-0.039 s3.26 MiB3.32 MiB+ 71.35 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,5162411
JavaScript11.0%18811
Markdown0.1%201
Total 1,706 25 13

PHP Code Analysis | More results »

Lines of code 1,012
Total complexity 146
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 31

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

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