OMGF 5.6.0

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=44a6dfacac
Aspect after-activation
HTTP status 200
Load time 0.473 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.282 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.168 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.170 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.174 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.233 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.287 s0.269 s-0.018 s3.07 MiB3.17 MiB+ 100.61 KiB
/wp-admin/edit.php0.191 s0.189 s-0.002 s3.1 MiB3.2 MiB+ 100.3 KiB
/wp-admin/post-new.php0.768 s0.923 s+0.155 s5.02 MiB5.12 MiB+ 104.09 KiB
/wp-admin/upload.php0.562 s0.459 s-0.103 s3.02 MiB3.1 MiB+ 82.89 KiB
/wp-admin/options-writing.php0.178 s0.172 s-0.006 s3.01 MiB3.08 MiB+ 69.65 KiB
/wp-admin/media-new.php0.366 s0.261 s-0.105 s2.99 MiB3.08 MiB+ 95.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.188 s-0.006 s3.01 MiB3.1 MiB+ 100.25 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.631 s+0.033 s5.01 MiB5.11 MiB+ 99.7 KiB
/wp-admin/options-discussion.php0.216 s0.224 s+0.008 s3 MiB3.08 MiB+ 83.38 KiB
/wp-admin/edit-comments.php0.225 s0.199 s-0.026 s3.03 MiB3.11 MiB+ 82.88 KiB
/0.308 s0.210 s-0.098 s2.97 MiB3.1 MiB+ 131.92 KiB
Average 0.354 s0.339 s-0.015 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.2%2,8671,91528
LESS9.1%356261
CSS8.5%332271
JavaScript7.6%298931
XML1.0%3931
JSON0.6%2501
Total 3,917 2,064 33

PHP Code Analysis | More results »

Lines of code 2,898
Total complexity 602
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

[06-Jun-2023 13:23:11 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
[06-Jun-2023 13:23:11 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
[06-Jun-2023 13:23:11 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