Custom Fonts 2.1.14

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: 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.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=491a81ddb7
Aspect after-activation
HTTP status 200
Load time 0.412 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.705 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.160 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.352 s0.409 s+0.057 s3.51 MiB3.66 MiB+ 156.48 KiB
/wp-admin/edit.php0.190 s0.300 s+0.110 s3.57 MiB3.72 MiB+ 155.58 KiB
/wp-admin/post-new.php0.854 s0.766 s-0.088 s6.06 MiB6.3 MiB+ 247.85 KiB
/wp-admin/upload.php0.606 s0.528 s-0.078 s3.52 MiB3.65 MiB+ 128.46 KiB
/wp-admin/options-writing.php0.223 s0.297 s+0.074 s3.5 MiB3.65 MiB+ 147.98 KiB
/wp-admin/media-new.php0.299 s0.263 s-0.036 s3.49 MiB3.64 MiB+ 156.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.279 s+0.080 s3.5 MiB3.66 MiB+ 161.44 KiB
/wp-admin/post-new.php?post_type=page0.609 s0.616 s+0.007 s6.05 MiB6.29 MiB+ 243.38 KiB
/wp-admin/options-discussion.php0.400 s0.370 s-0.030 s3.5 MiB3.64 MiB+ 145.1 KiB
/wp-admin/edit-comments.php0.441 s0.563 s+0.122 s3.52 MiB3.66 MiB+ 144.13 KiB
/0.297 s0.202 s-0.095 s3.43 MiB3.48 MiB+ 50.53 KiB
Average 0.406 s0.418 s+0.011 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