Custom Fonts 2.1.5

Does Custom Fonts work with WordPress 6.5.5 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: 133.98 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.027 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.5
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=8341356fe6
Aspect after-activation
HTTP status 200
Load time 0.423 s
Memory usage 3.55 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.670 s
Memory usage 9.53 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.191 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.368 s+0.004 s3.44 MiB3.56 MiB+ 131.95 KiB
/wp-admin/edit.php0.211 s0.359 s+0.148 s3.46 MiB3.6 MiB+ 137.69 KiB
/wp-admin/post-new.php0.920 s0.809 s-0.111 s5.59 MiB5.81 MiB+ 224.99 KiB
/wp-admin/upload.php0.583 s0.485 s-0.098 s3.38 MiB3.48 MiB+ 103.34 KiB
/wp-admin/options-writing.php0.224 s0.363 s+0.139 s3.37 MiB3.49 MiB+ 116.09 KiB
/wp-admin/media-new.php0.300 s0.319 s+0.019 s3.35 MiB3.48 MiB+ 132.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.288 s+0.076 s3.37 MiB3.53 MiB+ 162 KiB
/wp-admin/post-new.php?post_type=page0.560 s0.575 s+0.015 s5.59 MiB5.8 MiB+ 220.58 KiB
/wp-admin/options-discussion.php0.463 s0.346 s-0.117 s3.36 MiB3.48 MiB+ 127.02 KiB
/wp-admin/edit-comments.php0.257 s0.571 s+0.314 s3.39 MiB3.51 MiB+ 121.59 KiB
/0.312 s0.222 s-0.090 s3.42 MiB3.41 MiB- 3.86 KiB
Average 0.401 s0.428 s+0.027 s3.79 MiB3.92 MiB+ 133.98 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
JSON50.2%25,90002
PHP38.3%19,7592,06423
JavaScript6.7%3,45710334
CSS4.3%2,1992266
Sass0.6%32701
Total 51,642 2,393 66

PHP Code Analysis | More results »

Lines of code 3,083
Total complexity 672
Median class complexity 22.5
Median method complexity 2.0
Most complex class BCF_Google_Fonts_Compatibility
Most complex function BSF_Custom_Fonts_Menu::sanitize_svg()
Classes 18
Methods 172
Functions 12

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