Publish to StockTwits 1.1

Does Publish to StockTwits work with WordPress 6.5.5 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: 3.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.5.5
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=2adf919200
Aspect after-activation
HTTP status 200
Load time 0.245 s
Memory usage 3.39 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.467 s
Memory usage 3.37 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.198 s
Memory usage 3.37 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.629 s
Memory usage 5.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.304 s-0.052 s3.43 MiB3.45 MiB+ 14.6 KiB
/wp-admin/edit.php0.204 s0.185 s-0.019 s3.46 MiB3.47 MiB+ 14.6 KiB
/wp-admin/post-new.php0.876 s0.613 s-0.263 s5.59 MiB5.61 MiB+ 20.59 KiB
/wp-admin/upload.php0.561 s0.411 s-0.150 s3.38 MiB3.38 MiB- 2.06 KiB
/wp-admin/options-writing.php0.228 s0.198 s-0.030 s3.37 MiB3.36 MiB- 9.27 KiB
/wp-admin/media-new.php0.297 s0.252 s-0.045 s3.35 MiB3.36 MiB+ 10.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.191 s-0.016 s3.37 MiB3.38 MiB+ 15.3 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.603 s+0.014 s5.58 MiB5.6 MiB+ 17.26 KiB
/wp-admin/options-discussion.php0.301 s0.416 s+0.115 s3.36 MiB3.36 MiB- 760 bytes
/wp-admin/edit-comments.php0.223 s0.257 s+0.034 s3.39 MiB3.39 MiB- 2.81 KiB
/0.294 s0.201 s-0.093 s3.42 MiB3.38 MiB- 40.42 KiB
Average 0.376 s0.330 s-0.046 s3.79 MiB3.79 MiB+ 3.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.

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

[10-Jul-2024 14:14:02 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:02 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:06 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[10-Jul-2024 14:14:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:10 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[10-Jul-2024 14:14:10 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:13 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:15 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[10-Jul-2024 14:14:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[10-Jul-2024 14:14:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide Publish to StockTwits Admin Menus and Meta Boxes