Mini Program API 1.3.4

Does Mini Program API work with WordPress 5.5.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version5.5.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/wp-mini-program/
Badges

Get badge code

Pages 9

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=wp-mini-program%2Fwp-mini-program.php&plugin_status=all&paged=1&s&_wpnonce=69a36cd27e
Aspect after-activation
HTTP status 200
Load time 0.905 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

小程序

Page screenshot: 小程序
URL /wp-admin/admin.php?page=miniprogram
Aspect menu-item
HTTP status 200
Load time 0.398 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

小程序 → 订阅统计

Page screenshot: 小程序 → 订阅统计
URL /wp-admin/admin.php?page=subscribe
Aspect menu-item
HTTP status 200
Load time 0.281 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

小程序 → 任务列表

Page screenshot: 小程序 → 任务列表
URL /wp-admin/admin.php?page=task
Aspect menu-item
HTTP status 200
Load time 0.228 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

小程序 → 使用指南

Page screenshot: 小程序 → 使用指南
URL /wp-admin/admin.php?page=guide
Aspect menu-item
HTTP status 200
Load time 0.306 s
Memory usage 2.77 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.239 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 3.014 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 2.094 s
Memory usage 5.21 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.544 s
Memory usage 5.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.512 s3.314 s+2.802 s2.75 MiB2.97 MiB+ 221.24 KiB
/wp-admin/edit.php0.246 s0.331 s+0.085 s2.8 MiB2.96 MiB+ 170.63 KiB
/wp-admin/post-new.php1.569 s1.876 s+0.307 s4.54 MiB5.21 MiB+ 683.66 KiB
/wp-admin/upload.php0.777 s0.468 s-0.309 s2.63 MiB2.77 MiB+ 144.38 KiB
/wp-admin/options-writing.php0.210 s0.254 s+0.044 s2.64 MiB2.84 MiB+ 200.77 KiB
/wp-admin/media-new.php0.224 s0.444 s+0.220 s2.6 MiB2.77 MiB+ 170.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.290 s+0.082 s2.64 MiB2.88 MiB+ 241.72 KiB
/wp-admin/post-new.php?post_type=page1.399 s1.478 s+0.079 s4.53 MiB5.2 MiB+ 683.24 KiB
/wp-admin/options-discussion.php0.446 s0.584 s+0.138 s2.61 MiB2.77 MiB+ 169.9 KiB
/wp-admin/edit-comments.php0.241 s0.317 s+0.076 s2.65 MiB2.87 MiB+ 232.37 KiB
/0.363 s0.223 s-0.140 s2.56 MiB2.7 MiB+ 142.9 KiB
Average 0.563 s0.871 s+0.308 s3 MiB3.27 MiB+ 278.27 KiB

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 2

Meta Boxes

{
    "dashboard": {
        "applets_dashboard_widget": {
            "title": "WordPress \u5c0f\u7a0b\u5e8f",
            "context": "normal"
        }
    },
    "post": {
        "post-box": {
            "title": "\u6587\u7ae0\u8bbe\u7f6e",
            "context": "normal"
        }
    },
    "page": {
        "page-box": {
            "title": "\u9875\u9762\u8bbe\u7f6e",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
wechat小程序

PHP Error Log 8 lines

[04-Sep-2020 05:07:02 UTC] PHP Deprecated:  Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /wp-content/plugins/wp-mini-program/include/filter.php on line 103
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 72
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 72
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 72
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 72
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 72
[04-Sep-2020 05:07:07 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-mini-program/admin/core/interface.php on line 114
[04-Sep-2020 05:07:17 UTC] PHP Notice:  Undefined index: description in /wp-content/plugins/wp-mini-program/admin/core/terms.php on line 28
See also: All tests for this plugin, How to Hide Mini Program API Admin Menus and More