Custom Fonts 2.1.15

Does Custom Fonts work with WordPress 6.8.3 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: 157.92 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.8.3
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=f243fdba6d
Aspect after-activation
HTTP status 200
Load time 0.394 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.725 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.210 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.391 s0.415 s+0.024 s3.51 MiB3.66 MiB+ 156.48 KiB
/wp-admin/edit.php0.212 s0.353 s+0.141 s3.57 MiB3.72 MiB+ 155.58 KiB
/wp-admin/post-new.php0.862 s0.682 s-0.180 s6.06 MiB6.3 MiB+ 247.85 KiB
/wp-admin/upload.php0.771 s0.414 s-0.357 s3.52 MiB3.65 MiB+ 128.46 KiB
/wp-admin/options-writing.php0.225 s0.496 s+0.271 s3.5 MiB3.65 MiB+ 147.98 KiB
/wp-admin/media-new.php0.273 s0.263 s-0.010 s3.49 MiB3.64 MiB+ 156.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.294 s+0.104 s3.5 MiB3.66 MiB+ 161.44 KiB
/wp-admin/post-new.php?post_type=page0.763 s0.625 s-0.138 s6.05 MiB6.29 MiB+ 243.38 KiB
/wp-admin/options-discussion.php0.292 s0.480 s+0.188 s3.5 MiB3.64 MiB+ 145.1 KiB
/wp-admin/edit-comments.php0.228 s0.334 s+0.106 s3.52 MiB3.66 MiB+ 144.13 KiB
/0.327 s0.220 s-0.107 s3.43 MiB3.48 MiB+ 50.53 KiB
Average 0.412 s0.416 s+0.004 s3.97 MiB4.12 MiB+ 157.92 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