Testing Suspended

Testing of this plugin has been temporarily suspended due to an error. It will automatically resume when a new plugin version is released.

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

Page speed impact: 0.054 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 8

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=66343ecd08
Aspect after-activation
HTTP status 200
Load time 2.077 s
Memory usage 4.52 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.187 s
Memory usage 4.16 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.177 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Users → Following ⁂

Page screenshot: Users → Following ⁂
URL /wp-admin/users.php?page=activitypub-following-list
Aspect menu-item
HTTP status 200
Load time 0.178 s
Memory usage 4.1 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.188 s
Memory usage 4.16 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.453 s
Memory usage 4.21 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.613 s
Memory usage 3.9 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.415 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.765 s+0.436 s3.51 MiB5.5 MiB+ 1.99 MiB
/wp-admin/edit.php0.200 s0.232 s+0.032 s3.57 MiB4.18 MiB+ 623.88 KiB
/wp-admin/post-new.php0.785 s1.084 s+0.299 s6.06 MiB7.29 MiB+ 1.23 MiB
/wp-admin/upload.php0.559 s0.297 s-0.262 s3.52 MiB4.13 MiB+ 624.54 KiB
/wp-admin/options-writing.php0.204 s0.207 s+0.003 s3.5 MiB4.09 MiB+ 608.53 KiB
/wp-admin/media-new.php0.245 s0.193 s-0.052 s3.49 MiB4.09 MiB+ 616.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.176 s-0.065 s3.5 MiB4.11 MiB+ 621.9 KiB
/wp-admin/post-new.php?post_type=page0.629 s0.846 s+0.217 s6.05 MiB7.27 MiB+ 1.22 MiB
/wp-admin/options-discussion.php0.345 s0.433 s+0.088 s3.5 MiB4.09 MiB+ 605.03 KiB
/wp-admin/edit-comments.php0.192 s0.203 s+0.011 s3.52 MiB4.11 MiB+ 603.62 KiB
/0.308 s0.198 s-0.110 s3.44 MiB3.9 MiB+ 472.99 KiB
Average 0.367 s0.421 s+0.054 s3.97 MiB4.8 MiB+ 847.14 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.6%19,69410,615157
CSS4.2%8851313
JSON1.2%25107
JavaScript1.0%2086412
Total 21,038 10,692 189

PHP Code Analysis | More results »

Lines of code 17,826
Total complexity 3,205
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 106
Methods 907
Functions 83

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