Custom Fonts 2.1.6

Does Custom Fonts work with WordPress 6.6.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: 145.79 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.6.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=d34b6ca5ac
Aspect after-activation
HTTP status 200
Load time 0.387 s
Memory usage 3.63 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.618 s
Memory usage 10.17 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.165 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.387 s+0.079 s3.47 MiB3.6 MiB+ 132.95 KiB
/wp-admin/edit.php0.182 s0.299 s+0.117 s3.54 MiB3.67 MiB+ 132.96 KiB
/wp-admin/post-new.php0.724 s0.574 s-0.150 s5.75 MiB5.95 MiB+ 206.28 KiB
/wp-admin/upload.php0.520 s0.475 s-0.045 s3.49 MiB3.59 MiB+ 106.77 KiB
/wp-admin/options-writing.php0.206 s0.320 s+0.114 s3.41 MiB3.59 MiB+ 183.52 KiB
/wp-admin/media-new.php0.211 s0.279 s+0.068 s3.4 MiB3.59 MiB+ 196.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.270 s+0.095 s3.47 MiB3.61 MiB+ 138.82 KiB
/wp-admin/post-new.php?post_type=page0.546 s0.574 s+0.028 s5.75 MiB5.94 MiB+ 201.86 KiB
/wp-admin/options-discussion.php0.192 s0.332 s+0.140 s3.41 MiB3.59 MiB+ 185.83 KiB
/wp-admin/edit-comments.php0.403 s0.289 s-0.114 s3.49 MiB3.61 MiB+ 121.52 KiB
/0.302 s0.185 s-0.117 s3.45 MiB3.45 MiB- 3.74 KiB
Average 0.343 s0.362 s+0.020 s3.88 MiB4.02 MiB+ 145.79 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.9%28,44202
PHP38.4%21,4462,06423
JavaScript6.2%3,45710334
CSS3.9%2,1992266
Sass0.6%32701
Total 55,871 2,393 66

PHP Code Analysis | More results »

Lines of code 3,086
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