ShareThis Share Buttons 1.5.8

Does ShareThis Share Buttons work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 91.96 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/sharethis-share-buttons/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=sharethis-share-buttons%2Fsharethis-share-buttons.php&plugin_status=all&paged=1&s&_wpnonce=a51588e878
Aspect after-activation
HTTP status 200
Load time 0.312 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

ShareThis

Page screenshot: ShareThis
URL /wp-admin/admin.php?page=sharethis-general
Aspect menu-item
HTTP status 200
Load time 0.497 s
Memory usage 3.78 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.311 s
Memory usage 3.62 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.921 s
Memory usage 5.65 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.927 s
Memory usage 5.63 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.085 s
Memory usage 5.62 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.280 s-0.056 s3.72 MiB3.81 MiB+ 87.78 KiB
/wp-admin/edit.php0.186 s0.196 s+0.010 s3.76 MiB3.84 MiB+ 87.47 KiB
/wp-admin/post-new.php1.332 s1.300 s-0.032 s5.55 MiB5.65 MiB+ 100.26 KiB
/wp-admin/upload.php0.428 s0.372 s-0.056 s3.69 MiB3.77 MiB+ 86.33 KiB
/wp-admin/options-writing.php0.138 s0.151 s+0.013 s3.62 MiB3.75 MiB+ 130.17 KiB
/wp-admin/media-new.php0.404 s0.209 s-0.195 s3.66 MiB3.75 MiB+ 86.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.193 s+0.014 s3.69 MiB3.78 MiB+ 87.45 KiB
/wp-admin/post-new.php?post_type=page1.129 s0.928 s-0.201 s5.54 MiB5.63 MiB+ 91.38 KiB
/wp-admin/options-discussion.php0.202 s0.324 s+0.122 s3.6 MiB3.75 MiB+ 150.75 KiB
/wp-admin/edit-comments.php0.207 s0.231 s+0.024 s3.7 MiB3.78 MiB+ 86.36 KiB
/0.300 s0.234 s-0.066 s3.6 MiB3.62 MiB+ 17.15 KiB
Average 0.440 s0.402 s-0.038 s4.01 MiB4.1 MiB+ 91.96 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP51.9%3,21682125
CSS24.5%1,518113
JavaScript23.6%1,4603094
Total 6,194 1,141 32

PHP Code Analysis | More results »

Lines of code 2,014
Total complexity 363
Median class complexity 31.0
Median method complexity 3.0
Most complex class Share_Buttons
Most complex function Share_Buttons::enqueue_admin_assets()
Classes 5
Methods 72
Functions 5

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 5

Sidebar Widgets 1

ID Name
st_button_widgetShareThis Buttons

Meta Boxes

{
    "post": {
        "sharethis_share_buttons": {
            "title": "Share Buttons",
            "context": "side"
        }
    },
    "page": {
        "sharethis_share_buttons": {
            "title": "Share Buttons",
            "context": "side"
        }
    }
}

PHP Error Log 9 lines

[31-Aug-2022 07:12:58 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:12:58 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:02 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:02 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:06 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:06 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:08 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:08 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5754
[31-Aug-2022 07:13:11 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5831
See also: All tests for this plugin, How to Hide ShareThis Share Buttons Admin Menus and Meta Boxes