Telegram Bot & Channel 3.6.2

Does Telegram Bot & Channel work with WordPress 6.2.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: 76.39 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.2.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=c2d587a830
Aspect after-activation
HTTP status 200
Load time 0.216 s
Memory usage 3.12 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.142 s
Memory usage 3.1 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.162 s
Memory usage 3.14 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.154 s
Memory usage 3.14 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.118 s
Memory usage 3.07 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.134 s
Memory usage 3.14 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.152 s
Memory usage 3.16 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.122 s
Memory usage 3.07 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.06 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 1.991 s
Memory usage 5.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.734 s0.227 s-0.507 s3.07 MiB3.17 MiB+ 100.74 KiB
/wp-admin/edit.php0.170 s0.153 s-0.017 s3.1 MiB3.2 MiB+ 100.09 KiB
/wp-admin/post-new.php0.714 s0.798 s+0.084 s5.02 MiB5.02 MiB- 1.84 KiB
/wp-admin/upload.php0.641 s0.386 s-0.255 s3.02 MiB3.1 MiB+ 82.66 KiB
/wp-admin/options-writing.php0.167 s0.142 s-0.025 s3.01 MiB3.08 MiB+ 69.42 KiB
/wp-admin/media-new.php0.240 s0.183 s-0.057 s2.99 MiB3.08 MiB+ 94.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.177 s+0.007 s3.01 MiB3.1 MiB+ 99.2 KiB
/wp-admin/post-new.php?post_type=page0.529 s0.537 s+0.008 s5.01 MiB5.01 MiB- 6.21 KiB
/wp-admin/options-discussion.php0.203 s0.196 s-0.007 s3 MiB3.08 MiB+ 83.16 KiB
/wp-admin/edit-comments.php0.201 s0.177 s-0.024 s3.03 MiB3.11 MiB+ 82.88 KiB
/0.296 s0.185 s-0.111 s2.97 MiB3.1 MiB+ 135.37 KiB
Average 0.370 s0.287 s-0.082 s3.38 MiB3.46 MiB+ 76.39 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

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

[23-May-2023 02:33:31 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/telegram-bot/defaults.php on line 27
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "mode" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "zapier" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "wmgroup" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "wmuser" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "posttemplate" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "bmuser" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:31 UTC] PHP Warning:  Undefined array key "keyboard" in /wp-content/plugins/telegram-bot/defaults.php on line 26
[23-May-2023 02:33:44 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/telegram-bot/telegram-bot.php on line 415
[23-May-2023 02:33:45 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