LCT Useful Shortcodes & Functions 2021.2

Does "LCT Useful Shortcodes & Functions" work with WordPress 5.7 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: 324.33 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.7
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=073c54567b
Aspect after-activation
HTTP status 200
Load time 0.392 s
Memory usage 3.16 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.182 s
Memory usage 3.11 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.115 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.356 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.271 s-0.009 s2.82 MiB3.11 MiB+ 301.8 KiB
/wp-admin/edit.php0.179 s0.191 s+0.012 s2.86 MiB3.16 MiB+ 302.35 KiB
/wp-admin/upload.php0.508 s0.276 s-0.232 s2.7 MiB3.06 MiB+ 369.33 KiB
/wp-admin/options-writing.php0.263 s0.288 s+0.025 s2.71 MiB3.04 MiB+ 337.09 KiB
/wp-admin/media-new.php0.228 s0.177 s-0.051 s2.67 MiB3.03 MiB+ 369.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.209 s+0.016 s2.77 MiB3.07 MiB+ 305.05 KiB
/wp-admin/options-discussion.php0.317 s0.178 s-0.139 s2.67 MiB3.04 MiB+ 369.27 KiB
/wp-admin/edit-comments.php0.232 s0.257 s+0.025 s2.78 MiB3.07 MiB+ 302.16 KiB
/0.338 s0.282 s-0.056 s2.65 MiB2.91 MiB+ 262.13 KiB
Average 0.282 s0.237 s-0.045 s2.74 MiB3.05 MiB+ 324.33 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,21137,449239
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,881 39,159 277

PHP Code Analysis | More results »

Lines of code 54,772
Total complexity 12,523
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,910
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

[15-Mar-2021 16:32:41 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(294): lct_wp_admin_admin_admin->remove_meta_boxes()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): 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
[15-Mar-2021 16:32:43 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(292): lct_api_class->iframe_filters_to_keep()
#1 /wp-includes/plugin.php(212): 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(1930): wp_get_post_revisions()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1839): 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
[15-Mar-2021 16:32:44 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(292): lct_api_class->iframe_filters_to_keep()
#1 /wp-includes/plugin.php(212): 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(1930): wp_get_post_revisions()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1839): 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