Telegram Bot & Channel 3.6.1

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

Summary

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

Memory usage: 85.25 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=607c8e3ce7
Aspect after-activation
HTTP status 200
Load time 0.346 s
Memory usage 3.59 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.153 s
Memory usage 3.5 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.178 s
Memory usage 3.62 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.168 s
Memory usage 3.61 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.159 s
Memory usage 3.47 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.156 s
Memory usage 3.61 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.161 s
Memory usage 3.57 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 3.47 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.253 s
Memory usage 3.5 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.669 s
Memory usage 5.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.575 s0.403 s-0.172 s3.54 MiB3.64 MiB+ 101.85 KiB
/wp-admin/edit.php0.180 s0.204 s+0.024 s3.57 MiB3.67 MiB+ 101.2 KiB
/wp-admin/post-new.php0.793 s0.994 s+0.201 s5.46 MiB5.52 MiB+ 59.73 KiB
/wp-admin/upload.php0.593 s0.272 s-0.321 s3.41 MiB3.57 MiB+ 164.05 KiB
/wp-admin/options-writing.php0.209 s0.154 s-0.055 s3.4 MiB3.48 MiB+ 82.52 KiB
/wp-admin/media-new.php0.251 s0.159 s-0.092 s3.38 MiB3.48 MiB+ 100.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.165 s0.308 s+0.143 s3.48 MiB3.57 MiB+ 100.3 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.662 s+0.046 s5.46 MiB5.45 MiB- 8.67 KiB
/wp-admin/options-discussion.php0.218 s0.208 s-0.010 s3.38 MiB3.48 MiB+ 100.53 KiB
/wp-admin/edit-comments.php0.192 s0.227 s+0.035 s3.48 MiB3.58 MiB+ 99.98 KiB
/0.257 s0.217 s-0.040 s3.46 MiB3.5 MiB+ 36.11 KiB
Average 0.368 s0.346 s-0.022 s3.82 MiB3.9 MiB+ 85.25 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.8%1,5132411
JavaScript11.0%18811
Markdown0.1%201
Total 1,703 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

User Metadata wp_usermeta 1

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 10 lines

[18-Nov-2022 05:12:35 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: mode in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: zapier in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: wmgroup in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: wmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: posttemplate in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: bmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:35 UTC] PHP Notice:  Undefined index: keyboard in /wp-content/plugins/telegram-bot/defaults.php on line 26
[18-Nov-2022 05:12:49 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 415
[18-Nov-2022 05:12:50 UTC] PHP Notice:  Trying to get property 'post_type' of non-object 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