LCT Useful Shortcodes & Functions 2021.3

Does "LCT Useful Shortcodes & Functions" work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 306.86 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 30+
WordPress.org page https://wordpress.org/plugins/lct-useful-shortcodes-functions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=lct-useful-shortcodes-functions%2Flct-useful-shortcodes-functions.php&plugin_status=all&paged=1&s&_wpnonce=6db78949ec
Aspect after-activation
HTTP status 200
Load time 0.734 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Theme Chunks

Page screenshot: Theme Chunks
URL /wp-admin/edit.php?post_type=lct_theme_chunk
Aspect menu-item
HTTP status 200
Load time 0.180 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Theme Chunks → Add New Theme Chunk

Page screenshot: Theme Chunks → Add New Theme Chunk
URL /wp-admin/post-new.php?post_type=lct_theme_chunk
Aspect menu-item
HTTP status 500
Load time 0.188 s
Memory usage N/A
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.334 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.300 s0.266 s-0.034 s3.08 MiB3.4 MiB+ 328.93 KiB
/wp-admin/edit.php0.173 s0.177 s+0.004 s3.11 MiB3.47 MiB+ 366.84 KiB
/wp-admin/upload.php0.365 s0.300 s-0.065 s3.03 MiB3.33 MiB+ 305.64 KiB
/wp-admin/options-writing.php0.133 s0.160 s+0.027 s3.02 MiB3.31 MiB+ 288.41 KiB
/wp-admin/media-new.php0.248 s0.208 s-0.040 s3.01 MiB3.31 MiB+ 305.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.185 s+0.003 s3.04 MiB3.34 MiB+ 303.74 KiB
/wp-admin/options-discussion.php0.282 s0.182 s-0.100 s3 MiB3.3 MiB+ 304.59 KiB
/wp-admin/edit-comments.php0.354 s0.185 s-0.169 s3.04 MiB3.34 MiB+ 302.1 KiB
/0.318 s0.311 s-0.007 s2.91 MiB3.16 MiB+ 255.73 KiB
Average 0.262 s0.219 s-0.042 s3.03 MiB3.33 MiB+ 306.86 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.

PHP
Language % Lines of code Comment lines Files
PHP89.6%66,21737,467239
JavaScript6.6%4,8571,68113
HTML1.4%1,006281
Markdown1.2%895017
CSS0.8%55511
SVG0.4%30001
JSON0.1%4003
Bourne Shell0.0%1702
Total 73,887 39,177 277

PHP Code Analysis | More results »

Lines of code 54,778
Total complexity 12,524
Median class complexity 28.0
Median method complexity 2.0
Most complex class File_X509
Most complex function lct_acf_op_main_fixes_cleanups::lct_cleanup_uploads()
Classes 141
Methods 1,911
Functions 632

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 2

Custom Post Types 1

ID Name
lct_theme_chunkTheme Chunks

PHP Error Log 30 lines

[26-Jul-2021 01:38:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function lct_acf_get_option() in /wp-content/plugins/lct-useful-shortcodes-functions/code/wp-admin/admin/_admin.php:782
Stack trace:
#0 /wp-includes/class-wp-hook.php(305): lct_wp_admin_admin_admin->remove_meta_boxes()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1578): do_action()
#4 /wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(75): require('/opt/bitnami/ap...')
#6 {main}
  thrown in /wp-content/plugins/lct-useful-shortcodes-functions/code/wp-admin/admin/_admin.php on line 782
[26-Jul-2021 01:38:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function lct_acf_get_option_raw() in /wp-content/plugins/lct-useful-shortcodes-functions/code/api/class.php:674
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): lct_api_class->iframe_filters_to_keep()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/revision.php(567): apply_filters()
#3 /wp-includes/revision.php(528): wp_revisions_to_keep()
#4 /wp-includes/revision.php(498): wp_revisions_enabled()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2001): wp_get_post_revisions()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1910): WP_REST_Posts_Controller->prepare_links()
#7 /wp-includes/rest-api/endpoints in /wp-content/plugins/lct-useful-shortcodes-functions/code/api/class.php on line 674
[26-Jul-2021 01:38:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function lct_acf_get_option_raw() in /wp-content/plugins/lct-useful-shortcodes-functions/code/api/class.php:674
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): lct_api_class->iframe_filters_to_keep()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/revision.php(567): apply_filters()
#3 /wp-includes/revision.php(528): wp_revisions_to_keep()
#4 /wp-includes/revision.php(498): wp_revisions_enabled()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2001): wp_get_post_revisions()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1910): WP_REST_Posts_Controller->prepare_links()
#7 /wp-includes/rest-api/endpoints in /wp-content/plugins/lct-useful-shortcodes-functions/code/api/class.php on line 674
See also: All tests for this plugin