ShareThis Share Buttons 1.5.7

Does ShareThis Share Buttons work with WordPress 6.0.1 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.1
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=6b5cb87b2b
Aspect after-activation
HTTP status 200
Load time 0.327 s
Memory usage 3.78 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.449 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.270 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.660 s
Memory usage 5.64 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.722 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 1.710 s
Memory usage 5.61 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
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.262 s-0.076 s3.72 MiB3.81 MiB+ 87.78 KiB
/wp-admin/edit.php0.196 s0.207 s+0.011 s3.75 MiB3.84 MiB+ 87.47 KiB
/wp-admin/post-new.php0.765 s1.072 s+0.307 s5.55 MiB5.64 MiB+ 100.26 KiB
/wp-admin/upload.php0.397 s0.359 s-0.038 s3.68 MiB3.77 MiB+ 86.33 KiB
/wp-admin/options-writing.php0.159 s0.155 s-0.004 s3.62 MiB3.74 MiB+ 130.17 KiB
/wp-admin/media-new.php0.460 s0.206 s-0.254 s3.66 MiB3.75 MiB+ 86.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.191 s+0.001 s3.69 MiB3.77 MiB+ 87.45 KiB
/wp-admin/post-new.php?post_type=page0.731 s0.651 s-0.080 s5.54 MiB5.63 MiB+ 91.38 KiB
/wp-admin/options-discussion.php0.234 s0.342 s+0.108 s3.6 MiB3.74 MiB+ 150.75 KiB
/wp-admin/edit-comments.php0.221 s0.236 s+0.015 s3.69 MiB3.78 MiB+ 86.36 KiB
/0.281 s0.233 s-0.048 s3.6 MiB3.62 MiB+ 17.15 KiB
Average 0.361 s0.356 s-0.005 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

[14-Jul-2022 09:06: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
[14-Jul-2022 09:06: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
[14-Jul-2022 09:06:05 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
[14-Jul-2022 09:06:05 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
[14-Jul-2022 09:06:09 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
[14-Jul-2022 09:06:09 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
[14-Jul-2022 09:06:11 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
[14-Jul-2022 09:06:11 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
[14-Jul-2022 09:06:14 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