LCT Useful Shortcodes & Functions 2021.1

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=2f9153ba80
Aspect after-activation
HTTP status 200
Load time 0.519 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.177 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.128 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.365 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.256 s0.285 s+0.029 s2.82 MiB3.11 MiB+ 301.8 KiB
/wp-admin/edit.php0.177 s0.180 s+0.003 s2.86 MiB3.16 MiB+ 302.35 KiB
/wp-admin/upload.php0.504 s0.286 s-0.218 s2.7 MiB3.06 MiB+ 369.33 KiB
/wp-admin/options-writing.php0.254 s0.143 s-0.111 s2.71 MiB3.04 MiB+ 337.09 KiB
/wp-admin/media-new.php0.188 s0.160 s-0.028 s2.67 MiB3.03 MiB+ 369.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.189 s+0.017 s2.77 MiB3.07 MiB+ 305.05 KiB
/wp-admin/options-discussion.php0.281 s0.182 s-0.099 s2.67 MiB3.04 MiB+ 369.27 KiB
/wp-admin/edit-comments.php0.223 s0.182 s-0.041 s2.78 MiB3.07 MiB+ 302.16 KiB
/0.329 s0.217 s-0.112 s2.65 MiB2.91 MiB+ 262.13 KiB
Average 0.265 s0.203 s-0.062 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,21637,447239
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,886 39,157 277

PHP Code Analysis | More results »

Lines of code 54,777
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,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

[14-Mar-2021 14:57:28 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
[14-Mar-2021 14:57:30 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
[14-Mar-2021 14:57:31 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