Publish to StockTwits 1.1

Does Publish to StockTwits work with WordPress 6.7.1 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.95 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/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=e3ecf85c51
Aspect after-activation
HTTP status 200
Load time 0.251 s
Memory usage 3.51 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.431 s
Memory usage 3.5 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.203 s
Memory usage 3.42 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.627 s
Memory usage 5.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.300 s-0.041 s3.48 MiB3.49 MiB+ 15.5 KiB
/wp-admin/edit.php0.211 s0.205 s-0.006 s3.54 MiB3.56 MiB+ 16.3 KiB
/wp-admin/post-new.php0.793 s0.630 s-0.163 s5.92 MiB5.94 MiB+ 20.77 KiB
/wp-admin/upload.php0.582 s0.317 s-0.265 s3.49 MiB3.49 MiB- 1.11 KiB
/wp-admin/options-writing.php0.209 s0.196 s-0.013 s3.47 MiB3.47 MiB+ 2.88 KiB
/wp-admin/media-new.php0.371 s0.411 s+0.040 s3.46 MiB3.47 MiB+ 11.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.244 s+0.067 s3.47 MiB3.5 MiB+ 21.75 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.645 s+0.066 s5.92 MiB5.93 MiB+ 17.38 KiB
/wp-admin/options-discussion.php0.304 s0.241 s-0.063 s3.47 MiB3.47 MiB- 632 bytes
/wp-admin/edit-comments.php0.199 s0.224 s+0.025 s3.49 MiB3.49 MiB- 1.12 KiB
/0.317 s0.199 s-0.118 s3.48 MiB3.42 MiB- 59.41 KiB
Average 0.371 s0.328 s-0.043 s3.93 MiB3.93 MiB+ 3.95 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

[06-Dec-2024 02:40:21 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:40:21 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:40:22 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:40:22 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:40:22 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:40:22 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:40:24 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:40:24 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:40:24 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:40:24 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:40:25 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:40:25 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[06-Dec-2024 02:40:25 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:40:27 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:40:27 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:40:27 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:40:27 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:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40:28 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40:32 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:40:32 UTC] PHP Warning:  Undefined variable $post in /wp-content/plugins/publish-to-stocktwits/publish_stocktwits.php on line 32
[06-Dec-2024 02:40:32 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:40: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 6114
[06-Dec-2024 02:40: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 6114
[06-Dec-2024 02:40: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 6114
See also: All tests for this plugin, How to Hide Publish to StockTwits Admin Menus and Meta Boxes