Does Shortcode Preview work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .
| 1 | PHP fatal errors |
| 46 | PHP deprecation warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 17.02 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.047 seconds
The average page load time increased by this amount after activating the plugin.
| WordPress version | 7.1 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | <10 |
| WordPress.org page | https://wordpress.org/plugins/shortcode-preview/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=shortcode-preview%2Fshortcode-preview.php&plugin_status=all&paged=1&s&_wpnonce=3f08bba57f |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.709 s |
| Memory usage | 4.26 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=shortcode-preview |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.166 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.229 s |
| Memory usage | 4.63 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.964 s | 0.611 s | -0.353 s | 4.22 MiB | 4.24 MiB | + 18.43 KiB |
| /wp-admin/edit.php | 0.548 s | 0.751 s | +0.203 s | 4.28 MiB | 4.3 MiB | + 18.12 KiB |
| /wp-admin/post-new.php | 2.124 s | 2.510 s | +0.386 s | 6.78 MiB | 6.82 MiB | + 45.8 KiB |
| /wp-admin/upload.php | 1.015 s | 1.091 s | +0.076 s | 4.24 MiB | 4.25 MiB | + 4.77 KiB |
| /wp-admin/options-writing.php | 0.568 s | 0.540 s | -0.028 s | 4.22 MiB | 4.22 MiB | + 5.01 KiB |
| /wp-admin/media-new.php | 0.591 s | 0.695 s | +0.104 s | 4.21 MiB | 4.22 MiB | + 13.2 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.531 s | 0.549 s | +0.018 s | 4.22 MiB | 4.24 MiB | + 18.07 KiB |
| /wp-admin/post-new.php?post_type=page | 1.928 s | 2.444 s | +0.516 s | 6.75 MiB | 6.79 MiB | + 37.33 KiB |
| /wp-admin/options-discussion.php | 1.158 s | 0.774 s | -0.384 s | 4.22 MiB | 4.22 MiB | - 2.8 KiB |
| /wp-admin/edit-comments.php | 0.553 s | 0.568 s | +0.015 s | 4.24 MiB | 4.24 MiB | + 1.02 KiB |
| / | 0.314 s | 0.281 s | -0.033 s | 4.6 MiB | 4.63 MiB | + 28.25 KiB |
| Average | 0.936 s | 0.983 s | +0.047 s | 4.73 MiB | 4.74 MiB | + 17.02 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 54.9% | 270 | 84 | 6 | |
| CSS | 25.4% | 125 | 0 | 1 | |
| JavaScript | 19.7% | 97 | 1 | 1 | |
| Total | 492 | 85 | 8 | ||
| Lines of code | 261 |
|---|---|
| Total complexity | 33 |
| Median class complexity | 2.0 |
| Median method complexity | 1.0 |
| Most complex class | ShortcodePreviewi18n |
| Most complex function | shortcode_preview_settings_page() |
| Classes | 1 |
|---|---|
| Methods | 2 |
| Functions | 13 |
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.
wp_options 1[09-Sep-2026 09:26:18 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:18 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:18 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:19 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:19 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:19 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:20 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:20 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:20 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:20 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/shortcode-preview/includes/admin.php:60
Stack trace:
#0 /wp-includes/class-wp-hook.php(353): shortcode_preview_settings_page()
#1 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(523): WP_Hook->do_action()
#3 /wp-admin/admin.php(264): do_action()
#4 /wp-admin/options-general.php(10): require_once('...')
#5 {main}
thrown in /wp-content/plugins/shortcode-preview/includes/admin.php on line 60
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:22 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:23 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:23 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:23 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:26 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:27 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:27 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:28 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:29 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:29 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:29 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:30 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:30 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:30 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:33 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:33 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:33 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:34 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:34 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:34 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:35 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:35 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:35 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:36 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:36 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:36 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260
[09-Sep-2026 09:26:36 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6260