ActivityPub 6.0.1

Does ActivityPub work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 768.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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/activitypub/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Welcome ‹ Test site — WordPress

Page screenshot: Welcome ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=activitypub
Requested URL /wp-admin/plugins.php?action=activate&plugin=activitypub%2Factivitypub.php&plugin_status=all&paged=1&s&_wpnonce=4f0f22513e
Aspect after-activation
HTTP status 200
Load time 2.403 s
Memory usage 4.5 MiB
JS errors
[
    {
        "message": "Error: Color.parse(): invalid CSS color: \" #1a202c\"\n    at v (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:746)\n    at Object.b (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:79)\n    at nn.injectColorPalette (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:18739)\n    at HTMLLinkElement.i.getAttribute.includes.i.getAttribute.i.disabled.i.onload (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:16468)",
        "trace": null,
        "code": null
    },
    {
        "message": "Error: Color.parse(): invalid CSS color: \" #1a202c\"\n    at v (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:746)\n    at Object.b (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:79)\n    at nn.injectColorPalette (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:18739)\n    at nn.injectCoreColorPalette (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:16687)\n    at https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:16801",
        "trace": null,
        "code": null
    }
]
Resource errors None

Outbox

Page screenshot: Outbox
URL /wp-admin/edit.php?post_type=ap_outbox
Aspect menu-item
HTTP status 200
Load time 0.196 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Users → Followers ⁂

Page screenshot: Users → Followers ⁂
URL /wp-admin/users.php?page=activitypub-followers-list
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Users → Extra Fields ⁂

Page screenshot: Users → Extra Fields ⁂
URL /wp-admin/edit.php?post_type=ap_extrafield
Aspect menu-item
HTTP status 200
Load time 0.269 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Settings → ActivityPub

Page screenshot: Settings → ActivityPub
URL /wp-admin/options-general.php?page=activitypub
Aspect menu-item
HTTP status 200
Load time 0.633 s
Memory usage 4.19 MiB
JS errors
[
    {
        "message": "Error: Color.parse(): invalid CSS color: \" #1a202c\"\n    at v (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:746)\n    at Object.b (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:79)\n    at nn.injectColorPalette (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:18739)\n    at HTMLLinkElement.i.getAttribute.includes.i.getAttribute.i.disabled.i.onload (https://framatube.org/client/standalone/videos/assets/jschannel-DkCUG_QY.js:10:16468)",
        "trace": null,
        "code": null
    }
]
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.788 s
Memory usage 3.89 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 0.463 s
Memory usage 4.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.544 s0.635 s+0.091 s3.51 MiB4.95 MiB+ 1.45 MiB
/wp-admin/edit.php0.287 s0.218 s-0.069 s3.57 MiB4.16 MiB+ 600.52 KiB
/wp-admin/post-new.php0.816 s1.754 s+0.938 s6.06 MiB7.26 MiB+ 1.2 MiB
/wp-admin/upload.php0.686 s0.369 s-0.317 s3.52 MiB4.09 MiB+ 581.19 KiB
/wp-admin/options-writing.php0.234 s0.228 s-0.006 s3.5 MiB4.07 MiB+ 585.18 KiB
/wp-admin/media-new.php0.270 s0.440 s+0.170 s3.49 MiB4.07 MiB+ 593.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.212 s+0.006 s3.5 MiB4.09 MiB+ 598.55 KiB
/wp-admin/post-new.php?post_type=page1.121 s0.828 s-0.293 s6.05 MiB7.24 MiB+ 1.19 MiB
/wp-admin/options-discussion.php0.351 s0.309 s-0.042 s3.5 MiB4.07 MiB+ 581.68 KiB
/wp-admin/edit-comments.php0.470 s0.218 s-0.252 s3.52 MiB4.09 MiB+ 580.27 KiB
/0.325 s0.254 s-0.071 s3.5 MiB3.89 MiB+ 396.5 KiB
Average 0.483 s0.497 s+0.014 s3.98 MiB4.73 MiB+ 768.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
Language % Lines of code Comment lines Files
PHP93.3%18,3129,749147
CSS4.5%8821313
JSON1.2%23407
JavaScript1.1%2086412
Total 19,636 9,826 179

PHP Code Analysis | More results »

Lines of code 16,495
Total complexity 2,910
Median class complexity 18.0
Median method complexity 2.0
Most complex class Activitypub\Transformer\Post
Most complex function Activitypub\WP_Admin\Import\Mastodon::import_posts()
Classes 99
Methods 825
Functions 80

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 4

Custom Post Types 4

ID Name
ap_actorFollowers
ap_outboxOutbox
ap_extrafieldExtra fields
ap_extrafield_blogExtra fields

Meta Boxes

{
    "dashboard": {
        "activitypub_blog": {
            "title": "ActivityPub Plugin News",
            "context": "normal"
        },
        "activitypub_profile": {
            "title": "ActivityPub Author profile",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide ActivityPub Admin Menus and Widgets