OMGF 5.6.2

Does OMGF work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 95.52 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/host-webfonts-local/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=host-webfonts-local%2Fhost-webfonts-local.php&plugin_status=all&paged=1&s&_wpnonce=7e1a37c850
Aspect after-activation
HTTP status 200
Load time 0.267 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts

Page screenshot: Settings → Optimize Google Fonts
URL /wp-admin/options-general.php?page=optimize-webfonts
Aspect menu-item
HTTP status 200
Load time 1.440 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Detection Settings

Page screenshot: Settings → Optimize Google Fonts → 
			Detection Settings
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-detection-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.220 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Advanced Settings

Page screenshot: Settings → Optimize Google Fonts → 
			Advanced Settings
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-advanced-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.175 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Optimize Google Fonts → Help

Page screenshot: Settings → Optimize Google Fonts → 
			Help
URL /wp-admin/options-general.php?page=optimize-webfonts&tab=omgf-help
Aspect menu-item-tab
HTTP status 200
Load time 0.199 s
Memory usage 3.11 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.216 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.280 s-0.028 s3.07 MiB3.17 MiB+ 100.61 KiB
/wp-admin/edit.php0.218 s0.214 s-0.004 s3.1 MiB3.2 MiB+ 100.3 KiB
/wp-admin/post-new.php0.890 s0.780 s-0.110 s5.02 MiB5.12 MiB+ 104.09 KiB
/wp-admin/upload.php0.871 s0.510 s-0.361 s3.02 MiB3.1 MiB+ 82.89 KiB
/wp-admin/options-writing.php0.193 s0.185 s-0.008 s3.01 MiB3.08 MiB+ 69.65 KiB
/wp-admin/media-new.php0.295 s0.286 s-0.009 s2.99 MiB3.08 MiB+ 95.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.220 s+0.017 s3.01 MiB3.1 MiB+ 100.25 KiB
/wp-admin/post-new.php?post_type=page0.657 s0.676 s+0.019 s5.01 MiB5.11 MiB+ 99.7 KiB
/wp-admin/options-discussion.php0.256 s0.265 s+0.009 s3 MiB3.08 MiB+ 83.38 KiB
/wp-admin/edit-comments.php0.242 s0.233 s-0.009 s3.03 MiB3.11 MiB+ 82.88 KiB
/0.341 s0.240 s-0.101 s2.97 MiB3.1 MiB+ 131.92 KiB
Average 0.407 s0.354 s-0.053 s3.38 MiB3.48 MiB+ 95.52 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
LESS
CSS
Language % Lines of code Comment lines Files
PHP73.3%2,8771,93028
LESS9.1%356261
CSS8.5%332271
JavaScript7.6%298931
XML1.0%3931
JSON0.6%2501
Total 3,927 2,079 33

PHP Code Analysis | More results »

Lines of code 2,908
Total complexity 607
Median class complexity 12.0
Median method complexity 2.0
Most complex class OMGF\Frontend\Process
Most complex function OMGF\Admin\Settings\Optimize::do_optimized_fonts_manager()
Classes 27
Methods 173
Functions 0

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 3

PHP Error Log 3 lines

[19-Jul-2023 13:13:45 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/host-webfonts-local/src/DB/Migrate.php on line 58
[19-Jul-2023 13:13:45 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/host-webfonts-local/src/DB/Migrate.php on line 58
[19-Jul-2023 13:13:45 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/host-webfonts-local/src/DB/Migrate.php on line 58
See also: All tests for this plugin, How to Hide the "Optimize Google Fonts" Admin Menu