ShareThis Share Buttons 2.1.2

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: 86.42 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.082 seconds
The average page load time increased by this amount after activating the plugin.

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=8003fe09fd
Aspect after-activation
HTTP status 200
Load time 0.340 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

ShareThis

Page screenshot: ShareThis
URL /wp-admin/admin.php?page=sharethis-share-buttons
Aspect menu-item
HTTP status 200
Load time 1.877 s
Memory usage 3.84 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.269 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.886 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.752 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.330 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
    },
    {
        "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.350 s0.314 s-0.036 s3.72 MiB3.8 MiB+ 80.26 KiB
/wp-admin/edit.php0.185 s0.217 s+0.032 s3.76 MiB3.83 MiB+ 79.93 KiB
/wp-admin/post-new.php0.988 s1.367 s+0.379 s5.55 MiB5.64 MiB+ 93.05 KiB
/wp-admin/upload.php0.416 s0.463 s+0.047 s3.69 MiB3.76 MiB+ 78.8 KiB
/wp-admin/options-writing.php0.159 s0.165 s+0.006 s3.62 MiB3.74 MiB+ 122.02 KiB
/wp-admin/media-new.php0.430 s0.202 s-0.228 s3.66 MiB3.74 MiB+ 78.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.197 s+0.005 s3.69 MiB3.77 MiB+ 79.92 KiB
/wp-admin/post-new.php?post_type=page0.986 s1.552 s+0.566 s5.54 MiB5.63 MiB+ 84.16 KiB
/wp-admin/options-discussion.php0.223 s0.376 s+0.153 s3.6 MiB3.74 MiB+ 142.6 KiB
/wp-admin/edit-comments.php0.225 s0.261 s+0.036 s3.7 MiB3.77 MiB+ 78.84 KiB
/0.290 s0.234 s-0.056 s3.59 MiB3.62 MiB+ 32.02 KiB
Average 0.404 s0.486 s+0.082 s4.01 MiB4.09 MiB+ 86.42 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
PHP46.3%2,57976319
CSS29.3%1,633113
JavaScript22.3%1,2452514
SVG2.1%11803
Total 5,575 1,025 29

PHP Code Analysis | More results »

Lines of code 1,793
Total complexity 342
Median class complexity 31.0
Median method complexity 3.0
Most complex class Share_Buttons
Most complex function Share_Buttons::set_button_config()
Classes 5
Methods 69
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

[12-Oct-2022 15:37:35 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
[12-Oct-2022 15:37:35 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
[12-Oct-2022 15:37:39 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
[12-Oct-2022 15:37:39 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
[12-Oct-2022 15:37:44 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
[12-Oct-2022 15:37:44 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
[12-Oct-2022 15:37:47 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
[12-Oct-2022 15:37:47 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
[12-Oct-2022 15:37:51 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