Does Same but Different work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP fatal errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 51.38 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.
WordPress version | 6.7.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 80+ |
WordPress.org page | https://wordpress.org/plugins/same-but-different/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=same-but-different%2Fsame-but-different.php&plugin_status=all&paged=1&s&_wpnonce=8ec592f7b4 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.238 s |
Memory usage | 3.57 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/themes.php?page=same-but-different_settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.163 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/themes.php?page=same-but-different_settings&tab=themes |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 2.698 s |
Memory usage | 3.52 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/themes.php?page=same-but-different_settings&tab=plugins |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.354 s |
Memory usage | 3.52 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.178 s |
Memory usage | 3.44 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 1.582 s |
Memory usage | 5.83 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.309 s | 0.309 s | +0.000 s | 3.48 MiB | 3.54 MiB | + 64.76 KiB |
/wp-admin/edit.php | 0.186 s | 0.178 s | -0.008 s | 3.54 MiB | 3.6 MiB | + 58.81 KiB |
/wp-admin/post-new.php | 0.723 s | 0.593 s | -0.130 s | 5.92 MiB | 5.99 MiB | + 67.22 KiB |
/wp-admin/upload.php | 0.499 s | 0.286 s | -0.213 s | 3.49 MiB | 3.55 MiB | + 53.65 KiB |
/wp-admin/options-writing.php | 0.181 s | 0.180 s | -0.001 s | 3.47 MiB | 3.53 MiB | + 57.64 KiB |
/wp-admin/media-new.php | 0.242 s | 0.387 s | +0.145 s | 3.46 MiB | 3.53 MiB | + 65.84 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.173 s | 0.181 s | +0.008 s | 3.48 MiB | 3.54 MiB | + 63.56 KiB |
/wp-admin/post-new.php?post_type=page | 0.523 s | 0.601 s | +0.078 s | 5.92 MiB | 5.98 MiB | + 63.85 KiB |
/wp-admin/options-discussion.php | 0.272 s | 0.238 s | -0.034 s | 3.47 MiB | 3.53 MiB | + 54.14 KiB |
/wp-admin/edit-comments.php | 0.185 s | 0.198 s | +0.013 s | 3.49 MiB | 3.54 MiB | + 50.23 KiB |
/ | 0.283 s | 0.197 s | -0.086 s | 3.48 MiB | 3.44 MiB | - 34.48 KiB |
Average | 0.325 s | 0.304 s | -0.021 s | 3.93 MiB | 3.98 MiB | + 51.38 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 74.8% | 1,119 | 379 | 13 | |
CSS | 24.7% | 369 | 3 | 2 | |
JavaScript | 0.5% | 7 | 1 | 1 | |
Total | 1,495 | 383 | 16 |
Lines of code | 877 |
---|---|
Total complexity | 190 |
Median class complexity | 42.0 |
Median method complexity | 2.0 |
Most complex class | OTB_Same_But_Different_Admin_API |
Most complex function | OTB_Same_But_Different_Admin_API::display_field() |
Classes | 4 |
---|---|
Methods | 43 |
Functions | 1 |
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.
wp_options
6ID | Name |
---|---|
otb_same_but_different_widget | Related Posts |
[27-Nov-2024 06:22:44 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/same-but-different/library/classes/otb-same-but-different-admin-api.php:128
Stack trace:
#0 /wp-content/plugins/same-but-different/library/classes/otb-same-but-different-admin-api.php(128): in_array()
#1 /wp-admin/includes/template.php(1837): OTB_Same_But_Different_Admin_API->display_field()
#2 /wp-admin/includes/template.php(1791): do_settings_fields()
#3 /wp-content/plugins/same-but-different/library/template-parts/content-settings.php(7): do_settings_sections()
#4 /wp-content/plugins/same-but-different/library/classes/otb-same-but-different.php(414): include('...')
#5 /wp-content/plugins/same-but-different/library/classes/otb-same-but-different.php(397): OTB_Same_But_Different->render_page()
#6 /wp-includes/class-wp-hook.php(324): OTB_Same_But_Different->do_action()
#7 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#8 /wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /wp-admin/admin.php(259): do_action()
#10 /wp-admin/themes.php(10): require_once('...')
#11 {main}
thrown in /wp-content/plugins/same-but-different/library/classes/otb-same-but-different-admin-api.php on line 128