SyntaxHighlighterPro 1.0.0

Does SyntaxHighlighterPro work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
31PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 7.45 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/syntaxhighlighterpro/
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=syntaxhighlighterpro%2Fwp-syntaxhighlighterpro.php&plugin_status=all&paged=1&s&_wpnonce=f1ff9eacb1
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Settings → Syntax Highlighter Pro

Page screenshot: Settings → Syntax Highlighter Pro
URL /wp-admin/options-general.php?page=wp-syntaxhighlighterpro.php
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 3.5 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.311 s
Memory usage 3.43 MiB
JS errors
[
    {
        "message": "ReferenceError: SyntaxHighlighter is not defined\n    at /:226:32",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.541 s+0.204 s3.48 MiB3.5 MiB+ 17.57 KiB
/wp-admin/edit.php0.219 s0.268 s+0.049 s3.54 MiB3.56 MiB+ 18.37 KiB
/wp-admin/post-new.php0.825 s0.631 s-0.194 s5.92 MiB5.94 MiB+ 21.52 KiB
/wp-admin/upload.php0.757 s0.295 s-0.462 s3.49 MiB3.49 MiB+ 984 bytes
/wp-admin/options-writing.php0.207 s0.183 s-0.024 s3.47 MiB3.48 MiB+ 4.95 KiB
/wp-admin/media-new.php0.276 s0.225 s-0.051 s3.46 MiB3.47 MiB+ 13.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.211 s+0.027 s3.47 MiB3.5 MiB+ 23.82 KiB
/wp-admin/post-new.php?post_type=page0.690 s0.618 s-0.072 s5.92 MiB5.93 MiB+ 17.05 KiB
/wp-admin/options-discussion.php0.285 s0.301 s+0.016 s3.47 MiB3.47 MiB+ 1.45 KiB
/wp-admin/edit-comments.php0.223 s0.226 s+0.003 s3.49 MiB3.49 MiB+ 976 bytes
/0.317 s0.297 s-0.020 s3.47 MiB3.44 MiB- 37.82 KiB
Average 0.393 s0.345 s-0.048 s3.93 MiB3.93 MiB+ 7.45 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS81.9%9983498
PHP18.1%221142
Total 1,219 363 10

PHP Code Analysis | More results »

Lines of code 225
Total complexity 41
Median class complexity 38.0
Median method complexity 3.0
Most complex class GoogleSyntaxHighlighterPro
Most complex function GoogleSyntaxHighlighterPro::SyntaxHighlighterPrintAdminPage()
Classes 1
Methods 7
Functions 1

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 1

PHP Error Log 31 lines

[06-Dec-2024 02:42:41 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 6114
[06-Dec-2024 02:42:41 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 6114
[06-Dec-2024 02:42:42 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 6114
[06-Dec-2024 02:42:42 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 6114
[06-Dec-2024 02:42:43 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 6114
[06-Dec-2024 02:42:43 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 6114
[06-Dec-2024 02:42:45 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 6114
[06-Dec-2024 02:42:45 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 6114
[06-Dec-2024 02:42:45 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 6114
[06-Dec-2024 02:42:45 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 6114
[06-Dec-2024 02:42:45 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 6114
[06-Dec-2024 02:42:46 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:48 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 6114
[06-Dec-2024 02:42:49 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 6114
[06-Dec-2024 02:42:49 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 6114
[06-Dec-2024 02:42:49 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 6114
[06-Dec-2024 02:42:49 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 6114
[06-Dec-2024 02:42:51 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 6114
[06-Dec-2024 02:42:51 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 6114
[06-Dec-2024 02:42:51 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 6114
[06-Dec-2024 02:42:51 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 6114
[06-Dec-2024 02:42:52 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 6114
[06-Dec-2024 02:42:52 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 6114
[06-Dec-2024 02:42:52 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 6114
[06-Dec-2024 02:42:52 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 6114
[06-Dec-2024 02:42:53 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 6114
See also: All tests for this plugin, How to Hide the "Syntax Highlighter Pro" Admin Menu