SyntaxHighlighterPro 1.0.0

Does SyntaxHighlighterPro work with WordPress 6.6.2 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: 29.61 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.6.2
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=28ee099af7
Aspect after-activation
HTTP status 200
Load time 0.250 s
Memory usage 3.5 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.196 s
Memory usage 3.49 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.364 s
Memory usage 3.43 MiB
JS errors
[
    {
        "message": "ReferenceError: SyntaxHighlighter is not defined\n    at /:225:32",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.338 s-0.007 s3.47 MiB3.49 MiB+ 19.08 KiB
/wp-admin/edit.php0.211 s0.194 s-0.017 s3.54 MiB3.55 MiB+ 17.63 KiB
/wp-admin/post-new.php0.851 s0.551 s-0.300 s5.76 MiB5.77 MiB+ 16.36 KiB
/wp-admin/upload.php0.591 s0.401 s-0.190 s3.49 MiB3.49 MiB+ 288 bytes
/wp-admin/options-writing.php0.205 s0.182 s-0.023 s3.41 MiB3.47 MiB+ 63.09 KiB
/wp-admin/media-new.php0.310 s0.470 s+0.160 s3.4 MiB3.47 MiB+ 76.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.203 s+0.008 s3.47 MiB3.49 MiB+ 23.14 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.581 s-0.031 s5.75 MiB5.77 MiB+ 16.37 KiB
/wp-admin/options-discussion.php0.229 s0.251 s+0.022 s3.41 MiB3.47 MiB+ 64.77 KiB
/wp-admin/edit-comments.php0.238 s0.252 s+0.014 s3.49 MiB3.49 MiB+ 280 bytes
/0.310 s0.343 s+0.033 s3.4 MiB3.43 MiB+ 28.23 KiB
Average 0.372 s0.342 s-0.030 s3.87 MiB3.9 MiB+ 29.61 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

[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14:31 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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14: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 6085
[25-Sep-2024 11:14:38 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 6085
[25-Sep-2024 11:14:38 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 6085
[25-Sep-2024 11:14:38 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 6085
[25-Sep-2024 11:14:38 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 6085
[25-Sep-2024 11:14:39 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 6085
[25-Sep-2024 11:14:39 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 6085
[25-Sep-2024 11:14:39 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 6085
[25-Sep-2024 11:14:39 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 6085
[25-Sep-2024 11:14:40 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 6085
See also: All tests for this plugin, How to Hide the "Syntax Highlighter Pro" Admin Menu