ActivityPub 3.3.0

Does ActivityPub work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 370.5 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.6.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 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=activitypub%2Factivitypub.php&plugin_status=all&paged=1&s&_wpnonce=150623822f
Aspect after-activation
HTTP status 200
Load time 0.413 s
Memory usage 3.88 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.195 s
Memory usage 3.79 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.186 s
Memory usage 3.83 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.211 s
Memory usage 3.8 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.240 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.399 s+0.018 s3.47 MiB3.78 MiB+ 315.7 KiB
/wp-admin/edit.php0.222 s0.239 s+0.017 s3.54 MiB3.85 MiB+ 321.52 KiB
/wp-admin/post-new.php0.898 s0.739 s-0.159 s5.75 MiB6.34 MiB+ 602.54 KiB
/wp-admin/upload.php0.712 s0.505 s-0.207 s3.49 MiB3.78 MiB+ 302.05 KiB
/wp-admin/options-writing.php0.236 s0.226 s-0.010 s3.41 MiB3.77 MiB+ 364.86 KiB
/wp-admin/media-new.php0.253 s0.217 s-0.036 s3.4 MiB3.77 MiB+ 378.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.234 s+0.018 s3.47 MiB3.78 MiB+ 319.41 KiB
/wp-admin/post-new.php?post_type=page0.630 s0.620 s-0.010 s5.75 MiB6.33 MiB+ 595.18 KiB
/wp-admin/options-discussion.php0.232 s0.494 s+0.262 s3.41 MiB3.77 MiB+ 366.55 KiB
/wp-admin/edit-comments.php0.274 s0.276 s+0.002 s3.49 MiB3.78 MiB+ 301.13 KiB
/0.535 s0.222 s-0.313 s3.45 MiB3.66 MiB+ 208.26 KiB
Average 0.417 s0.379 s-0.038 s3.88 MiB4.24 MiB+ 370.5 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
PHP95.1%10,7585,45791
JavaScript1.8%2026110
CSS1.7%18907
JSON1.4%16406
Total 11,313 5,518 114

PHP Code Analysis | More results »

Lines of code 9,787
Total complexity 1,871
Median class complexity 17.0
Median method complexity 2.0
Most complex class Activitypub\Transformer\Post
Most complex function Activitypub\Signature::verify_http_signature()
Classes 65
Methods 546
Functions 60

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 1

Custom Post Types 3

ID Name
ap_followerFollowers
ap_extrafieldExtra fields
ap_extrafield_blogExtra fields

PHP Error Log 4 lines

[25-Sep-2024 15:46:12 UTC] PHP Warning:  Undefined array key "source_id" in /wp-content/plugins/activitypub/includes/class-comment.php on line 376
[25-Sep-2024 15:46:12 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/activitypub/includes/class-comment.php on line 376
[25-Sep-2024 15:46:22 UTC] PHP Warning:  Undefined array key "source_id" in /wp-content/plugins/activitypub/includes/class-comment.php on line 376
[25-Sep-2024 15:46:22 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/activitypub/includes/class-comment.php on line 376
See also: All tests for this plugin, How to Hide ActivityPub Admin Menus