SyntaxHighlighterPro 1.0.0

Does SyntaxHighlighterPro work with WordPress 6.8 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: 13.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.8
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=30fe24e9af
Aspect after-activation
HTTP status 200
Load time 0.267 s
Memory usage 3.53 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.168 s
Memory usage 3.53 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.304 s
Memory usage 3.46 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.382 s0.292 s-0.090 s3.51 MiB3.53 MiB+ 20.33 KiB
/wp-admin/edit.php0.201 s0.201 s+0.000 s3.57 MiB3.59 MiB+ 17.95 KiB
/wp-admin/post-new.php0.855 s0.656 s-0.199 s6.06 MiB6.08 MiB+ 21.09 KiB
/wp-admin/upload.php0.804 s0.533 s-0.271 s3.52 MiB3.52 MiB+ 864 bytes
/wp-admin/options-writing.php0.234 s0.220 s-0.014 s3.5 MiB3.5 MiB+ 4.52 KiB
/wp-admin/media-new.php0.285 s0.205 s-0.080 s3.49 MiB3.5 MiB+ 12.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.233 s+0.033 s3.5 MiB3.53 MiB+ 23.39 KiB
/wp-admin/post-new.php?post_type=page0.760 s0.646 s-0.114 s6.05 MiB6.07 MiB+ 16.62 KiB
/wp-admin/options-discussion.php0.468 s0.322 s-0.146 s3.5 MiB3.5 MiB+ 1.02 KiB
/wp-admin/edit-comments.php0.268 s0.230 s-0.038 s3.52 MiB3.52 MiB+ 536 bytes
/0.314 s0.502 s+0.188 s3.43 MiB3.46 MiB+ 28.98 KiB
Average 0.434 s0.367 s-0.066 s3.97 MiB3.98 MiB+ 13.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

[30-Apr-2025 13:54:02 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 6121
[30-Apr-2025 13:54:02 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 6121
[30-Apr-2025 13:54:02 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 6121
[30-Apr-2025 13:54:02 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 6121
[30-Apr-2025 13:54:03 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 6121
[30-Apr-2025 13:54:03 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:05 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:08 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 6121
[30-Apr-2025 13:54:09 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 6121
[30-Apr-2025 13:54:09 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 6121
[30-Apr-2025 13:54:09 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 6121
[30-Apr-2025 13:54:09 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 6121
[30-Apr-2025 13:54:11 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 6121
[30-Apr-2025 13:54:11 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 6121
[30-Apr-2025 13:54:11 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 6121
[30-Apr-2025 13:54:11 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 6121
[30-Apr-2025 13:54:12 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 6121
[30-Apr-2025 13:54:12 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 6121
[30-Apr-2025 13:54:12 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 6121
[30-Apr-2025 13:54:12 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 6121
[30-Apr-2025 13:54:13 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 6121
See also: All tests for this plugin, How to Hide the "Syntax Highlighter Pro" Admin Menu