If-So 1.5.3.2

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

Summary

Errors
6PHP notices
1Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 390.43 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=76c508b465
Aspect after-activation
HTTP status 200
Load time 1.587 s
Memory usage 3.12 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.175 s
Memory usage 3.11 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 2.511 s
Memory usage 4.45 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.339 s
Memory usage 3.11 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 1.331 s
Memory usage 3.22 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.257 s
Memory usage 3.17 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.198 s
Memory usage 3.12 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.283 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.267 s0.406 s+0.139 s2.82 MiB3.15 MiB+ 338.63 KiB
/wp-admin/edit.php0.184 s0.189 s+0.005 s2.86 MiB3.24 MiB+ 386.34 KiB
/wp-admin/post-new.php0.908 s1.292 s+0.384 s5.02 MiB5.57 MiB+ 561.78 KiB
/wp-admin/upload.php0.493 s0.338 s-0.155 s2.7 MiB3.11 MiB+ 424.15 KiB
/wp-admin/options-writing.php0.228 s0.145 s-0.083 s2.71 MiB3.04 MiB+ 335.84 KiB
/wp-admin/media-new.php0.219 s0.420 s+0.201 s2.67 MiB3.03 MiB+ 368.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.234 s+0.058 s2.77 MiB3.08 MiB+ 320.95 KiB
/wp-admin/post-new.php?post_type=page1.140 s1.215 s+0.075 s5.01 MiB5.56 MiB+ 560.79 KiB
/wp-admin/options-discussion.php0.266 s0.291 s+0.025 s2.67 MiB3.05 MiB+ 384.98 KiB
/wp-admin/edit-comments.php0.230 s0.228 s-0.002 s2.78 MiB3.09 MiB+ 319.89 KiB
/0.389 s0.224 s-0.165 s2.65 MiB2.94 MiB+ 292.69 KiB
Average 0.409 s0.453 s+0.044 s3.15 MiB3.53 MiB+ 390.43 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
JavaScript
Language % Lines of code Comment lines Files
PHP50.8%13,2542,869135
SVG11.4%2,97003
CSS10.0%2,6198011
JavaScript9.8%2,54852610
Sass6.7%1,7513413
LESS6.7%1,7454013
PO File3.6%9324422
JSON0.9%24401
XML0.0%301
Total 26,066 3,991 189

PHP Code Analysis | More results »

Lines of code 13,027
Total complexity 3,260
Median class complexity 9.5
Median method complexity 2.0
Most complex class IfSo_Mobile_Detect
Most complex function get_rule_item()
Classes 124
Methods 734
Functions 56

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 7 lines

[14-May-2021 07:58:33 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')
[14-May-2021 07:58:43 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[14-May-2021 07:58:43 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[14-May-2021 07:58:43 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[14-May-2021 07:58:47 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[14-May-2021 07:58:47 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[14-May-2021 07:58:47 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
See also: All tests for this plugin, How to Hide If-So Admin Menus