Custom Fonts 2.1.15

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

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

Environment
WordPress version6.8.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=eea24f41cb
Aspect after-activation
HTTP status 200
Load time 0.389 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.962 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.230 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.358 s0.471 s+0.113 s3.51 MiB3.66 MiB+ 156.48 KiB
/wp-admin/edit.php0.210 s0.343 s+0.133 s3.57 MiB3.72 MiB+ 155.58 KiB
/wp-admin/post-new.php0.861 s0.666 s-0.195 s6.06 MiB6.3 MiB+ 247.85 KiB
/wp-admin/upload.php0.821 s0.529 s-0.292 s3.52 MiB3.65 MiB+ 128.46 KiB
/wp-admin/options-writing.php0.228 s0.290 s+0.062 s3.5 MiB3.65 MiB+ 147.98 KiB
/wp-admin/media-new.php0.284 s0.302 s+0.018 s3.49 MiB3.64 MiB+ 156.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.305 s+0.102 s3.5 MiB3.66 MiB+ 161.44 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.624 s-0.153 s6.05 MiB6.29 MiB+ 243.38 KiB
/wp-admin/options-discussion.php0.282 s0.671 s+0.389 s3.5 MiB3.64 MiB+ 145.1 KiB
/wp-admin/edit-comments.php0.250 s0.328 s+0.078 s3.52 MiB3.66 MiB+ 144.13 KiB
/0.316 s0.368 s+0.052 s3.43 MiB3.48 MiB+ 50.53 KiB
Average 0.417 s0.445 s+0.028 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