ActivityPub 6.0.2

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

Page speed impact: 0.028 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=32bf3891a3
Aspect after-activation
HTTP status 200
Load time 2.101 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.169 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.168 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.170 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.399 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.506 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.384 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.340 s0.488 s+0.148 s3.51 MiB5.08 MiB+ 1.57 MiB
/wp-admin/edit.php0.160 s0.177 s+0.017 s3.57 MiB4.16 MiB+ 599.85 KiB
/wp-admin/post-new.php0.674 s0.974 s+0.300 s6.06 MiB7.26 MiB+ 1.2 MiB
/wp-admin/upload.php0.533 s0.252 s-0.281 s3.52 MiB4.09 MiB+ 580.51 KiB
/wp-admin/options-writing.php0.169 s0.171 s+0.002 s3.5 MiB4.07 MiB+ 584.5 KiB
/wp-admin/media-new.php0.225 s0.306 s+0.081 s3.49 MiB4.07 MiB+ 592.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.214 s+0.050 s3.5 MiB4.09 MiB+ 597.87 KiB
/wp-admin/post-new.php?post_type=page0.563 s0.642 s+0.079 s6.05 MiB7.24 MiB+ 1.19 MiB
/wp-admin/options-discussion.php0.239 s0.231 s-0.008 s3.5 MiB4.07 MiB+ 581 KiB
/wp-admin/edit-comments.php0.182 s0.191 s+0.009 s3.52 MiB4.09 MiB+ 579.59 KiB
/0.265 s0.175 s-0.090 s3.43 MiB3.89 MiB+ 463.02 KiB
Average 0.319 s0.347 s+0.028 s3.97 MiB4.74 MiB+ 785.46 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,3199,751147
CSS4.5%8821313
JSON1.2%23407
JavaScript1.1%2086412
Total 19,643 9,828 179

PHP Code Analysis | More results »

Lines of code 16,490
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