ActivityPub 7.3.0

Does ActivityPub work with WordPress 6.8.2 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: 999.27 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.2
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 9

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=8d6bad7057
Aspect after-activation
HTTP status 200
Load time 2.278 s
Memory usage 4.65 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

Inbox

Page screenshot: Inbox
URL /wp-admin/edit.php?post_type=ap_inbox
Aspect menu-item
HTTP status 200
Load time 0.201 s
Memory usage 4.26 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.172 s
Memory usage 4.26 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.23 MiB
JS errors None
Resource errors None

Users → Blocked Actors ⁂

Page screenshot: Users → Blocked Actors ⁂
URL /wp-admin/users.php?page=activitypub-blocked-actors-list
Aspect menu-item
HTTP status 200
Load time 0.181 s
Memory usage 4.26 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.396 s
Memory usage 4.27 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.541 s
Memory usage 4.3 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.485 s
Memory usage 3.98 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.508 s
Memory usage 5.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.547 s0.665 s+0.118 s3.51 MiB5.78 MiB+ 2.27 MiB
/wp-admin/edit.php0.213 s0.215 s+0.002 s3.57 MiB4.28 MiB+ 729.88 KiB
/wp-admin/post-new.php0.800 s1.624 s+0.824 s6.06 MiB7.6 MiB+ 1.54 MiB
/wp-admin/upload.php0.616 s0.626 s+0.010 s3.52 MiB4.22 MiB+ 711.8 KiB
/wp-admin/options-writing.php0.226 s0.189 s-0.037 s3.5 MiB4.2 MiB+ 715.8 KiB
/wp-admin/media-new.php0.348 s0.172 s-0.176 s3.49 MiB4.2 MiB+ 723.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.186 s-0.012 s3.5 MiB4.22 MiB+ 729.16 KiB
/wp-admin/post-new.php?post_type=page1.101 s0.812 s-0.289 s6.05 MiB7.58 MiB+ 1.53 MiB
/wp-admin/options-discussion.php0.315 s0.301 s-0.014 s3.5 MiB4.2 MiB+ 712.3 KiB
/wp-admin/edit-comments.php0.463 s0.232 s-0.231 s3.52 MiB4.22 MiB+ 711.62 KiB
/0.341 s0.235 s-0.106 s3.5 MiB3.98 MiB+ 487.81 KiB
Average 0.470 s0.478 s+0.008 s3.98 MiB4.95 MiB+ 999.27 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.2%22,74312,058170
CSS3.7%9021313
JavaScript2.1%50615214
JSON1.0%25107
Total 24,402 12,223 204

PHP Code Analysis | More results »

Lines of code 20,646
Total complexity 3,690
Median class complexity 20.0
Median method complexity 2.0
Most complex class Activitypub\Integration\Enable_Mastodon_Apps
Most complex function Activitypub\WP_Admin\Import\Mastodon::import_posts()
Classes 116
Methods 1,041
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 5

ID Name
ap_actorFollowers
ap_inboxInbox
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