Custom Fonts 2.0.0

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 107.9 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/custom-fonts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=custom-fonts%2Fcustom-fonts.php&plugin_status=all&paged=1&s&_wpnonce=bf72ec31ae
Aspect after-activation
HTTP status 200
Load time 0.477 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Appearance → Custom Fonts

Page screenshot: Appearance → Custom Fonts
URL /wp-admin/themes.php?page=bsf-custom-fonts
Aspect menu-item
HTTP status 200
Load time 0.710 s
Memory usage 9.33 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.219 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.427 s0.322 s-0.105 s3.07 MiB3.18 MiB+ 110.36 KiB
/wp-admin/edit.php0.183 s0.352 s+0.169 s3.1 MiB3.21 MiB+ 115.4 KiB
/wp-admin/post-new.php0.841 s1.026 s+0.185 s5.02 MiB5.18 MiB+ 158.71 KiB
/wp-admin/upload.php0.870 s0.519 s-0.351 s3.02 MiB3.1 MiB+ 79.69 KiB
/wp-admin/options-writing.php0.144 s0.268 s+0.124 s3.02 MiB3.1 MiB+ 90.45 KiB
/wp-admin/media-new.php0.257 s0.298 s+0.041 s3 MiB3.1 MiB+ 109.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.282 s+0.105 s3.01 MiB3.12 MiB+ 118.43 KiB
/wp-admin/post-new.php?post_type=page1.041 s0.730 s-0.311 s5.01 MiB5.16 MiB+ 154.3 KiB
/wp-admin/options-discussion.php0.270 s0.345 s+0.075 s3 MiB3.1 MiB+ 107.88 KiB
/wp-admin/edit-comments.php0.252 s0.295 s+0.043 s3.03 MiB3.13 MiB+ 102.15 KiB
/0.322 s0.261 s-0.061 s3.03 MiB3.07 MiB+ 40.15 KiB
Average 0.435 s0.427 s-0.008 s3.39 MiB3.5 MiB+ 107.9 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.

JSON
PHP
Language % Lines of code Comment lines Files
JSON51.4%25,29602
PHP38.1%18,7711,75822
JavaScript6.0%2,9407332
CSS4.2%2,0612266
Sass0.4%18701
Total 49,255 2,057 63

PHP Code Analysis | More results »

Lines of code 2,397
Total complexity 572
Median class complexity 20.0
Median method complexity 2.0
Most complex class BCF_Google_Fonts_Compatibility
Most complex function bcf_prepare_backward_font_data()
Classes 17
Methods 151
Functions 11

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

Custom Post Types 1

ID Name
bsf_custom_fontsCustom Fonts

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Custom Fonts" Admin Menu