If-So 1.6

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

Summary

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

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=if-so%2Fif-so.php&plugin_status=all&paged=1&s&_wpnonce=99ae967fa3
Aspect after-activation
HTTP status 200
Load time 1.623 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

If-So

Page screenshot: If-So
URL /wp-admin/edit.php?post_type=ifso_triggers
Aspect menu-item
HTTP status 200
Load time 0.219 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

If-So → Add New Trigger

Page screenshot: If-So → Add New Trigger
URL /wp-admin/post-new.php?post_type=ifso_triggers
Aspect menu-item
HTTP status 200
Load time 1.877 s
Memory usage 5.07 MiB
JS errors None
Resource errors None

If-So → Audiences

Page screenshot: If-So → Audiences
URL /wp-admin/admin.php?page=wpcdd_admin_menu_groups_list
Aspect menu-item
HTTP status 200
Load time 0.474 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

If-So → Geolocation

Page screenshot: If-So → Geolocation
URL /wp-admin/admin.php?page=wpcdd_admin_geo_license
Aspect menu-item
HTTP status 200
Load time 0.672 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

If-So → Settings

Page screenshot: If-So → Settings
URL /wp-admin/admin.php?page=wpcdd_admin_menu_settings
Aspect menu-item
HTTP status 200
Load time 0.235 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

If-So → License

Page screenshot: If-So → License
URL /wp-admin/admin.php?page=wpcdd_admin_menu_license
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.23 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.392 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.411 s+0.082 s3.05 MiB3.29 MiB+ 251.86 KiB
/wp-admin/edit.php0.227 s0.237 s+0.010 s3.07 MiB3.3 MiB+ 235.09 KiB
/wp-admin/post-new.php0.937 s1.843 s+0.906 s4.97 MiB5.51 MiB+ 560.02 KiB
/wp-admin/upload.php0.754 s0.306 s-0.448 s2.99 MiB3.24 MiB+ 249.55 KiB
/wp-admin/options-writing.php0.198 s0.172 s-0.026 s2.99 MiB3.17 MiB+ 188.21 KiB
/wp-admin/media-new.php0.264 s0.231 s-0.033 s2.97 MiB3.18 MiB+ 213.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.209 s+0.009 s2.98 MiB3.23 MiB+ 254.92 KiB
/wp-admin/post-new.php?post_type=page0.688 s0.871 s+0.183 s4.96 MiB5.5 MiB+ 555.63 KiB
/wp-admin/options-discussion.php0.256 s0.321 s+0.065 s2.97 MiB3.19 MiB+ 218.05 KiB
/wp-admin/edit-comments.php0.284 s0.235 s-0.049 s3 MiB3.21 MiB+ 216.85 KiB
/0.333 s0.257 s-0.076 s2.94 MiB3.22 MiB+ 280.81 KiB
Average 0.406 s0.463 s+0.057 s3.35 MiB3.64 MiB+ 293.16 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
SVG
CSS
Language % Lines of code Comment lines Files
PHP57.6%18,4284,873174
SVG9.3%2,97003
CSS8.5%2,7138211
JavaScript6.2%1,99524610
PO File5.5%1,76558826
Sass5.5%1,7513413
LESS5.5%1,7454013
JSON1.0%31704
Markdown0.9%29901
XML0.0%301
Total 31,986 5,863 256

PHP Code Analysis | More results »

Lines of code 17,717
Total complexity 4,463
Median class complexity 10.0
Median method complexity 2.0
Most complex class IfSo\Extensions\IFSOExtendedShortcodes\ExtendedShortcodes\ExtendedShortcodes
Most complex function get_rule_item()
Classes 162
Methods 1,088
Functions 41

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.

Database Tables 2

Options wp_options 7

Custom Post Types 1

ID Name
ifso_triggersTriggers

PHP Error Log 43 lines

[24-Jan-2023 16:16:02 UTC] WordPress database error Table 'wordpress.wp_ifso_local_user' doesn't exist for query SELECT alert_values FROM wp_ifso_local_user made by activate_plugin, do_action('activate_if-so/if-so.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_if_so, create_ifso_tables, require_once('/plugins/if-so/extensions/ifso-tables/ifso-table-creator.php')
[24-Jan-2023 16:16:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:04 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:05 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:05 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:15 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
[24-Jan-2023 16:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7022
[24-Jan-2023 16:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2162
See also: All tests for this plugin, How to Hide If-So Admin Menus