Custom Fonts 2.1.2

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

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

Environment
WordPress version6.4.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=3b834b62f1
Aspect after-activation
HTTP status 200
Load time 0.387 s
Memory usage 3.49 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.564 s
Memory usage 9.47 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.162 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.375 s+0.008 s3.38 MiB3.51 MiB+ 132.4 KiB
/wp-admin/edit.php0.225 s0.291 s+0.066 s3.41 MiB3.54 MiB+ 138.14 KiB
/wp-admin/post-new.php0.822 s0.728 s-0.094 s5.46 MiB5.64 MiB+ 185.57 KiB
/wp-admin/upload.php0.584 s0.455 s-0.129 s3.32 MiB3.42 MiB+ 104.12 KiB
/wp-admin/options-writing.php0.211 s0.327 s+0.116 s3.32 MiB3.43 MiB+ 117.17 KiB
/wp-admin/media-new.php0.298 s0.327 s+0.029 s3.29 MiB3.42 MiB+ 133.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.297 s+0.106 s3.31 MiB3.46 MiB+ 151.49 KiB
/wp-admin/post-new.php?post_type=page0.556 s0.556 s+0.000 s5.45 MiB5.63 MiB+ 185.16 KiB
/wp-admin/options-discussion.php0.246 s0.342 s+0.096 s3.3 MiB3.43 MiB+ 127.47 KiB
/wp-admin/edit-comments.php0.266 s0.632 s+0.366 s3.33 MiB3.45 MiB+ 122.05 KiB
/0.267 s0.186 s-0.081 s3.36 MiB3.35 MiB- 3.66 KiB
Average 0.367 s0.411 s+0.044 s3.72 MiB3.84 MiB+ 126.64 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.3%25,90002
PHP38.1%19,6111,95623
JavaScript6.7%3,4269934
CSS4.3%2,1992266
Sass0.6%32701
Total 51,463 2,281 66

PHP Code Analysis | More results »

Lines of code 2,866
Total complexity 641
Median class complexity 20.5
Median method complexity 2.0
Most complex class BCF_Google_Fonts_Compatibility
Most complex function bcf_prepare_backward_font_data()
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