OMGF 5.7.7

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

Summary

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

Memory usage: 103.87 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.4.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=8d8ccd5c9c
Aspect after-activation
HTTP status 200
Load time 0.449 s
Memory usage 3.48 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.242 s
Memory usage 3.61 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.200 s
Memory usage 3.43 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.185 s
Memory usage 3.43 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.198 s
Memory usage 3.43 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.220 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.340 s-0.003 s3.38 MiB3.5 MiB+ 121.27 KiB
/wp-admin/edit.php0.219 s0.216 s-0.003 s3.41 MiB3.52 MiB+ 120.95 KiB
/wp-admin/post-new.php0.921 s0.608 s-0.313 s5.46 MiB5.58 MiB+ 124.73 KiB
/wp-admin/upload.php0.800 s0.438 s-0.362 s3.32 MiB3.42 MiB+ 104.28 KiB
/wp-admin/options-writing.php0.245 s0.243 s-0.002 s3.32 MiB3.41 MiB+ 96.87 KiB
/wp-admin/media-new.php0.338 s0.300 s-0.038 s3.29 MiB3.41 MiB+ 116.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.205 s-0.022 s3.31 MiB3.43 MiB+ 121.64 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.597 s-0.034 s5.45 MiB5.57 MiB+ 124.35 KiB
/wp-admin/options-discussion.php0.330 s0.318 s-0.012 s3.3 MiB3.4 MiB+ 104.77 KiB
/wp-admin/edit-comments.php0.264 s0.234 s-0.030 s3.33 MiB3.44 MiB+ 103.53 KiB
/0.321 s0.201 s-0.120 s3.36 MiB3.36 MiB+ 3.72 KiB
Average 0.422 s0.336 s-0.085 s3.72 MiB3.82 MiB+ 103.87 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
Language % Lines of code Comment lines Files
PHP76.6%3,4482,05829
LESS7.9%356261
CSS7.4%332271
JavaScript6.6%298931
XML1.0%4531
JSON0.6%2501
Total 4,504 2,207 34

PHP Code Analysis | More results »

Lines of code 3,482
Total complexity 674
Median class complexity 14.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 188
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 21 lines

[12-Dec-2023 15:45:58 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:45:59 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:45:59 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:01 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:02 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:03 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:05 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:05 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:05 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:05 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:08 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:09 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:09 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:09 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:10 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:10 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:13 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:13 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:14 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:14 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
[12-Dec-2023 15:46:14 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/host-webfonts-local/src/Admin/Actions.php on line 59
See also: All tests for this plugin, How to Hide the "Optimize Google Fonts" Admin Menu