Publish to StockTwits 1.1

Does Publish to StockTwits work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 22.38 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/publish-to-stocktwits/
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=publish-to-stocktwits%2Fpublish_stocktwits.php&plugin_status=all&paged=1&s&_wpnonce=e8ea6e3f70
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Settings → Publish to StockTwits

Page screenshot: Settings → Publish to StockTwits
URL /wp-admin/options-general.php?page=publish-to-stocktwits%2Fpublish_stocktwits.php
Requested URL /wp-admin/options-general.php?page=publish-to-stocktwits/publish_stocktwits.php
Aspect menu-item
HTTP status 200
Load time 0.750 s
Memory usage 3.49 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).live is not a function\n    at /wp-content/plugins/publish-to-stocktwits/settings.js:2:20",
        "trace": null,
        "code": null
    }
]
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.184 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.757 s
Memory usage 5.77 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.335 s0.294 s-0.041 s3.47 MiB3.49 MiB+ 17.62 KiB
/wp-admin/edit.php0.202 s0.200 s-0.002 s3.54 MiB3.55 MiB+ 16.17 KiB
/wp-admin/post-new.php0.731 s0.612 s-0.119 s5.75 MiB5.77 MiB+ 16.59 KiB
/wp-admin/upload.php0.658 s0.329 s-0.329 s3.49 MiB3.49 MiB- 1.23 KiB
/wp-admin/options-writing.php0.192 s0.185 s-0.007 s3.41 MiB3.47 MiB+ 61.57 KiB
/wp-admin/media-new.php0.289 s0.469 s+0.180 s3.4 MiB3.47 MiB+ 74.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.182 s+0.003 s3.47 MiB3.49 MiB+ 21.63 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.558 s-0.028 s5.75 MiB5.76 MiB+ 17.26 KiB
/wp-admin/options-discussion.php0.232 s0.245 s+0.013 s3.41 MiB3.47 MiB+ 63.26 KiB
/wp-admin/edit-comments.php0.235 s0.202 s-0.033 s3.49 MiB3.49 MiB- 1.24 KiB
/0.306 s0.208 s-0.098 s3.45 MiB3.41 MiB- 40.42 KiB
Average 0.359 s0.317 s-0.042 s3.87 MiB3.9 MiB+ 22.38 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP47.6%288213
JavaScript36.9%22312
CSS15.5%9441
Total 605 26 6

PHP Code Analysis | More results »

Lines of code 306
Total complexity 33
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function publish_to_stocktwits_options_page()
Classes 0
Methods 0
Functions 10

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

Meta Boxes

{
    "post": {
        "St_share": {
            "title": "StockTwits Message",
            "context": "side"
        }
    }
}

PHP Error Log 36 lines

[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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:10: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:10: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:10: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:10:37 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:10:37 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:10:37 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:10:37 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:10:37 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:10:38 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[25-Sep-2024 11:10: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:10: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
[25-Sep-2024 11:10: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
[25-Sep-2024 11:10: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
[25-Sep-2024 11:10: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
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10:41 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10:44 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:10:44 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:10:44 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:10:44 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:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10:45 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
[25-Sep-2024 11:10: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 6085
See also: All tests for this plugin, How to Hide Publish to StockTwits Admin Menus and Meta Boxes