ActivityPub 6.0.0

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: 748.87 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=e8dc850294
Aspect after-activation
HTTP status 200
Load time 2.237 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.189 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.209 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.434 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.627 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.440 s
Memory usage 4.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.576 s+0.270 s3.51 MiB4.74 MiB+ 1.24 MiB
/wp-admin/edit.php0.201 s0.325 s+0.124 s3.57 MiB4.16 MiB+ 600.52 KiB
/wp-admin/post-new.php0.826 s1.203 s+0.377 s6.06 MiB7.26 MiB+ 1.2 MiB
/wp-admin/upload.php0.748 s0.328 s-0.420 s3.52 MiB4.09 MiB+ 581.19 KiB
/wp-admin/options-writing.php0.202 s0.198 s-0.004 s3.5 MiB4.07 MiB+ 585.18 KiB
/wp-admin/media-new.php0.255 s0.193 s-0.062 s3.49 MiB4.07 MiB+ 593.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.192 s-0.004 s3.5 MiB4.09 MiB+ 598.55 KiB
/wp-admin/post-new.php?post_type=page0.627 s0.869 s+0.242 s6.05 MiB7.24 MiB+ 1.19 MiB
/wp-admin/options-discussion.php0.277 s0.322 s+0.045 s3.5 MiB4.07 MiB+ 581.68 KiB
/wp-admin/edit-comments.php0.226 s0.209 s-0.017 s3.52 MiB4.09 MiB+ 580.27 KiB
/0.313 s0.213 s-0.100 s3.5 MiB3.89 MiB+ 396.49 KiB
Average 0.380 s0.421 s+0.041 s3.98 MiB4.71 MiB+ 748.87 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,3009,749147
CSS4.5%8821313
JSON1.2%23407
JavaScript1.1%2086412
Total 19,624 9,826 179

PHP Code Analysis | More results »

Lines of code 16,487
Total complexity 2,908
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