WP-Discourse 2.4.8

Does WP-Discourse work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 651.26 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/wp-discourse/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 19

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=wp-discourse%2Fwp-discourse.php&plugin_status=all&paged=1&s&_wpnonce=6ffec1afbc
Aspect after-activation
HTTP status 200
Load time 0.330 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Discourse

Page screenshot: Discourse
URL /wp-admin/admin.php?page=wp_discourse_options
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Publishing

Page screenshot: Discourse → Publishing
URL /wp-admin/admin.php?page=wp_discourse_options&tab=publishing_options
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Commenting

Page screenshot: Discourse → Commenting
URL /wp-admin/admin.php?page=wp_discourse_options&tab=commenting_options
Aspect menu-item-tab
HTTP status 200
Load time 0.170 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Text Content

Page screenshot: Discourse → Text Content
URL /wp-admin/admin.php?page=wp_discourse_options&tab=text_content_options
Aspect menu-item-tab
HTTP status 200
Load time 0.171 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Webhooks

Page screenshot: Discourse → Webhooks
URL /wp-admin/admin.php?page=wp_discourse_options&tab=webhook_options
Aspect menu-item-tab
HTTP status 200
Load time 0.173 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → DiscourseConnect

Page screenshot: Discourse → DiscourseConnect
URL /wp-admin/admin.php?page=wp_discourse_options&tab=sso_options
Aspect menu-item-tab
HTTP status 200
Load time 0.164 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Logs

Page screenshot: Discourse → Logs
URL /wp-admin/admin.php?page=wp_discourse_options&tab=log_viewer
Aspect menu-item-tab
HTTP status 200
Load time 0.166 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Connection

Page screenshot: Discourse → Connection
URL /wp-admin/admin.php?page=connection_options
Aspect menu-item
HTTP status 200
Load time 0.176 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Publishing

Page screenshot: Discourse → Publishing
URL /wp-admin/admin.php?page=publishing_options
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Discourse → Publishing → Connection

Page screenshot: Discourse → Publishing → Connection
URL /wp-admin/admin.php?page=wp_discourse_options&tab=connection_options
Aspect menu-item-tab
HTTP status 200
Load time 0.169 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Commenting

Page screenshot: Discourse → Commenting
URL /wp-admin/admin.php?page=commenting_options
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Text Content

Page screenshot: Discourse → Text Content
URL /wp-admin/admin.php?page=text_content_options
Aspect menu-item
HTTP status 200
Load time 0.169 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Webhooks

Page screenshot: Discourse → Webhooks
URL /wp-admin/admin.php?page=webhook_options
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → DiscourseConnect

Page screenshot: Discourse → DiscourseConnect
URL /wp-admin/admin.php?page=sso_options
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → DiscourseConnect → DiscourseConnect Provider

Page screenshot: Discourse → DiscourseConnect → 
					DiscourseConnect Provider
URL /wp-admin/admin.php?page=wp_discourse_options&tab=sso_provider&parent_tab=sso_options
Aspect menu-item-tab
HTTP status 200
Load time 0.156 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → DiscourseConnect → DiscourseConnect Client

Page screenshot: Discourse → DiscourseConnect → 
						DiscourseConnect Client
URL /wp-admin/admin.php?page=wp_discourse_options&tab=sso_client&parent_tab=sso_options
Aspect menu-item-tab
HTTP status 200
Load time 0.268 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Discourse → Logs

Page screenshot: Discourse → Logs
URL /wp-admin/admin.php?page=log_viewer
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 3.63 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.204 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.369 s+0.088 s3.05 MiB3.72 MiB+ 690.16 KiB
/wp-admin/edit.php0.189 s0.188 s-0.001 s3.07 MiB3.75 MiB+ 690.73 KiB
/wp-admin/post-new.php0.789 s1.114 s+0.325 s4.97 MiB5.63 MiB+ 678.81 KiB
/wp-admin/upload.php0.550 s0.269 s-0.281 s2.99 MiB3.65 MiB+ 671.42 KiB
/wp-admin/options-writing.php0.173 s0.158 s-0.015 s2.99 MiB3.65 MiB+ 681.87 KiB
/wp-admin/media-new.php0.263 s0.212 s-0.051 s2.97 MiB3.63 MiB+ 682.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.258 s0.191 s-0.067 s2.98 MiB3.67 MiB+ 709.77 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.839 s+0.220 s4.96 MiB5.62 MiB+ 677.85 KiB
/wp-admin/options-discussion.php0.215 s0.267 s+0.052 s2.97 MiB3.65 MiB+ 695.71 KiB
/wp-admin/edit-comments.php0.209 s0.214 s+0.005 s3 MiB3.68 MiB+ 692.77 KiB
/0.280 s0.210 s-0.070 s2.94 MiB3.23 MiB+ 291.98 KiB
Average 0.348 s0.366 s+0.019 s3.35 MiB3.99 MiB+ 651.26 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
JavaScript
Language % Lines of code Comment lines Files
PHP75.4%11,9915,95391
JavaScript17.6%2,7901189
CSS3.1%485104
Markdown1.5%24105
JSON1.0%16006
Bourne Shell0.8%129101
XML0.6%9613
SVG0.0%101
Total 15,893 6,092 120

PHP Code Analysis | More results »

Lines of code 11,874
Total complexity 1,845
Median class complexity 16.0
Median method complexity 1.0
Most complex class WPDiscourse\DiscoursePublish\DiscoursePublish
Most complex function WPDiscourse\DiscoursePublish\DiscoursePublish::sync_to_discourse_work()
Classes 68
Methods 675
Functions 6

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 13

PHP Error Log 3 lines

[09-Mar-2023 22:46:59 UTC] PHP Deprecated:  Optional parameter $perform_sync declared before required parameter $comment_type is implicitly treated as a required parameter in /wp-content/plugins/wp-discourse/lib/utilities.php on line 338
[09-Mar-2023 22:46:59 UTC] PHP Deprecated:  Optional parameter $force_sync declared before required parameter $comment_type is implicitly treated as a required parameter in /wp-content/plugins/wp-discourse/lib/utilities.php on line 338
[09-Mar-2023 22:47:00 UTC] PHP Warning:  Undefined array key "url" in /wp-content/plugins/wp-discourse/lib/discourse.php on line 300
See also: All tests for this plugin, How to Hide WP-Discourse Admin Menus