If-So 1.6.1

Does If-So work with WordPress 6.2 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: 302.78 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.093 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2
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=38d7d4b3e7
Aspect after-activation
HTTP status 200
Load time 1.932 s
Memory usage 3.29 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.178 s
Memory usage 3.27 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.519 s
Memory usage 5.08 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.383 s
Memory usage 3.28 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.675 s
Memory usage 3.35 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.232 s
Memory usage 3.33 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.215 s
Memory usage 3.3 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.354 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.291 s0.329 s+0.038 s3.07 MiB3.33 MiB+ 262.87 KiB
/wp-admin/edit.php0.192 s0.190 s-0.002 s3.1 MiB3.35 MiB+ 260.8 KiB
/wp-admin/post-new.php0.755 s1.915 s+1.160 s5.02 MiB5.58 MiB+ 569.95 KiB
/wp-admin/upload.php0.552 s0.314 s-0.238 s3.02 MiB3.27 MiB+ 260.88 KiB
/wp-admin/options-writing.php0.173 s0.141 s-0.032 s3.01 MiB3.21 MiB+ 199.64 KiB
/wp-admin/media-new.php0.277 s0.204 s-0.073 s2.99 MiB3.21 MiB+ 225.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.187 s-0.046 s3.01 MiB3.25 MiB+ 246.24 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.773 s+0.167 s5.01 MiB5.56 MiB+ 561.56 KiB
/wp-admin/options-discussion.php0.223 s0.296 s+0.073 s3 MiB3.22 MiB+ 229.38 KiB
/wp-admin/edit-comments.php0.212 s0.249 s+0.037 s3.03 MiB3.25 MiB+ 228.17 KiB
/0.310 s0.244 s-0.066 s2.97 MiB3.25 MiB+ 286.01 KiB
Average 0.348 s0.440 s+0.093 s3.38 MiB3.68 MiB+ 302.78 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.7%18,7934,890177
SVG9.1%2,97003
CSS8.4%2,7288311
JavaScript6.8%2,20124711
PO File5.4%1,76558826
Sass5.4%1,7513413
LESS5.4%1,7454013
JSON1.0%31704
Markdown0.9%29901
XML0.0%301
Total 32,572 5,882 260

PHP Code Analysis | More results »

Lines of code 17,959
Total complexity 4,523
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 165
Methods 1,101
Functions 45

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

[31-Mar-2023 18:20:30 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')
[31-Mar-2023 18:20:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:30 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:33 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:37 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:38 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:39 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:40 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:40 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:42 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:42 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:43 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:43 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:46 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:47 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:50 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:51 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:51 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[31-Mar-2023 18:20:51 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[31-Mar-2023 18:20:51 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
See also: All tests for this plugin, How to Hide If-So Admin Menus