ActivityPub 5.9.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
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.057 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=b930b06460
Aspect after-activation
HTTP status 200
Load time 2.425 s
Memory usage 4.5 MiB
JS errors None
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.229 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.194 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.211 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.792 s
Memory usage 4.19 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.613 s
Memory usage 3.88 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'trigger')\n    at https://framatube.org/client/standalone/videos/assets/peertube-player-B0dYAaqQ.js:128:59372",
        "trace": null,
        "code": null
    }
]
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.475 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.380 s0.596 s+0.216 s3.51 MiB4.74 MiB+ 1.24 MiB
/wp-admin/edit.php0.230 s0.226 s-0.004 s3.57 MiB4.16 MiB+ 599.01 KiB
/wp-admin/post-new.php0.897 s1.233 s+0.336 s6.06 MiB7.26 MiB+ 1.2 MiB
/wp-admin/upload.php0.626 s0.331 s-0.295 s3.52 MiB4.09 MiB+ 579.67 KiB
/wp-admin/options-writing.php0.248 s0.212 s-0.036 s3.5 MiB4.07 MiB+ 583.66 KiB
/wp-admin/media-new.php0.314 s0.234 s-0.080 s3.49 MiB4.07 MiB+ 591.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.369 s+0.139 s3.5 MiB4.09 MiB+ 597.03 KiB
/wp-admin/post-new.php?post_type=page0.660 s1.290 s+0.630 s6.05 MiB7.24 MiB+ 1.19 MiB
/wp-admin/options-discussion.php0.503 s0.308 s-0.195 s3.5 MiB4.07 MiB+ 580.16 KiB
/wp-admin/edit-comments.php0.268 s0.255 s-0.013 s3.52 MiB4.09 MiB+ 578.75 KiB
/0.341 s0.269 s-0.072 s3.43 MiB3.88 MiB+ 451.65 KiB
Average 0.427 s0.484 s+0.057 s3.97 MiB4.7 MiB+ 752.1 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.1%17,7579,769144
CSS4.6%8831314
JSON1.2%22107
JavaScript1.1%2156412
Total 19,076 9,846 177

PHP Code Analysis | More results »

Lines of code 16,599
Total complexity 2,912
Median class complexity 17.5
Median method complexity 2.0
Most complex class Activitypub\Transformer\Post
Most complex function Activitypub\WP_Admin\Import\Mastodon::import_posts()
Classes 100
Methods 833
Functions 84

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_followerFollowers
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