Custom Fonts 2.1.12

Does Custom Fonts work with WordPress 6.7.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: 130.56 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.7.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=a0710c639d
Aspect after-activation
HTTP status 200
Load time 0.407 s
Memory usage 3.64 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.799 s
Memory usage 10.18 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.173 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.493 s0.366 s-0.127 s3.48 MiB3.61 MiB+ 134.79 KiB
/wp-admin/edit.php0.223 s0.312 s+0.089 s3.54 MiB3.68 MiB+ 135.17 KiB
/wp-admin/post-new.php0.810 s1.300 s+0.490 s5.93 MiB6.14 MiB+ 215.45 KiB
/wp-admin/upload.php0.658 s0.544 s-0.114 s3.5 MiB3.6 MiB+ 108.05 KiB
/wp-admin/options-writing.php0.237 s0.334 s+0.097 s3.47 MiB3.6 MiB+ 127.57 KiB
/wp-admin/media-new.php0.273 s0.331 s+0.058 s3.46 MiB3.6 MiB+ 135.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.303 s+0.105 s3.48 MiB3.61 MiB+ 141.03 KiB
/wp-admin/post-new.php?post_type=page1.062 s0.797 s-0.265 s5.92 MiB6.13 MiB+ 210.67 KiB
/wp-admin/options-discussion.php0.471 s0.408 s-0.063 s3.48 MiB3.6 MiB+ 124.7 KiB
/wp-admin/edit-comments.php0.290 s0.321 s+0.031 s3.5 MiB3.62 MiB+ 123.73 KiB
/0.360 s0.239 s-0.121 s3.48 MiB3.46 MiB- 20.8 KiB
Average 0.461 s0.478 s+0.016 s3.93 MiB4.06 MiB+ 130.56 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,5562,16724
JavaScript6.5%3,67710534
CSS3.9%2,2052366
Sass0.6%32701
Total 56,207 2,508 67

PHP Code Analysis | More results »

Lines of code 3,242
Total complexity 700
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 178
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