Custom Fonts 2.1.15

Does Custom Fonts work with WordPress 6.8.1 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: 152.49 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.8.1
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=6b69266c39
Aspect after-activation
HTTP status 200
Load time 0.403 s
Memory usage 3.69 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.826 s
Memory usage 10.22 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.206 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.628 s0.437 s-0.191 s3.51 MiB3.66 MiB+ 157.16 KiB
/wp-admin/edit.php0.228 s0.315 s+0.087 s3.57 MiB3.72 MiB+ 156.26 KiB
/wp-admin/post-new.php0.843 s1.305 s+0.462 s6.06 MiB6.3 MiB+ 248.52 KiB
/wp-admin/upload.php0.700 s0.613 s-0.087 s3.52 MiB3.65 MiB+ 129.14 KiB
/wp-admin/options-writing.php0.235 s0.314 s+0.079 s3.5 MiB3.65 MiB+ 148.66 KiB
/wp-admin/media-new.php0.274 s0.274 s+0.000 s3.49 MiB3.64 MiB+ 156.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.294 s+0.090 s3.5 MiB3.66 MiB+ 162.12 KiB
/wp-admin/post-new.php?post_type=page1.114 s0.900 s-0.214 s6.05 MiB6.29 MiB+ 244.05 KiB
/wp-admin/options-discussion.php0.370 s0.440 s+0.070 s3.5 MiB3.65 MiB+ 145.78 KiB
/wp-admin/edit-comments.php0.451 s0.576 s+0.125 s3.52 MiB3.66 MiB+ 144.81 KiB
/0.367 s0.240 s-0.127 s3.5 MiB3.48 MiB- 15.99 KiB
Average 0.492 s0.519 s+0.027 s3.98 MiB4.12 MiB+ 152.49 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.6%28,44202
PHP38.4%21,5592,17224
JavaScript6.5%3,67710534
CSS3.9%2,2052366
Sass0.6%32701
Total 56,210 2,513 67

PHP Code Analysis | More results »

Lines of code 3,245
Total complexity 701
Median class complexity 21.0
Median method complexity 2.0
Most complex class BCF_Google_Fonts_Compatibility
Most complex function BSF_Custom_Fonts_Menu::sanitize_svg()
Classes 19
Methods 179
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