OMGF 5.6.3

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: 101.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=2f17ce2bf5
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 3.16 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.258 s
Memory usage 3.3 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.156 s
Memory usage 3.12 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.141 s
Memory usage 3.12 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.144 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.185 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.684 s0.235 s-0.449 s3.07 MiB3.18 MiB+ 107.2 KiB
/wp-admin/edit.php0.167 s0.159 s-0.008 s3.1 MiB3.2 MiB+ 106.89 KiB
/wp-admin/post-new.php0.680 s0.543 s-0.137 s5.02 MiB5.13 MiB+ 110.68 KiB
/wp-admin/upload.php0.593 s0.344 s-0.249 s3.02 MiB3.1 MiB+ 89.48 KiB
/wp-admin/options-writing.php0.131 s0.120 s-0.011 s3.01 MiB3.09 MiB+ 76.24 KiB
/wp-admin/media-new.php0.238 s0.209 s-0.029 s2.99 MiB3.09 MiB+ 101.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.146 s0.143 s-0.003 s3.01 MiB3.11 MiB+ 106.84 KiB
/wp-admin/post-new.php?post_type=page0.542 s0.541 s-0.001 s5.01 MiB5.12 MiB+ 106.3 KiB
/wp-admin/options-discussion.php0.182 s0.207 s+0.025 s3 MiB3.09 MiB+ 89.98 KiB
/wp-admin/edit-comments.php0.162 s0.182 s+0.020 s3.03 MiB3.11 MiB+ 89.48 KiB
/0.262 s0.184 s-0.078 s2.97 MiB3.1 MiB+ 131.92 KiB
Average 0.344 s0.261 s-0.084 s3.38 MiB3.48 MiB+ 101.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
PHP74.3%3,0282,03329
LESS8.7%356261
CSS8.1%332271
JavaScript7.3%298931
XML1.0%3931
JSON0.6%2501
Total 4,078 2,182 34

PHP Code Analysis | More results »

Lines of code 3,061
Total complexity 637
Median class complexity 12.5
Median method complexity 2.0
Most complex class OMGF\Frontend\Process
Most complex function OMGF\Admin\Settings\Optimize::do_optimized_fonts_manager()
Classes 28
Methods 183
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

[31-Jul-2023 09:06:21 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
[31-Jul-2023 09:06:21 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
[31-Jul-2023 09:06:21 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